Public bug reported:
On an affected Intel CPU running on bare metal, the stock kernel
leaves the Gather Data Sampling mitigation disabled, although the
loaded microcode supports it and no boot parameters disable it.
System:
CPU: Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
(Cascade Lake, family 6 model 85 stepping 7)
Microcode: 0x5003901
Kernel: 7.0.0-43-generic
Release: Ubuntu 26.04
Cmdline: stock; no mitigations= or gather_data_sampling= option
Observed:
$ cat /sys/devices/system/cpu/vulnerabilities/gather_data_sampling
Vulnerable
$ sudo dmesg | grep GDS
[ 0.916652] GDS: Vulnerable
$ grep GDS /boot/config-$(uname -r)
# CONFIG_MITIGATION_GDS is not set
Expected:
Mitigation: Microcode
The status is plain "Vulnerable", not "Vulnerable: No microcode", so
the kernel is choosing not to enable a mitigation that is available.
With CONFIG_MITIGATION_GDS unset, the built-in default for
gds_mitigation is "off".
This contradicts the upstream documentation, which says that without
gather_data_sampling=off or mitigations=off the mitigation defaults to
enabled:
https://docs.kernel.org/admin-guide/hw-vuln/gather_data_sampling.html
It also contradicts Ubuntu's own GDS guidance, which describes
gather_data_sampling=off as the way to opt out:
https://discourse.ubuntu.com/t/gds-downfall/54183
Upstream defaults CONFIG_MITIGATION_GDS to y. I suspect the "n" was
carried over from the older CONFIG_GDS_FORCE_MITIGATION=n, which had a
different meaning (force AVX off when microcode is missing), but I
have not verified this in the config annotations.
Impact: any bare-metal host with an affected Intel CPU (Skylake
through Tiger Lake / Rocket Lake) is silently unmitigated against
CVE-2022-40982. Guests are not visibly affected, because the kernel
reports "Unknown: Dependent on hypervisor status" there regardless of
this option.
Workaround: boot with gather_data_sampling=force, which should select
the microcode mitigation when it is available.
Request: please set CONFIG_MITIGATION_GDS=y, or document the reason
for disabling it.
cat /proc/version_signature:
Ubuntu 7.0.0-43.43-generic 7.0.14
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174049
Title:
CONFIG_MITIGATION_GDS is not set: GDS (Downfall, CVE-2022-40982)
mitigation off by default on bare metal
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2174049/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs