CVE Database›Document archive›CVE-2024-42106

CVE-2024-42106

kernel: inet_diag: Initialize pad field in struct inet_diag_req_v2

Loading…

Severity

Moderate

Red Hat Product Security

4.4

CVSS 3.1

Review impact separately from score.

Published · July 30, 2024

Updated · February 2, 2026

Description

A vulnerability was found in the Linux kernel in the inet_diag_dump_compat() and inet_diag_get_exact_compat() functions which do not properly initialize the pad field of the inet_diag_req_v2 structure, causing the funtion raw_lookup() to potentially access an uninitialized value. This could lead to memory corruption or undefined behavior.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 4.4
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

CWE-908 · Use of Uninitialized Resource