# CVE-2024-42094: net/iucv: Avoid explicit cpumask var allocation on stack

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 19, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2024-07-29T17:39:30.191Z
- **Modified:** 2026-10-15T01:18:43.127Z

## 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

## 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

- Linux: \>= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, \< 2b085521be5292016097b5e7ca81b26be3f7098d; \>= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, \< 842afb47d84536fc976fece8fb6c54bea711ad1a; \>= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, \< 9dadab0db7d904413ea1cdaa13f127da05c31e71; \>= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, \< 0af718a690acc089aa1bbb95a93df833d864ef53; \>= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, \< d85ca8179a54ff8cf1e1f8c3c9e3799831319bae; \>= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, \< 724e7965af054079242b8d6f7e50ee226730a756; \>= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, \< 2d090c7f7be3b26fcb80ac04d08a4a8062b1d959; \>= 2356f4cb191100a5e92d537f13e5efdbc697e9cb, \< be4e1304419c99a164b4c0e101c7c2a756b635b9 (cvelist)
- Linux: 2.6.21 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- patch: <https://git.kernel.org/stable/c/2b085521be5292016097b5e7ca81b26be3f7098d>
- patch: <https://git.kernel.org/stable/c/842afb47d84536fc976fece8fb6c54bea711ad1a>
- patch: <https://git.kernel.org/stable/c/9dadab0db7d904413ea1cdaa13f127da05c31e71>
- patch: <https://git.kernel.org/stable/c/0af718a690acc089aa1bbb95a93df833d864ef53>
- patch: <https://git.kernel.org/stable/c/d85ca8179a54ff8cf1e1f8c3c9e3799831319bae>
- patch: <https://git.kernel.org/stable/c/724e7965af054079242b8d6f7e50ee226730a756>
- patch: <https://git.kernel.org/stable/c/2d090c7f7be3b26fcb80ac04d08a4a8062b1d959>
- patch: <https://git.kernel.org/stable/c/be4e1304419c99a164b4c0e101c7c2a756b635b9>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-42094>

HTML: <https://flawdb.com/CVE-2024-42094> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-42094>
