CVE-2024-42094
net/iucv: Avoid explicit cpumask var allocation on stack
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 2b085521be5292016097b5e7ca81b26be3f7098d; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 842afb47d84536fc976fece8fb6c54bea711ad1a; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 9dadab0db7d904413ea1cdaa13f127da05c31e71; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 0af718a690acc089aa1bbb95a93df833d864ef53; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < d85ca8179a54ff8cf1e1f8c3c9e3799831319bae; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 724e7965af054079242b8d6f7e50ee226730a756; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 2d090c7f7be3b26fcb80ac04d08a4a8062b1d959; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < be4e1304419c99a164b4c0e101c7c2a756b635b9
- Anyone running Linux 2.6.21
Vulnerability facts
- Affected
- Linux >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 2b085521be5292016097b5e7ca81b26be3f7098d; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 842afb47d84536fc976fece8fb6c54bea711ad1a; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 9dadab0db7d904413ea1cdaa13f127da05c31e71; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 0af718a690acc089aa1bbb95a93df833d864ef53; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < d85ca8179a54ff8cf1e1f8c3c9e3799831319bae; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 724e7965af054079242b8d6f7e50ee226730a756; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 2d090c7f7be3b26fcb80ac04d08a4a8062b1d959; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < be4e1304419c99a164b4c0e101c7c2a756b635b9; Linux 2.6.21
- Fixed in
- Linux 2b085521be5292016097b5e7ca81b26be3f7098d, Linux 842afb47d84536fc976fece8fb6c54bea711ad1a, Linux 9dadab0db7d904413ea1cdaa13f127da05c31e71, Linux 0af718a690acc089aa1bbb95a93df833d864ef53, Linux 724e7965af054079242b8d6f7e50ee226730a756, Linux 2d090c7f7be3b26fcb80ac04d08a4a8062b1d959
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 19, 2026-11-26)
- CWE
- CWE-787
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 2b085521be5292016097b5e7ca81b26be3f7098d; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 842afb47d84536fc976fece8fb6c54bea711ad1a; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 9dadab0db7d904413ea1cdaa13f127da05c31e71; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 0af718a690acc089aa1bbb95a93df833d864ef53; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < d85ca8179a54ff8cf1e1f8c3c9e3799831319bae; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 724e7965af054079242b8d6f7e50ee226730a756; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 2d090c7f7be3b26fcb80ac04d08a4a8062b1d959; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < be4e1304419c99a164b4c0e101c7c2a756b635b9 | — | cvelist |
| Linux | 2.6.21 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-42094. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-42094.md Affected: Linux >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 2b085521be5292016097b5e7ca81b26be3f7098d; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 842afb47d84536fc976fece8fb6c54bea711ad1a; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 9dadab0db7d904413ea1cdaa13f127da05c31e71; >= 2356f4cb191100a5e92d537… Fixed in: Linux 2b085521be5292016097b5e7ca81b26be3f7098d, Linux 842afb47d84536fc976fece8fb6c54bea711ad1a, Linux 9dadab0db7d904413ea1cdaa13f127da05c31e71, Linux 0af718a690acc089aa1bbb95a93df833d864ef53, Linux 724e7965af054079242b8d6f7e50ee226730a756, Linux 2d090c7f7be3b26fcb80ac04d08a4a8062b1d959 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/2b085521be5292016097b5e7ca81b26be3f7098d
- https://git.kernel.org/stable/c/842afb47d84536fc976fece8fb6c54bea711ad1a
- https://git.kernel.org/stable/c/9dadab0db7d904413ea1cdaa13f127da05c31e71
- https://git.kernel.org/stable/c/0af718a690acc089aa1bbb95a93df833d864ef53
- https://git.kernel.org/stable/c/d85ca8179a54ff8cf1e1f8c3c9e3799831319bae
- https://git.kernel.org/stable/c/724e7965af054079242b8d6f7e50ee226730a756
- https://git.kernel.org/stable/c/2d090c7f7be3b26fcb80ac04d08a4a8062b1d959
- https://git.kernel.org/stable/c/be4e1304419c99a164b4c0e101c7c2a756b635b9
FAQ
Is CVE-2024-42094 being exploited?
There is no confirmed exploitation: CVE-2024-42094 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-42094?
High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-42094?
Linux >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 2b085521be5292016097b5e7ca81b26be3f7098d; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 842afb47d84536fc976fece8fb6c54bea711ad1a; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 9dadab0db7d904413ea1cdaa13f127da05c31e71; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 0af718a690acc089aa1bbb95a93df833d864ef53; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < d85ca8179a54ff8cf1e1f8c3c9e3799831319bae; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 724e7965af054079242b8d6f7e50ee226730a756; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < 2d090c7f7be3b26fcb80ac04d08a4a8062b1d959; >= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, < be4e1304419c99a164b4c0e101c7c2a756b635b9; Linux 2.6.21.
Is there a fix for CVE-2024-42094?
Yes. Fixed in Linux 2b085521be5292016097b5e7ca81b26be3f7098d, Linux 842afb47d84536fc976fece8fb6c54bea711ad1a, Linux 9dadab0db7d904413ea1cdaa13f127da05c31e71, Linux 0af718a690acc089aa1bbb95a93df833d864ef53, Linux 724e7965af054079242b8d6f7e50ee226730a756, Linux 2d090c7f7be3b26fcb80ac04d08a4a8062b1d959. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-42094?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.