CVE-2024-42094
net/iucv: Avoid explicit cpumask var allocation on stack
Check your servers for CVE-2024-42094
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-42094 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/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.
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 15.4% 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 2356f4cb191100a5e92d537f13e5efdbc697e9cb, before 2b085521be5292016097b5e7ca81b26be3f7098d affected from 2356f4cb191100a5e92d537f13e5efdbc697e9cb, before 842afb47d84536fc976fece8fb6c54bea711ad1a affected from 2356f4cb191100a5e92d537f13e5efdbc697e9cb, before 9dadab0db7d904413ea1cdaa13f127da05c31e71 affected from 2356f4cb191100a5e92d537f13e5efdbc697e9cb, before 0af718a690acc089aa1bbb95a93df833d864ef53 affected from 2356f4cb191100a5e92d537f13e5efdbc697e9cb, before d85ca8179a54ff8cf1e1f8c3c9e3799831319bae affected from 2356f4cb191100a5e92d537f13e5efdbc697e9cb, before 724e7965af054079242b8d6f7e50ee226730a756 affected from 2356f4cb191100a5e92d537f13e5efdbc697e9cb, before 2d090c7f7be3b26fcb80ac04d08a4a8062b1d959 affected from 2356f4cb191100a5e92d537f13e5efdbc697e9cb, before be4e1304419c99a164b4c0e101c7c2a756b635b9
Other versions: unaffected
|
| Linux |
affected 2.6.21 unaffected before 2.6.21 unaffected from 4.19.317 up to and including 4.19.* 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-42094 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42094
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-42094
trivy image --scanners vuln IMAGE | grep CVE-2024-42094
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/2b085521be5292016097b5e7ca81b26be3f7098d git.kernel.org
- https://git.kernel.org/stable/c/842afb47d84536fc976fece8fb6c54bea711ad1a git.kernel.org
- https://git.kernel.org/stable/c/9dadab0db7d904413ea1cdaa13f127da05c31e71 git.kernel.org
- https://git.kernel.org/stable/c/0af718a690acc089aa1bbb95a93df833d864ef53 git.kernel.org
- https://git.kernel.org/stable/c/d85ca8179a54ff8cf1e1f8c3c9e3799831319bae git.kernel.org
- https://git.kernel.org/stable/c/724e7965af054079242b8d6f7e50ee226730a756 git.kernel.org
- https://git.kernel.org/stable/c/2d090c7f7be3b26fcb80ac04d08a4a8062b1d959 git.kernel.org
- https://git.kernel.org/stable/c/be4e1304419c99a164b4c0e101c7c2a756b635b9 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-42094 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