CVE-2024-35996
cpu: Re-enable CPU mitigations by default for !X86 architectures
Check your servers for CVE-2024-35996
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-35996 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:
cpu: Re-enable CPU mitigations by default for !X86 architectures
Rename x86's to CPU_MITIGATIONS, define it in generic code, and force it on for all architectures exception x86. A recent commit to turn mitigations off by default if SPECULATION_MITIGATIONS=n kinda sorta missed that "cpu_mitigations" is completely generic, whereas SPECULATION_MITIGATIONS is x86-specific.
Rename x86's SPECULATIVE_MITIGATIONS instead of keeping both and have it select CPU_MITIGATIONS, as having two configs for the same thing is unnecessary and confusing. This will also allow x86 to use the knob to manage mitigations that aren't strictly related to speculative execution.
Use another Kconfig to communicate to common code that CPU_MITIGATIONS is already defined instead of having x86's menu depend on the common CPU_MITIGATIONS. This allows keeping a single point of contact for all of x86's mitigations, and it's not clear that other architectures *want* to allow disabling mitigations at compile-time.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 17 Jun 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 30da4180fd768973189dc364648f9c436e57b01d, before af6d6a923b40bf6471e44067ac61cc5814b48e7f affected from 70688450dddaf91e12fd4fc625da3297025932c9, before 36b32816fbab267611f073223f1b0b816ec5920f affected from 9c09773917fbb77dff85b433e1e89123fc5fb530, before 38f17d1fbb5bfb56ca1419e2d06376d57a9396f9 affected from 2978ee7c973ce81b6e51100ba1e5ae001af624b9, before 8292f4f8dd1b005d0688d726261004f816ef730a affected from c4a9babdd5d5a41a74269a2e1aa1647b1b4c45bb, before fd8547ebc187037cc69441a15c1441aeaab80f49 affected from f337a6a21e2fd67eadea471e93d05dd37baaa9be, before fe42754b94a42d08cf9501790afc25c4f6a5f631
Other versions: unaffected
|
| Linux |
affected from 5.15.156, before 5.15.158 affected from 6.1.87, before 6.1.90 affected from 6.6.28, before 6.6.30 affected from 6.8.7, before 6.8.9
Other versions: unaffected
|
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-35996 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35996
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-35996
trivy image --scanners vuln IMAGE | grep CVE-2024-35996
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/af6d6a923b40bf6471e44067ac61cc5814b48e7f git.kernel.org
- https://git.kernel.org/stable/c/36b32816fbab267611f073223f1b0b816ec5920f git.kernel.org
- https://git.kernel.org/stable/c/38f17d1fbb5bfb56ca1419e2d06376d57a9396f9 git.kernel.org
- https://git.kernel.org/stable/c/8292f4f8dd1b005d0688d726261004f816ef730a git.kernel.org
- https://git.kernel.org/stable/c/fd8547ebc187037cc69441a15c1441aeaab80f49 git.kernel.org
- https://git.kernel.org/stable/c/fe42754b94a42d08cf9501790afc25c4f6a5f631 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.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
Source: the record CVE-2024-35996 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