SV-230491r627750_rule
V-230491
SRG-OS-000095-GPOS-00049
RHEL-08-040004
CAT III
10
Configure RHEL 8 to enable kernel page-table isolation with the following command:
$ sudo grubby --update-kernel=ALL --args="pti=on"
Add or modify the following line in "/etc/default/grub" to ensure the configuration survives kernel updates:
GRUB_CMDLINE_LINUX="pti=on"
Verify RHEL 8 enables kernel page-table isolation with the following commands:
$ sudo grub2-editenv - list | grep pti
kernelopts=root=/dev/mapper/rhel-root ro crashkernel=auto resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet fips=1 audit=1 audit_backlog_limit=8192 pti=on boot=UUID=8d171156-cd61-421c-ba41-1c021ac29e82
If the "pti" entry does not equal "on", is missing, or the line is commented out, this is a finding.
Check that kernel page-table isolation is enabled by default to persist in kernel updates:
$ sudo grep audit /etc/default/grub
GRUB_CMDLINE_LINUX="pti=on"
If "pti" is not set to "on", is missing or commented out, this is a finding.
V-230491
False
RHEL-08-040004
Verify RHEL 8 enables kernel page-table isolation with the following commands:
$ sudo grub2-editenv - list | grep pti
kernelopts=root=/dev/mapper/rhel-root ro crashkernel=auto resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet fips=1 audit=1 audit_backlog_limit=8192 pti=on boot=UUID=8d171156-cd61-421c-ba41-1c021ac29e82
If the "pti" entry does not equal "on", is missing, or the line is commented out, this is a finding.
Check that kernel page-table isolation is enabled by default to persist in kernel updates:
$ sudo grep audit /etc/default/grub
GRUB_CMDLINE_LINUX="pti=on"
If "pti" is not set to "on", is missing or commented out, this is a finding.
M
2921