High severity · published Jul 29, 2024
CVE-2024-42094
net/iucv: Avoid explicit cpumask var allocation on stack
7.1
CVSS
0.2%
EPSS
No
On KEV
Description
In the Linux kernel, the following vulnerability has been resolved:
net/iucv: Avoid explicit cpumask var allocation on stack
For CONFIG_CPUMASK_OFFSTACK=y kernel, explicit allocation of cpumask
variable on stack is not recommended since it can cause potential stack
overflow.
Instead, kernel code should always use *cpumask_var API(s) to allocate
cpumask var in config-neutral way, leaving allocation strategy to
CONFIG_CPUMASK_OFFSTACK.
Use *cpumask_var API(s) to address it.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 14% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
before 4.19.317; 4.20 before 5.4.279; 5.5 before 5.10.221; 5.11 before 5.15.162; 5.16 before 6.1.97; 6.2 before 6.6.37; +1 more · source: NVD
LI
Linux · Linux
2356f4cb191100a5e92d537f13e5efdbc697e9cb before 2b085521be5292016097b5e7ca81b26be3f7098d; 2356f4cb191100a5e92d537f13e5efdbc697e9cb before 842afb47d84536fc976fece8fb6c54bea711ad1a; 2356f4cb191100a5e92d537f13e5efdbc697e9cb before 9dadab0db7d904413ea1cdaa13f127da05c31e71; 2356f4cb191100a5e92d537f13e5efdbc697e9cb before 0af718a690acc089aa1bbb95a93df833d864ef53; 2356f4cb191100a5e92d537f13e5efdbc697e9cb before d85ca8179a54ff8cf1e1f8c3c9e3799831319bae; 2356f4cb191100a5e92d537f13e5efdbc697e9cb before 724e7965af054079242b8d6f7e50ee226730a756; +3 more · source: vendor
RR
RUGGEDCOM RST2428P · Siemens
before V3.1 · source: CISA
SX
SCALANCE XCM-/XRM-/XCH-/XRH-300 family · Siemens
before V3.1 · source: CISA
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
before V1.1.1 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-42094
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-42094
Patch
https://git.kernel.org/stable/c/0af718a690acc089aa1bbb95a93df833d864ef53
Patch
https://git.kernel.org/stable/c/2b085521be5292016097b5e7ca81b26be3f7098d
Patch
https://git.kernel.org/stable/c/2d090c7f7be3b26fcb80ac04d08a4a8062b1d959
Patch
https://git.kernel.org/stable/c/724e7965af054079242b8d6f7e50ee226730a756
Patch
https://git.kernel.org/stable/c/842afb47d84536fc976fece8fb6c54bea711ad1a
Patch
https://git.kernel.org/stable/c/9dadab0db7d904413ea1cdaa13f127da05c31e71
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
