CVE-2010-2240
kernel: mm: keep a guard page below a grow-down stack segment
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
La función do_anonymous_page en mm/memory.c en el kernel de Linux anterior v2.6.27.52, v2.6.32.x anterior v2.6.32.19, v2.6.34.x anterior v2.6.34.4, y v2.6.35.x anterior v2.6.35.2 no separa adecuadamente la pila y la cabecera, lo que permite a atacantes dependientes del contexto ejecutar código de su elección por escritura en el final de la página de un segmento de memoria compartida, como quedó demostrado con un ataque de memoria exhaustiva contra el servidor X.Org X.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2010-06-09 CVE Reserved
- 2010-08-20 CVE Published
- 2023-03-07 EPSS Updated
- 2024-08-07 CVE Updated
- 2024-08-07 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
CAPEC
References (22)
URL | Tag | Source |
---|---|---|
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=320b2b8de12698082609ebbc1a17165727f4c893 | X_refsource_confirm | |
http://lists.vmware.com/pipermail/security-announce/2011/000133.html | Mailing List | |
http://securitytracker.com/id?1024344 | Vdb Entry | |
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.52 | X_refsource_confirm | |
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.32.19 | X_refsource_confirm | |
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.34.4 | X_refsource_confirm | |
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.35.2 | X_refsource_confirm | |
http://www.securityfocus.com/archive/1/517739/100/0/threaded | Mailing List | |
http://www.vmware.com/security/advisories/VMSA-2011-0007.html | X_refsource_confirm | |
http://www.vmware.com/security/advisories/VMSA-2011-0009.html | X_refsource_confirm | |
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A13247 | Signature |
URL | Date | SRC |
---|---|---|
http://www.invisiblethingslab.com/resources/misc-2010/xorg-large-memory-attacks.pdf | 2024-08-07 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | <= 2.6.27.51 Search vendor "Linux" for product "Linux Kernel" and version " <= 2.6.27.51" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.1 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.1" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.2 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.2" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.3 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.3" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.4 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.4" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.5 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.5" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.6 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.6" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.7 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.7" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.8 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.8" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.9 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.9" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.10 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.10" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.11 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.11" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.12 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.12" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.13 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.13" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.14 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.14" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.15 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.15" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.16 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.16" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.17 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.17" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.32.18 Search vendor "Linux" for product "Linux Kernel" and version "2.6.32.18" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.34.1 Search vendor "Linux" for product "Linux Kernel" and version "2.6.34.1" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.34.2 Search vendor "Linux" for product "Linux Kernel" and version "2.6.34.2" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.34.3 Search vendor "Linux" for product "Linux Kernel" and version "2.6.34.3" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 2.6.35.1 Search vendor "Linux" for product "Linux Kernel" and version "2.6.35.1" | - |
Affected
|