SV-271747r1198253_rule
V-271747
SRG-OS-000132-GPOS-00067
OL09-00-002408
CAT II
10
Configure OL 9 to prevent the leak of kernel pointers to unprivileged users.
Add or edit the following line in /etc/sysctl.d/99-sysctl.conf system configuration file:
kernel.kptr_restrict = 1
Reload settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify that OL 9 restricts access to exposed kernel pointers with the following command:
$ sysctl kernel.kptr_restrict
kernel.kptr_restrict = 1
V-271747
False
OL09-00-002408
Verify that OL 9 restricts access to exposed kernel pointers with the following command:
$ sysctl kernel.kptr_restrict
kernel.kptr_restrict = 1
M
5680