cpu: Re-enable CPU mitigations by default for !X86 architectures
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.
CVE-2024-35996
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2024-35996
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "30da4180fd768973189dc364648f9c436e57b01d",
"lessThan": "af6d6a923b40bf6471e44067ac61cc5814b48e7f",
"versionType": "git"
},
{
"status": "affected",
"version": "70688450dddaf91e12fd4fc625da3297025932c9",
"lessThan": "36b32816fbab267611f073223f1b0b816ec5920f",
"versionType": "git"
},
{
"status": "affected",
"version": "9c09773917fbb77dff85b433e1e89123fc5fb530",
"lessThan": "38f17d1fbb5bfb56ca1419e2d06376d57a9396f9",
"versionType": "git"
},
{
"status": "affected",
"version": "2978ee7c973ce81b6e51100ba1e5ae001af624b9",
"lessThan": "8292f4f8dd1b005d0688d726261004f816ef730a",
"versionType": "git"
},
{
"status": "affected",
"version": "c4a9babdd5d5a41a74269a2e1aa1647b1b4c45bb",
"lessThan": "fd8547ebc187037cc69441a15c1441aeaab80f49",
"versionType": "git"
},
{
"status": "affected",
"version": "f337a6a21e2fd67eadea471e93d05dd37baaa9be",
"lessThan": "fe42754b94a42d08cf9501790afc25c4f6a5f631",
"versionType": "git"
}
],
"programFiles": [
"arch/Kconfig",
"arch/x86/Kconfig",
"kernel/cpu.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.15.156",
"lessThan": "5.15.158",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.1.87",
"lessThan": "6.1.90",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.6.28",
"lessThan": "6.6.30",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.8.7",
"lessThan": "6.8.9",
"versionType": "semver"
}
],
"programFiles": [
"arch/Kconfig",
"arch/x86/Kconfig",
"kernel/cpu.c"
],
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2024-35996
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #26570 · Revision 1
- Added to Heist Feed
- Publisher date