Description
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.
Metrics
CVSS 2.0 4.0/10
AV:L/AC:H/Au:N/C:C/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://ftp.osuosl.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39Broken Link
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=bfdc0b497faa82a0ba2f9dddcf109231dd519fcc
- http://www.openwall.com/lists/oss-security/2011/10/26/10Mailing List, Third Party Advisory
- https://github.com/torvalds/linux/commit/bfdc0b497faa82a0ba2f9dddcf109231dd519fccPatch, Third Party Advisory
- http://ftp.osuosl.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39Broken Link
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=bfdc0b497faa82a0ba2f9dddcf109231dd519fcc
- http://www.openwall.com/lists/oss-security/2011/10/26/10Mailing List, Third Party Advisory
- https://github.com/torvalds/linux/commit/bfdc0b497faa82a0ba2f9dddcf109231dd519fccPatch, Third Party Advisory
Timeline
- Published
- May 24, 2012
- Last modified
- Jun 16, 2026
- NVD status
- Modified