CVE-2010-3081
The compat_alloc_user_space functions in include/asm/compat.h files in the Linux kernel before 2.6.36-rc4-git2 on 64-bit platforms do not properly allocate the userspace memory required for the 32-bit compatibility layer, which allows local users to gain privileges by leveraging the ability of the compat_mc_getsockopt function (aka the MCAST_MSFILTER getsockopt support) to control a certain length value, related to a "stack pointer underflow" issue, as exploited in the wild in September 2010.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
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-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-bootwrapper | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-debug | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-debug-devel | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-i686 | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-ppc64 | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-s390x | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-x86_64 | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-devel | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-doc | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-firmware | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-headers | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-kdump | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | kernel-kdump-devel | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 6 | perf | Fixed | 0:2.6.32-71.7.1.el6 | RHSA-2010:0842 |
| Red Hat Enterprise Linux 5 | kernel | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 5 | kernel-PAE | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 5 | kernel-PAE-devel | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 5 | kernel-debug | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 5 | kernel-debug-devel | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 5 | kernel-debuginfo-common | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 5 | kernel-devel | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 5 | kernel-doc | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 5 | kernel-headers | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 5 | kernel-kdump | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 5 | kernel-kdump-devel | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 5 | kernel-xen | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 5 | kernel-xen-devel | Fixed | 0:2.6.18-194.11.4.el5 | RHSA-2010:0704 |
| Red Hat Enterprise Linux 4 | kernel | Fixed | 0:2.6.9-89.29.1.EL | RHSA-2010:0718 |
| Red Hat Enterprise Linux 4 | kernel-devel | Fixed | 0:2.6.9-89.29.1.EL | RHSA-2010:0718 |
| Red Hat Enterprise Linux 4 | kernel-doc | Fixed | 0:2.6.9-89.29.1.EL | RHSA-2010:0718 |
| Red Hat Enterprise Linux 4 | kernel-hugemem | Fixed | 0:2.6.9-89.29.1.EL | RHSA-2010:0718 |
| Red Hat Enterprise Linux 4 | kernel-hugemem-devel | Fixed | 0:2.6.9-89.29.1.EL | RHSA-2010:0718 |
| Red Hat Enterprise Linux 4 | kernel-largesmp | Fixed | 0:2.6.9-89.29.1.EL | RHSA-2010:0718 |
| Red Hat Enterprise Linux 4 | kernel-largesmp-devel | Fixed | 0:2.6.9-89.29.1.EL | RHSA-2010:0718 |
| Red Hat Enterprise Linux 4 | kernel-smp | Fixed | 0:2.6.9-89.29.1.EL | RHSA-2010:0718 |
| Red Hat Enterprise Linux 4 | kernel-smp-devel | Fixed | 0:2.6.9-89.29.1.EL | RHSA-2010:0718 |
| Red Hat Enterprise Linux 4 | kernel-xenU | Fixed | 0:2.6.9-89.29.1.EL | RHSA-2010:0718 |
| Red Hat Enterprise Linux 4 | kernel-xenU-devel | Fixed | 0:2.6.9-89.29.1.EL | RHSA-2010:0718 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:198 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2010-0842.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:247 (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2010-0882.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2010-10/msg00003.html (vendor-advisory)
References
- http://www.vmware.com/security/advisories/VMSA-2010-0017.html
- http://isc.sans.edu/diary.html?storyid=9574
- http://www.vupen.com/english/advisories/2010/3083
- http://www.vupen.com/english/advisories/2010/3117
- http://sota.gen.nz/compat1/
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:198
- https://access.redhat.com/kb/docs/DOC-40265
- http://www.securityfocus.com/archive/1/514938/30/30/threaded
- http://secunia.com/advisories/42384
- http://archives.neohapsis.com/archives/fulldisclosure/2010-09/0278.html
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html
- http://www.redhat.com/support/errata/RHSA-2010-0842.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:247
- http://www.vupen.com/english/advisories/2011/0298
- http://www.redhat.com/support/errata/RHSA-2010-0882.html
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.