# CVE-2024-42093: net/dpaa2: Avoid explicit cpumask var allocation on stack

- Severity: High 7.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-07-29T17:39:29.470Z
- Modified: 2026-10-15T01:18:42.940Z
- 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/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.

(As written by CVE List.)

## Affected

- Linux Linux: from 93ddf0b211a0a0367d01c9587169c16ed77b4b98 before b2262b3be27cee334a2fa175ae3afb53f38fb0b1; from 93ddf0b211a0a0367d01c9587169c16ed77b4b98 before 763896ab62a672d728f5eb10ac90d98c607a8509; from 93ddf0b211a0a0367d01c9587169c16ed77b4b98 before a55afc0f5f20ba30970aaf7271929dc00eee5e7d; from 93ddf0b211a0a0367d01c9587169c16ed77b4b98 before 48147337d7efdea6ad6e49f5b8eb894b95868ef0; from 93ddf0b211a0a0367d01c9587169c16ed77b4b98 before 69f49527aea12c23b78fb3d0a421950bf44fb4e2; from 93ddf0b211a0a0367d01c9587169c16ed77b4b98 before 5e4f25091e6d06e99a23f724c839a58a8776a527; from 93ddf0b211a0a0367d01c9587169c16ed77b4b98 before d33fe1714a44ff540629b149d8fab4ac6967585c; 4.16 (not affected: before 4.16; 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 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/b2262b3be27cee334a2fa175ae3afb53f38fb0b1> (patch)
- <https://git.kernel.org/stable/c/763896ab62a672d728f5eb10ac90d98c607a8509> (patch)
- <https://git.kernel.org/stable/c/a55afc0f5f20ba30970aaf7271929dc00eee5e7d> (patch)
- <https://git.kernel.org/stable/c/48147337d7efdea6ad6e49f5b8eb894b95868ef0> (patch)
- <https://git.kernel.org/stable/c/69f49527aea12c23b78fb3d0a421950bf44fb4e2> (patch)
- <https://git.kernel.org/stable/c/5e4f25091e6d06e99a23f724c839a58a8776a527> (patch)
- <https://git.kernel.org/stable/c/d33fe1714a44ff540629b149d8fab4ac6967585c> (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-42093](https://www.cve.org/CVERecord?id=CVE-2024-42093), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-42093](https://nvd.nist.gov/vuln/detail/CVE-2024-42093), Public domain, modified 2026-10-15

---

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