CPU mitigation - SRBDS

This commit is contained in:
Raja Grewal 2022-07-19 02:30:49 +10:00
parent 73f1e23332
commit 8531fbf99d
No known key found for this signature in database
GPG Key ID: E34A5801947020A5

View File

@ -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"