SV-248891r1156648_rule
V-248891
SRG-OS-000480-GPOS-00227
OL08-00-040283
CAT II
10
Configure OL 8 to prevent the leak of kernel pointers to nonprivileged 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 OL 8 restricts access to exposed kernel pointers with the following command:
$ sysctl kernel.kptr_restrict
kernel.kptr_restrict = 1
V-248891
False
OL08-00-040283
Verify OL 8 restricts access to exposed kernel pointers with the following command:
$ sysctl kernel.kptr_restrict
kernel.kptr_restrict = 1
M
5416