SV-248579r1156622_rule
V-248579
SRG-OS-000138-GPOS-00069
OL08-00-010375
CAT III
10
Configure OL 8 to restrict access to the kernel message buffer.
Add or edit the following line in /etc/sysctl.d/99-sysctl.conf system configuration file:
kernel.dmesg_restrict = 1
Load settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify OL 8 is configured to restrict access to the kernel message buffer with the following commands:
Check the status of the kernel.dmesg_restrict kernel parameter.
$ sudo sysctl kernel.dmesg_restrict
kernel.dmesg_restrict = 1
If "kernel.dmesg_restrict" is not set to "1" or is missing, this is a finding.
V-248579
False
OL08-00-010375
Verify OL 8 is configured to restrict access to the kernel message buffer with the following commands:
Check the status of the kernel.dmesg_restrict kernel parameter.
$ sudo sysctl kernel.dmesg_restrict
kernel.dmesg_restrict = 1
If "kernel.dmesg_restrict" is not set to "1" or is missing, this is a finding.
M
5416