CVE-2010-2240: Code Injection

Published Jun 22, 2010
·
Updated

Description of problem: When an application has a stack overflow, the stack could silently overwrite other memory mapped area instead of causing a segmentation fault.

Acknowledgements:

Red Hat would like to thank the X.Org security team for reporting this issue. Upstream acknowledges Rafal Wojtczuk as the original reporter.

Other sources

The doanonymouspage 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.

Affected Software

29 affected componentsFixes available
redhat/kernel-rt<0:2.6.24.7-161.el5
0:2.6.24.7-161.el5
redhat/kernel<0:2.6.18-194.11.3.el5
0:2.6.18-194.11.3.el5
redhat/kernel<0:2.6.18-128.23.1.el5
0:2.6.18-128.23.1.el5
redhat/kernel<0:2.6.18-164.25.1.el5
0:2.6.18-164.25.1.el5
debian/linux-2.6
Linux Linux kernel=2.6.32.5
Linux Linux kernel=2.6.35.1
Linux Linux kernel=2.6.32.12
Linux Linux kernel=2.6.32.9
Linux Linux kernel=2.6.32
Linux Linux kernel=2.6.32.3
Linux Linux kernel=2.6.32.17
Linux Linux kernel=2.6.34.1
Linux Linux kernel=2.6.32.11
Linux Linux kernel<=2.6.27.51
Linux Linux kernel=2.6.32.14
Linux Linux kernel=2.6.32.6
Linux Linux kernel=2.6.32.15
Linux Linux kernel=2.6.32.18
Linux Linux kernel=2.6.32.4
Linux Linux kernel=2.6.32.16
Linux Linux kernel=2.6.34.3
Linux Linux kernel=2.6.32.7
Linux Linux kernel=2.6.32.8
Linux Linux kernel=2.6.32.2
Linux Linux kernel=2.6.32.1
Linux Linux kernel=2.6.34.2
Linux Linux kernel=2.6.32.10
Linux Linux kernel=2.6.32.13

Remediation

Event History

Jun 22, 2010
Data Sourced
via Red Hat·04:27 AM
DescriptionSeverityAffected Software
Aug 13, 2010
CVE Published
12:00 AM
Sep 3, 2010
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·09:51 PM
Description
Sep 15, 2024
Data Sourced
via Ubuntu·10:39 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2010-2240?

CVE-2010-2240 is classified as a moderate severity vulnerability due to the risk of memory corruption.

2

How do I fix CVE-2010-2240?

To address CVE-2010-2240, upgrade to the fixed kernel versions specified in the security advisory.

3

Which systems are affected by CVE-2010-2240?

CVE-2010-2240 affects various versions of the Linux kernel, particularly those prior to 2.6.32.19.

4

What type of attack does CVE-2010-2240 enable?

CVE-2010-2240 may allow attackers to exploit memory issues which could lead to remote code execution.

5

Is there a workaround for CVE-2010-2240?

Currently, the best mitigation strategy for CVE-2010-2240 is to apply the security updates provided by the vendor.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203