Unrestricted Access to Kernel Ring Buffer in Linux Kernel

Unrestricted Access to Kernel Ring Buffer in Linux Kernel

CVE-2011-4080 · MEDIUM Severity

AV:L/AC:H/AU:N/C:C/I:N/A:N

The sysrq_sysctl_handler function in kernel/sysctl.c in the Linux kernel before 2.6.39 does not require the CAP_SYS_ADMIN capability to modify the dmesg_restrict value, which allows local users to bypass intended access restrictions and read the kernel ring buffer by leveraging root privileges, as demonstrated by a root user in a Linux Containers (aka LXC) environment.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.