diff --git a/etc/default/grub.d/40_cpu_mitigations.cfg b/etc/default/grub.d/40_cpu_mitigations.cfg index 1977eeb..fa9bd80 100644 --- a/etc/default/grub.d/40_cpu_mitigations.cfg +++ b/etc/default/grub.d/40_cpu_mitigations.cfg @@ -41,3 +41,8 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX tsx=off tsx_async_abort=full,nosmt" ## ## https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/multihit.html GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX kvm.nx_huge_pages=force" + +## Enables mitigations for SRBDS to prevent MDS attacks on RDRAND and RDSEED instructions. +## +## https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/special-register-buffer-data-sampling.html +GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX srbds=on"