CVE-2010-3081
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 3.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.5% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.5% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Linux Kernel ≤ 2.6.35.4
- Linux Kernel 2.6.36
- VMware Esx 4.0
- VMware Esx 4.1
- Suse Linux Enterprise Desktop 11
- Suse Linux Enterprise Server 11
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-3081.md and follow it. Check whether this project is affected by CVE-2010-3081. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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://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
References
- 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://isc.sans.edu/diary.html?storyid=9574
- 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://marc.info/?l=oss-security&m=128461522230211&w=2
- http://secunia.com/advisories/42384
- http://secunia.com/advisories/43315
- http://sota.gen.nz/compat1/
- http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.36-rc4-git2.log
- 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://www.securityfocus.com/archive/1/514938/30/30/threaded
- http://www.securityfocus.com/archive/1/516397/100/0/threaded
- http://www.vmware.com/security/advisories/VMSA-2010-0017.html
- http://www.vmware.com/security/advisories/VMSA-2011-0003.html
- http://www.vupen.com/english/advisories/2010/3083
- http://www.vupen.com/english/advisories/2010/3117