Description
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.
CVSS breakdown
CVSS 3.1
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- Linux / Linux kernel2.6.35.4
- Linux / Linux kernel2.6.36 – 2.6.36
- Linux / Linux kernel2.6.36 – 2.6.36
- Linux / Linux kernel2.6.36 – 2.6.36
- Linux / Linux kernel2.6.36 – 2.6.36
- SUSE / suse_linux_enterprise_desktop11 – 11
- SUSE / SUSE Linux Enterprise Server11 – 11
- VMware / esx4.0 – 4.0
- VMware / esx4.1 – 4.1
References
- VENDOR_ADVISORYhttp://www.vmware.com/security/advisories/VMSA-2010-0017.html
- MISChttp://isc.sans.edu/diary.html?storyid=9574
- VENDOR_ADVISORYhttp://www.vupen.com/english/advisories/2010/3083
- VENDOR_ADVISORYhttp://www.vupen.com/english/advisories/2010/3117
- MISChttp://sota.gen.nz/compat1/
- VENDOR_ADVISORYhttp://www.mandriva.com/security/advisories?name=MDVSA-2010:198
- VENDOR_ADVISORYhttps://access.redhat.com/kb/docs/DOC-40265
- MISChttp://www.securityfocus.com/archive/1/514938/30/30/threaded
- VENDOR_ADVISORYhttp://secunia.com/advisories/42384
- MISChttp://archives.neohapsis.com/archives/fulldisclosure/2010-09/0278.html
- MAILING_LISThttp://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html
- MISChttp://www.redhat.com/support/errata/RHSA-2010-0842.html
- VENDOR_ADVISORYhttp://www.mandriva.com/security/advisories?name=MDVSA-2010:247
- VENDOR_ADVISORYhttp://www.vupen.com/english/advisories/2011/0298
- MISChttp://www.redhat.com/support/errata/RHSA-2010-0882.html
- MISChttp://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.36-rc4-git2.log
- MAILING_LISThttp://lists.opensuse.org/opensuse-security-announce/2010-10/msg00003.html
- MISChttp://blog.ksplice.com/2010/09/cve-2010-3081/
- VENDOR_ADVISORYhttp://secunia.com/advisories/43315
- MAILING_LISThttp://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html
- VENDOR_ADVISORYhttp://www.vmware.com/security/advisories/VMSA-2011-0003.html
- MISChttp://archives.neohapsis.com/archives/fulldisclosure/2010-09/0273.html
- MISChttp://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=c41d68a513c71e35a14f66d71782d27a79a81ea6
- MISChttp://www.redhat.com/support/errata/RHSA-2010-0758.html
- MISChttp://www.securityfocus.com/archive/1/516397/100/0/threaded
- MISChttps://bugzilla.redhat.com/show_bug.cgi?id=634457
- VENDOR_ADVISORYhttp://www.mandriva.com/security/advisories?name=MDVSA-2010:214
- MAILING_LISThttp://marc.info/?l=oss-security&m=128461522230211&w=2