Skip to content

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

MediumCVSS 5.5 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Linux KernelUbuntuDebian

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.

Upgrade path

10 packages: 9 fixed.

PackageAffectedFixed inStatus
debian/linux(Debian 12) < 6.1.90-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +18 more 6.1.90-1 Fixed
debian/linux(Debian 13) < 6.8.9-1 6.8.9-1 Fixed
debian/linux(Debian 14) < 6.8.9-1 6.8.9-1 Fixed
Linux kernel = 6.9-rc4; = 6.9-rc5; >= 5.15.156, < 5.15.158; >= 6.1.87, < 6.1.90 +8 more 5.15.158, 6.1.90, 6.6.30, 6.8.9, 36b32816fbab267611f073223f1b0b816ec5920f, 38f17d1fbb5bfb56ca1419e2d06376d57a9396f9, 8292f4f8dd1b005d0688d726261004f816ef730a, af6d6a923b40bf6471e44067ac61cc5814b48e7f, fd8547ebc187037cc69441a15c1441aeaab80f49, fe42754b94a42d08cf9501790afc25c4f6a5f631 Fixed
Siemens RUGGEDCOM RST2428P < V3.1 V3.1 Fixed
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family < V3.1 V3.1 Fixed
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem < V1.1.1 V1.1.1 Fixed
ubuntu/linux(Ubuntu 24.04) < 6.8.0-40.40 6.8.0-40.40 Fixed
ubuntu/linux-raspi(Ubuntu 24.04) < 6.8.0-1009.10 6.8.0-1009.10 Fixed
debian linux = 10.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/linux(Debian:12) < 6.1.90-1 6.1.90-1
debian/linux(Debian:12) = 6.1.27-1 No fix listed
debian/linux(Debian:12) = 6.1.37-1 No fix listed
debian/linux(Debian:12) = 6.1.38-1 No fix listed
debian/linux(Debian:12) = 6.1.38-2 No fix listed
debian/linux(Debian:12) = 6.1.38-2~bpo11+1 No fix listed
debian/linux(Debian:12) = 6.1.38-3 No fix listed
debian/linux(Debian:12) = 6.1.38-4 No fix listed
debian/linux(Debian:12) = 6.1.38-4~bpo11+1 No fix listed
debian/linux(Debian:12) = 6.1.52-1 No fix listed
debian/linux(Debian:12) = 6.1.55-1 No fix listed
debian/linux(Debian:12) = 6.1.55-1~bpo11+1 No fix listed
debian/linux(Debian:12) = 6.1.64-1 No fix listed
debian/linux(Debian:12) = 6.1.66-1 No fix listed
debian/linux(Debian:12) = 6.1.67-1 No fix listed
debian/linux(Debian:12) = 6.1.69-1 No fix listed
debian/linux(Debian:12) = 6.1.69-1~bpo11+1 No fix listed
debian/linux(Debian:12) = 6.1.76-1 No fix listed
debian/linux(Debian:12) = 6.1.76-1~bpo11+1 No fix listed
debian/linux(Debian:12) = 6.1.82-1 No fix listed
debian/linux(Debian:12) = 6.1.85-1 No fix listed
debian/linux(Debian:12) = 6.1.90-1~bpo11+1 No fix listed
debian/linux(Debian:13) < 6.8.9-1 6.8.9-1
debian/linux(Debian:14) < 6.8.9-1 6.8.9-1
Linux kernel >= 30da4180fd768973189dc364648f9c436e57b01d, < af6d6a923b40bf6471e44067ac61cc5814b48e7f af6d6a923b40bf6471e44067ac61cc5814b48e7f
Show 17 more
ProductAffected versionsFixed in
Linux kernel >= 70688450dddaf91e12fd4fc625da3297025932c9, < 36b32816fbab267611f073223f1b0b816ec5920f 36b32816fbab267611f073223f1b0b816ec5920f
Linux kernel >= 9c09773917fbb77dff85b433e1e89123fc5fb530, < 38f17d1fbb5bfb56ca1419e2d06376d57a9396f9 38f17d1fbb5bfb56ca1419e2d06376d57a9396f9
Linux kernel >= 2978ee7c973ce81b6e51100ba1e5ae001af624b9, < 8292f4f8dd1b005d0688d726261004f816ef730a 8292f4f8dd1b005d0688d726261004f816ef730a
Linux kernel >= c4a9babdd5d5a41a74269a2e1aa1647b1b4c45bb, < fd8547ebc187037cc69441a15c1441aeaab80f49 fd8547ebc187037cc69441a15c1441aeaab80f49
Linux kernel >= f337a6a21e2fd67eadea471e93d05dd37baaa9be, < fe42754b94a42d08cf9501790afc25c4f6a5f631 fe42754b94a42d08cf9501790afc25c4f6a5f631
Linux kernel >= 5.15.156, < 5.15.158 5.15.158
Linux kernel >= 6.1.87, < 6.1.90 6.1.90
Linux kernel >= 6.6.28, < 6.6.30 6.6.30
Linux kernel >= 6.8.7, < 6.8.9 6.8.9
Siemens RUGGEDCOM RST2428P < V3.1 V3.1
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family < V3.1 V3.1
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem < V1.1.1 V1.1.1
ubuntu/linux(Ubuntu:24.04) < 6.8.0-40.40 6.8.0-40.40
ubuntu/linux-raspi(Ubuntu:24.04) < 6.8.0-1009.10 6.8.0-1009.10
Linux kernel = 6.9-rc4 No fix listed
Linux kernel = 6.9-rc5 No fix listed
debian linux = 10.0 No fix listed

References