CVE-2024-42106
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-42106 affects the Linux kernel's inet_diag subsystem. The vulnerability was discovered when KMSAN reported an uninitialized value access in the raw_lookup() function. The issue occurs in the inet_diag_get_exact_compat() function which converts inet_diag_req to inet_diag_req_v2 but leaves the pad field uninitialized. This field is used for the underlying protocol in raw sockets diagnostics, corresponding to the sdiag_raw_protocol field in struct inet_diag_req_raw (Kernel Patch).

Technical details

The vulnerability stems from an uninitialized pad field in struct inet_diag_req_v2 when converting from inet_diag_req. The issue manifests when raw_lookup() attempts to access the sdiag_raw_protocol field, which corresponds to the uninitialized pad field. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (MEDIUM) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a denial of service condition due to the use of uninitialized memory. The CVSS score indicates that while the vulnerability requires local access and low privileges, it can result in high availability impact to the affected system (NVD).

Exploitability

The vulnerability requires local access with low privileges to exploit. It was discovered through KMSAN (Kernel Memory Sanitizer) testing, which detected the uninitialized value access during system calls involving raw socket diagnostics (Kernel Patch).

Mitigation and workarounds

The issue has been fixed by initializing the pad field in both inet_diag_get_exact_compat() and inet_diag_dump_compat() functions. The fix has been implemented in various Linux kernel versions including 4.10 through 4.19.318, 4.20 through 5.4.280, 5.5 through 5.10.222, and 5.11 through 5.15.163 (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management