CVE
CVE-2024-42093
CNA description
In the Linux kernel, the following vulnerability has been resolved: net/dpaa2: 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
- < 5.4.279Fixed in 5.4.279
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/48147337d7efdea6ad6e49f5b8eb894b95868ef0 · Patch
- git.kernel.org/stable/c/5e4f25091e6d06e99a23f724c839a58a8776a527 · Patch
- git.kernel.org/stable/c/69f49527aea12c23b78fb3d0a421950bf44fb4e2 · Patch
- git.kernel.org/stable/c/763896ab62a672d728f5eb10ac90d98c607a8509 · Patch
- git.kernel.org/stable/c/a55afc0f5f20ba30970aaf7271929dc00eee5e7d · Patch
- git.kernel.org/stable/c/b2262b3be27cee334a2fa175ae3afb53f38fb0b1 · Patch
- git.kernel.org/stable/c/d33fe1714a44ff540629b149d8fab4ac6967585c · 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.