BaselineWatch
Apply as published
Desk

Linux RHEL-10-701030

DISA STIG RHEL-10-701030 (CAT II): RHEL 10 must restrict access to the kernel message buffer.

DISA STIG recommends

RHEL-10-701030 CAT II

RHEL 10 must restrict access to the kernel message buffer.

NIST SP 800-53: SC-2, SC-4

Check

Verify RHEL 10 is configured to restrict access to the kernel message buffer. Check the status of the "kernel.dmesg_restrict" kernel parameter with the following command: $ 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.

Fix

Configure RHEL 10 to restrict access to the kernel message buffer. Create a drop-in if it does not already exist: $ sudo vi /etc/sysctl.d/99-dmesg_restrict.conf Add the following to the file: kernel.dmesg_restrict = 1 Reload settings from all system configuration files with the following command: $ sudo sysctl --system

Our decision

Apply as published

No decision recorded: the recommendation stands. The owner signs in to change it.

All Linux decisions · The Linux baseline · The Linux test plan