CVE-2024-42093
net/dpaa2: Avoid explicit cpumask var allocation on stack
Check your servers for CVE-2024-42093
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-42093 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 93ddf0b211a0a0367d01c9587169c16ed77b4b98, before b2262b3be27cee334a2fa175ae3afb53f38fb0b1 affected from 93ddf0b211a0a0367d01c9587169c16ed77b4b98, before 763896ab62a672d728f5eb10ac90d98c607a8509 affected from 93ddf0b211a0a0367d01c9587169c16ed77b4b98, before a55afc0f5f20ba30970aaf7271929dc00eee5e7d affected from 93ddf0b211a0a0367d01c9587169c16ed77b4b98, before 48147337d7efdea6ad6e49f5b8eb894b95868ef0 affected from 93ddf0b211a0a0367d01c9587169c16ed77b4b98, before 69f49527aea12c23b78fb3d0a421950bf44fb4e2 affected from 93ddf0b211a0a0367d01c9587169c16ed77b4b98, before 5e4f25091e6d06e99a23f724c839a58a8776a527 affected from 93ddf0b211a0a0367d01c9587169c16ed77b4b98, before d33fe1714a44ff540629b149d8fab4ac6967585c
Other versions: unaffected
|
| Linux |
affected 4.16 unaffected before 4.16 unaffected from 5.4.279 up to and including 5.4.* unaffected from 5.10.221 up to and including 5.10.* unaffected from 5.15.162 up to and including 5.15.* unaffected from 6.1.97 up to and including 6.1.* unaffected from 6.6.37 up to and including 6.6.* unaffected from 6.9.8 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-42093 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42093
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-42093
trivy image --scanners vuln IMAGE | grep CVE-2024-42093
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b2262b3be27cee334a2fa175ae3afb53f38fb0b1 git.kernel.org
- https://git.kernel.org/stable/c/763896ab62a672d728f5eb10ac90d98c607a8509 git.kernel.org
- https://git.kernel.org/stable/c/a55afc0f5f20ba30970aaf7271929dc00eee5e7d git.kernel.org
- https://git.kernel.org/stable/c/48147337d7efdea6ad6e49f5b8eb894b95868ef0 git.kernel.org
- https://git.kernel.org/stable/c/69f49527aea12c23b78fb3d0a421950bf44fb4e2 git.kernel.org
- https://git.kernel.org/stable/c/5e4f25091e6d06e99a23f724c839a58a8776a527 git.kernel.org
- https://git.kernel.org/stable/c/d33fe1714a44ff540629b149d8fab4ac6967585c git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html cert-portal.siemens.com
Source: the record CVE-2024-42093 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse