SV-248593r1069159_rule
V-248593
SRG-OS-000480-GPOS-00227
OL08-00-010424
CAT II
10
Determine the default kernel:
$ sudo grubby --default-kernel
/boot/vmlinuz-5.4.17-2011.1.2.el8uek.x86_64
Using the default kernel, remove the argument that sets the Meltdown mitigations to "off":
$ sudo grubby --update-kernel=<path-to-default-kernel> --remove-args=mitigations=off
Reboot the system for the change to take effect.
Verify OL 8 is configured to enable mitigations with the following command:
$ grubby --info=/boot/vmlinuz-$(uname -r) | grep mitigations
If the "mitigations" parameter is set to "off" (mitigations=off), this is a finding.
Note: The default behavior of the kernel is to enable mitigations for vulnerabilities like Meltdown and Spectre based on hardware and system requirements. Therefore, if the "mitigation" parameter is not present or if it is set to on this is not a finding.
V-248593
False
OL08-00-010424
Verify OL 8 is configured to enable mitigations with the following command:
$ grubby --info=/boot/vmlinuz-$(uname -r) | grep mitigations
If the "mitigations" parameter is set to "off" (mitigations=off), this is a finding.
Note: The default behavior of the kernel is to enable mitigations for vulnerabilities like Meltdown and Spectre based on hardware and system requirements. Therefore, if the "mitigation" parameter is not present or if it is set to on this is not a finding.
M
5416