CVE-2024-42093
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-42093 is a vulnerability discovered in the Linux kernel's DPAA2 ethernet driver, specifically related to cpumask variable allocation on stack. The issue was disclosed on July 29, 2024, affecting multiple versions of the Linux kernel up to versions 5.4.279, 5.10.221, 5.15.162, 6.1.97, 6.6.37, and 6.9.8 (NVD).

Technical details

The vulnerability stems from explicit allocation of cpumask variable on stack in the DPAA2 ethernet driver when CONFIGCPUMASKOFFSTACK=y is enabled. This implementation could potentially cause stack overflow. The issue has been assigned a CVSS v3.1 base score of 7.8 (High) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements with potential for high impact on confidentiality, integrity, and availability (NVD).

Impact

The vulnerability could allow a local attacker to potentially cause a stack overflow condition in the Linux kernel's DPAA2 ethernet driver. This could lead to system crashes or potentially enable privilege escalation on affected systems (RedHat).

Mitigation and workarounds

The issue has been fixed by modifying the code to use *cpumaskvar API(s) to allocate cpumask variables in a config-neutral way, allowing the allocation strategy to be determined by CONFIGCPUMASK_OFFSTACK. Multiple Linux distributions have released patches to address this vulnerability. Ubuntu has provided fixes across various kernel versions including 5.15.0-121.131 for 22.04 LTS and 5.4.0-195.215 for 20.04 LTS (Ubuntu).

Additional resources


SourceThis report was generated using AI

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