Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | <= 2.6.35.4 |
| Vmware | Esx | 4.0 |
| Suse | Suse Linux Enterprise Desktop | 11 |
| Suse | Suse Linux Enterprise Server | 11 |
Related Weaknesses (CWE)
References
- http://archives.neohapsis.com/archives/fulldisclosure/2010-09/0273.htmlBroken Link
- http://archives.neohapsis.com/archives/fulldisclosure/2010-09/0278.htmlBroken Link
- http://blog.ksplice.com/2010/09/cve-2010-3081/Broken Link
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=
- http://isc.sans.edu/diary.html?storyid=9574PatchThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2010-10/msg00003.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.htmlMailing ListThird Party Advisory
- http://marc.info/?l=oss-security&m=128461522230211&w=2Mailing ListPatchThird Party Advisory
- http://secunia.com/advisories/42384Broken Link
- http://secunia.com/advisories/43315Broken Link
- http://sota.gen.nz/compat1/Broken Link
- http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.36-rc4-git2.logBroken Link
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:198Broken Link
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:214Broken Link
FAQ
What is CVE-2010-3081?
CVE-2010-3081 is a vulnerability with a CVSS score of 7.8 (HIGH). 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...
How severe is CVE-2010-3081?
CVE-2010-3081 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2010-3081?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel, Vmware Esx, Suse Suse Linux Enterprise Desktop, Suse Suse Linux Enterprise Server.