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

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-07-29T17:39:30.191Z
- Modified: 2026-10-15T01:18:43.127Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 2356f4cb191100a5e92d537f13e5efdbc697e9cb before 2b085521be5292016097b5e7ca81b26be3f7098d; from 2356f4cb191100a5e92d537f13e5efdbc697e9cb before 842afb47d84536fc976fece8fb6c54bea711ad1a; from 2356f4cb191100a5e92d537f13e5efdbc697e9cb before 9dadab0db7d904413ea1cdaa13f127da05c31e71; from 2356f4cb191100a5e92d537f13e5efdbc697e9cb before 0af718a690acc089aa1bbb95a93df833d864ef53; from 2356f4cb191100a5e92d537f13e5efdbc697e9cb before d85ca8179a54ff8cf1e1f8c3c9e3799831319bae; from 2356f4cb191100a5e92d537f13e5efdbc697e9cb before 724e7965af054079242b8d6f7e50ee226730a756; from 2356f4cb191100a5e92d537f13e5efdbc697e9cb before 2d090c7f7be3b26fcb80ac04d08a4a8062b1d959; from 2356f4cb191100a5e92d537f13e5efdbc697e9cb before be4e1304419c99a164b4c0e101c7c2a756b635b9; 2.6.21 (not affected: before 2.6.21; from 4.19.317 up to 4.19.*; from 5.4.279 up to 5.4.*; from 5.10.221 up to 5.10.*; from 5.15.162 up to 5.15.*; from 6.1.97 up to 6.1.*; from 6.6.37 up to 6.6.*; from 6.9.8 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 4.19.317; from 4.20 before 5.4.279; from 5.5 before 5.10.221; from 5.11 before 5.15.162; from 5.16 before 6.1.97; from 6.2 before 6.6.37; from 6.7 before 6.9.8

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-42094](https://www.cve.org/CVERecord?id=CVE-2024-42094), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-42094](https://nvd.nist.gov/vuln/detail/CVE-2024-42094), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-42094 · Whole record: https://cve.day/CVE-2024-42094.json · Rebuilt by cve.day 2026-11-25T22:58:43.349Z
