1. Home
  2. Vulnerabilities
  3. CVE-2024-35996

CVE-2024-35996

cpu: Re-enable CPU mitigations by default for !X86 architectures

Published 20 May 2024 · modified 15 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 26/100

Summary

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 products and versions

Linux (9 line(s))
Linux
ProductVersionsFixed inSource
Linux from 5.15.156 (included) to 5.15.158 (excluded) — CNA (vendor or assigner)
Linux from 6.1.87 (included) to 6.1.90 (excluded) — CNA (vendor or assigner)
Linux from 6.6.28 (included) to 6.6.30 (excluded) — CNA (vendor or assigner)
Linux from 6.8.7 (included) to 6.8.9 (excluded) — CNA (vendor or assigner)
Linux kernel from 5.15.156 (included) to 5.15.158 (excluded) — NVD
Linux kernel from 6.1.87 (included) to 6.1.90 (excluded) — NVD
Linux kernel from 6.6.28 (included) to 6.6.30 (excluded) — NVD
Linux kernel from 6.8.7 (included) to 6.8.9 (excluded) — NVD
Linux kernel 6.9 — NVD
Debian (1 line(s))
Debian
ProductVersionsFixed inSource
Debian linux 10.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
NVD-CWE-noinfo · Non classé

How this data is obtained and calculated