Skip to content

Ubuntu 22.04 LTS must restrict access to the kernel message buffer.

An XCCDF Rule

Description

Restricting access to the kernel message buffer limits access only to root. This prevents attackers from gaining additional system information as a nonprivileged user.

ID
SV-260472r958524_rule
Version
UBTU-22-213010
Severity
Low
References
Updated

Remediation Templates

A Manual Procedure

Configure Ubuntu 22.04 LTS to restrict access to the kernel message buffer. 
 
Add or modify the following line in the "/etc/sysctl.conf" file: 
 
kernel.dmesg_restrict = 1