CVE
CVE-2024-42094
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 6.7, < 6.9.8Fixed in 6.9.8
- ≥ 6.2, < 6.6.37Fixed in 6.6.37
- ≥ 5.16, < 6.1.97Fixed in 6.1.97
- ≥ 5.11, < 5.15.162Fixed in 5.15.162
- ≥ 5.5, < 5.10.221Fixed in 5.10.221
- ≥ 4.20, < 5.4.279Fixed in 5.4.279
- < 4.19.317Fixed in 4.19.317
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/0af718a690acc089aa1bbb95a93df833d864ef53 · Patch
- git.kernel.org/stable/c/2b085521be5292016097b5e7ca81b26be3f7098d · Patch
- git.kernel.org/stable/c/2d090c7f7be3b26fcb80ac04d08a4a8062b1d959 · Patch
- git.kernel.org/stable/c/724e7965af054079242b8d6f7e50ee226730a756 · Patch
- git.kernel.org/stable/c/842afb47d84536fc976fece8fb6c54bea711ad1a · Patch
- git.kernel.org/stable/c/9dadab0db7d904413ea1cdaa13f127da05c31e71 · Patch
- git.kernel.org/stable/c/be4e1304419c99a164b4c0e101c7c2a756b635b9 · Patch
- git.kernel.org/stable/c/d85ca8179a54ff8cf1e1f8c3c9e3799831319bae · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.