Restricting access to the kernel message buffer limits access only to root. This prevents attackers from gaining additional system information as a nonprivileged user.
Check
Verify Ubuntu 22.04 LTS is configured to restrict access to the kernel message buffer by using the following command: