Skip to content
OpenAdvisories
Unscored CVE-2010-2240 EUVD-2010-2252GHSA-w3c2-79cf-m9pf

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, an…

Published Sep 3, 2010 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 linux-2.6 2.6.26-24lenny1 DSA-2094-1
ReleasePackageFixed inAdvisory
RHEL 5 kernel +12 2.6.18-194.11.3.el5 RHSA-2010:0661
RHEL 4 kernel +10 2.6.9-89.0.29.EL RHSA-2010:0676
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 5.4 EUS kernel +12 2.6.18-164.25.1.el5 RHSA-2010:0670
RHEL 5.3 EUS kernel +12 2.6.18-128.23.1.el5 RHSA-2010:0660
RHEL 4.7 EUS kernel +10 2.6.9-78.0.32.EL RHSA-2010:0677
RHEL 3 ELS kernel +8 2.4.21-66.EL RHSA-2010:0882
Red Hat MRG 1 kernel-rt +10 2.6.24.7-161.el5rt RHSA-2010:0631

Advisories 8

References