# CVE-2024-35996: cpu: Re-enable CPU mitigations by default for !X86 architectures

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.36% (percentile 22, 2026-11-26)
- **Published:** 2024-05-20T09:47:59.713Z
- **Modified:** 2026-10-15T01:18:19.117Z

## Who should check

- Anyone running Linux \>= 30da4180fd768973189dc364648f9c436e57b01d, \< af6d6a923b40bf6471e44067ac61cc5814b48e7f; \>= 70688450dddaf91e12fd4fc625da3297025932c9, \< 36b32816fbab267611f073223f1b0b816ec5920f; \>= 9c09773917fbb77dff85b433e1e89123fc5fb530, \< 38f17d1fbb5bfb56ca1419e2d06376d57a9396f9; \>= 2978ee7c973ce81b6e51100ba1e5ae001af624b9, \< 8292f4f8dd1b005d0688d726261004f816ef730a; \>= c4a9babdd5d5a41a74269a2e1aa1647b1b4c45bb, \< fd8547ebc187037cc69441a15c1441aeaab80f49; \>= f337a6a21e2fd67eadea471e93d05dd37baaa9be, \< fe42754b94a42d08cf9501790afc25c4f6a5f631
- Anyone running Linux \>= 5.15.156, \< 5.15.158; \>= 6.1.87, \< 6.1.90; \>= 6.6.28, \< 6.6.30; \>= 6.8.7, \< 6.8.9

## 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.

## Affected and fixed versions

- Linux: \>= 30da4180fd768973189dc364648f9c436e57b01d, \< af6d6a923b40bf6471e44067ac61cc5814b48e7f; \>= 70688450dddaf91e12fd4fc625da3297025932c9, \< 36b32816fbab267611f073223f1b0b816ec5920f; \>= 9c09773917fbb77dff85b433e1e89123fc5fb530, \< 38f17d1fbb5bfb56ca1419e2d06376d57a9396f9; \>= 2978ee7c973ce81b6e51100ba1e5ae001af624b9, \< 8292f4f8dd1b005d0688d726261004f816ef730a; \>= c4a9babdd5d5a41a74269a2e1aa1647b1b4c45bb, \< fd8547ebc187037cc69441a15c1441aeaab80f49; \>= f337a6a21e2fd67eadea471e93d05dd37baaa9be, \< fe42754b94a42d08cf9501790afc25c4f6a5f631 (cvelist)
- Linux: \>= 5.15.156, \< 5.15.158; \>= 6.1.87, \< 6.1.90; \>= 6.6.28, \< 6.6.30; \>= 6.8.7, \< 6.8.9 (cvelist)

## Mitigation

- Upgrade Linux to 6.8.9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-35996. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35996.md
Affected: Linux >= 30da4180fd768973189dc364648f9c436e57b01d, < af6d6a923b40bf6471e44067ac61cc5814b48e7f; >= 70688450dddaf91e12fd4fc625da3297025932c9, < 36b32816fbab267611f073223f1b0b816ec5920f; >= 9c09773917fbb77dff85b433e1e89123fc5fb530, < 38f17d1fbb5bfb56ca1419e2d06376d57a9396f9; >= 2978ee7c973ce81b6e51100…
Fixed in: Linux 36b32816fbab267611f073223f1b0b816ec5920f, Linux 38f17d1fbb5bfb56ca1419e2d06376d57a9396f9, Linux 8292f4f8dd1b005d0688d726261004f816ef730a, Linux 5.15.158, Linux 6.1.90, Linux 6.6.30, Linux 6.8.9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-35996 being exploited?

There is no confirmed exploitation: CVE-2024-35996 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-35996?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-35996?

Linux \>= 30da4180fd768973189dc364648f9c436e57b01d, \< af6d6a923b40bf6471e44067ac61cc5814b48e7f; \>= 70688450dddaf91e12fd4fc625da3297025932c9, \< 36b32816fbab267611f073223f1b0b816ec5920f; \>= 9c09773917fbb77dff85b433e1e89123fc5fb530, \< 38f17d1fbb5bfb56ca1419e2d06376d57a9396f9; \>= 2978ee7c973ce81b6e51100ba1e5ae001af624b9, \< 8292f4f8dd1b005d0688d726261004f816ef730a; \>= c4a9babdd5d5a41a74269a2e1aa1647b1b4c45bb, \< fd8547ebc187037cc69441a15c1441aeaab80f49; \>= f337a6a21e2fd67eadea471e93d05dd37baaa9be, \< fe42754b94a42d08cf9501790afc25c4f6a5f631; Linux \>= 5.15.156, \< 5.15.158; \>= 6.1.87, \< 6.1.90; \>= 6.6.28, \< 6.6.30; \>= 6.8.7, \< 6.8.9.

### Is there a fix for CVE-2024-35996?

Yes. Fixed in Linux 36b32816fbab267611f073223f1b0b816ec5920f, Linux 38f17d1fbb5bfb56ca1419e2d06376d57a9396f9, Linux 8292f4f8dd1b005d0688d726261004f816ef730a, Linux 5.15.158, Linux 6.1.90, Linux 6.6.30, Linux 6.8.9. Upgrade Linux to 6.8.9 or later.

### How do I check if I'm affected by CVE-2024-35996?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/af6d6a923b40bf6471e44067ac61cc5814b48e7f>
- patch: <https://git.kernel.org/stable/c/36b32816fbab267611f073223f1b0b816ec5920f>
- patch: <https://git.kernel.org/stable/c/38f17d1fbb5bfb56ca1419e2d06376d57a9396f9>
- patch: <https://git.kernel.org/stable/c/8292f4f8dd1b005d0688d726261004f816ef730a>
- patch: <https://git.kernel.org/stable/c/fd8547ebc187037cc69441a15c1441aeaab80f49>
- patch: <https://git.kernel.org/stable/c/fe42754b94a42d08cf9501790afc25c4f6a5f631>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-35996>

HTML: <https://flawdb.com/CVE-2024-35996> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-35996>
