AlmaLinux OS 9 must restrict access to the kernel message buffer.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-269425ALMA-09-041050SV-269425r1117266_ruleCCI-001082medium
Description
Restricting access to the kernel message buffer limits access to only root. This prevents attackers from gaining additional system information as a nonprivileged user. Satisfies: SRG-OS-000132-GPOS-00067, SRG-OS-000138-GPOS-00069
STIGDate
Cloud Linux AlmaLinux OS 9 Security Technical Implementation Guide2026-02-27

Related Frameworks

3 paths across 3 frameworks
NIST 800-531 mapping
SC-2
1.00
  • DISA · V1R6 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1711 mapping
3.13.3
1.00
  • DISA · V1R6 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
  • NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-001082
1.00
  • DISA · V1R6 · disa_xccdf · related

Details

Check Text (C-269425r1117266_chk)

Verify AlmaLinux OS 9 is configured to restrict access to the kernel message buffer with the following commands: Check the status of the kernel.dmesg_restrict kernel parameter. $ sysctl kernel.dmesg_restrict kernel.dmesg_restrict = 1 If "kernel.dmesg_restrict" is not set to "1" or is missing, this is a finding. Check that the configuration files are present to enable this kernel parameter. $ /usr/lib/systemd/systemd-sysctl --cat-config | egrep -v '^(#|;)' | grep -F kernel.dmesg_restrict | tail -1 kernel.dmesg_restrict = 1 If "kernel.dmesg_restrict" is not set to "1" or is missing, this is a finding.

Fix Text (F-73357r1049686_fix)

Configure AlmaLinux OS 9 to restrict access to the kernel message buffer with the following command: $ echo "kernel.dmesg_restrict = 1 > /etc/sysctl.d/60-dmesg.conf" Load settings from all system configuration files with the following command: $ sysctl --system