CVE-2010-2240
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
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: 0.7% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-94 · Code injection
- Record status
- Modified
Affected
- Linux Kernel ≤ 2.6.27.51
- Linux Kernel 2.6.32
- Linux Kernel 2.6.32.1
- Linux Kernel 2.6.32.2
- Linux Kernel 2.6.32.3
- Linux Kernel 2.6.32.4
- Linux Kernel 2.6.32.5
- Linux Kernel 2.6.32.6
Attack profile CVSS 2.0 · 7.2
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
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-2240.md and follow it. Check whether this project is affected by CVE-2010-2240. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=320b2b8de12698082609ebbc1a17165727f4c893
- http://lists.vmware.com/pipermail/security-announce/2011/000133.html
- http://securitytracker.com/id?1024344
- http://www.debian.org/security/2010/dsa-2094
- http://www.invisiblethingslab.com/resources/misc-2010/xorg-large-memory-attacks.pdf
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.52
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.32.19
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.34.4
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.35.2
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:172
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:198
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:051
- http://www.redhat.com/support/errata/RHSA-2010-0660.html
- http://www.redhat.com/support/errata/RHSA-2010-0670.html
- http://www.redhat.com/support/errata/RHSA-2010-0882.html
- http://www.securityfocus.com/archive/1/517739/100/0/threaded
- http://www.vmware.com/security/advisories/VMSA-2011-0007.html
- http://www.vmware.com/security/advisories/VMSA-2011-0009.html
- https://bugzilla.redhat.com/show_bug.cgi?id=606611
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A13247
- https://rhn.redhat.com/errata/RHSA-2010-0661.html
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=320b2b8de12698082609ebbc1a17165727f4c893
- http://lists.vmware.com/pipermail/security-announce/2011/000133.html
- http://securitytracker.com/id?1024344
- http://www.debian.org/security/2010/dsa-2094