CVE-2010-3081
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.
Severity
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
3.533%
chance of exploitation in the next 30 days
higher than 89.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2010-09-16First Exploit-DB entry (EDB-ID 15024)8 days before publication
- 2010-09-24Published by the CNA19:00 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 15024 | local | linux_x86-64 | 2010-09-16 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux_kernel | through 2.6.35.4no fix listed2.6.36no fix listed | not listednot listed |
| suse suse_linux_enterprise_desktop | 11no fix listed | not listed |
| suse suse_linux_enterprise_server | 11no fix listed | not listed |
| vmware esx | 4.0no fix listed4.1no fix listed | not listednot listed |
References
- http://isc.sans.edu/diary.html?storyid=9574
- http://marc.info/?l=oss-security&m=128461522230211&w=2
- https://access.redhat.com/kb/docs/DOC-40265
- https://bugzilla.redhat.com/show_bug.cgi?id=634457
- http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2010-10/msg00003.html
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:198
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:214
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:247
- http://www.redhat.com/support/errata/RHSA-2010-0758.html
- http://www.redhat.com/support/errata/RHSA-2010-0842.html
- http://www.redhat.com/support/errata/RHSA-2010-0882.html
- http://archives.neohapsis.com/archives/fulldisclosure/2010-09/0273.html
- http://archives.neohapsis.com/archives/fulldisclosure/2010-09/0278.html
- http://blog.ksplice.com/2010/09/cve-2010-3081/
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=c41d68a513c71e35a14f66d71782d27a79a81ea6
- http://secunia.com/advisories/42384
- http://secunia.com/advisories/43315
- http://sota.gen.nz/compat1/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2010-3081'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2010-3081'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2010-3081'curl 'https://api.contrastcyber.com/cve_products/CVE-2010-3081'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).