CVE-2011-4080
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.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Red Hat has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-bootwrapper | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-debug | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-debug-devel | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-i686 | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-ppc64 | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-s390x | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-x86_64 | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-devel | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-doc | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-firmware | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-headers | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-kdump | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | kernel-kdump-devel | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | perf | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 6 | python-perf | Fixed | 0:2.6.32-220.13.1.el6 | RHSA-2012:0481 |
| Red Hat Enterprise Linux 5 | kernel | Fix pending Affected | ||
| Red Hat Enterprise Linux 4 | kernel | Fix pending Affected |
References
- https://github.com/torvalds/linux/commit/bfdc0b497faa82a0ba2f9dddcf109231dd519fcc
- http://www.openwall.com/lists/oss-security/2011/10/26/10
- http://ftp.osuosl.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=bfdc0b497faa82a0ba2f9dddcf109231dd519fcc
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.