CVE-2024-42094
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-42094 affects the Linux kernel's net/iucv subsystem, specifically related to cpumask variable allocation on the stack. The vulnerability was discovered on July 29, 2024, and involves a potential stack overflow condition when CONFIGCPUMASKOFFSTACK=y is enabled. The issue affects multiple versions of the Linux kernel up to versions 4.19.317, 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 variables on the stack in the net/iucv module. When CONFIGCPUMASKOFFSTACK=y is enabled, this allocation method can lead to potential stack overflow conditions. The CVSS v3.1 base score is 7.8 (High) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access required with low attack complexity (NVD). The vulnerability is classified as CWE-787 (Out-of-bounds Write).

Impact

The vulnerability could allow an attacker with local access to cause a stack overflow in the Linux kernel's IUCV (Inter-User Communication Vehicle) networking subsystem. This could potentially lead to system crashes or privilege escalation, affecting the confidentiality, integrity, and availability of the system (NVD).

Mitigation and workarounds

The fix involves using *cpumask_var API(s) to allocate cpumask variables in a config-neutral way instead of explicit stack allocation. The patch has been merged into the Linux kernel, and affected distributions have released updates. Users should update to patched kernel versions: beyond 4.19.317, 5.4.279, 5.10.221, 5.15.162, 6.1.97, 6.6.37, or 6.9.8 (Kernel Patch).

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-2025-39886MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoYesSep 23, 2025
CVE-2025-39889N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k
NoYesSep 24, 2025
CVE-2025-39888N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesSep 23, 2025
CVE-2025-39887N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoYesSep 23, 2025
CVE-2025-39884N/AN/A
  • Linux KernelLinux Kernel
  • linux-oracle
NoYesSep 23, 2025

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