Skip to content
OpenAdvisories
Unscored CVE-2009-1895 EUVD-2009-1890GHSA-rgcw-fh34-72mm

The personality subsystem in the Linux kernel before 2.6.31-rc3 has a PER_CLEAR_ON_SETID setting that does not clear the ADDR_COMPAT_LAYOUT…

Published Jul 16, 2009 · Updated Aug 7, 2024 · Assigned by redhat

Description

The personality subsystem in the Linux kernel before 2.6.31-rc3 has a PER_CLEAR_ON_SETID setting that does not clear the ADDR_COMPAT_LAYOUT and MMAP_PAGE_ZERO flags when executing a setuid or setgid program, which makes it easier for local users to leverage the details of memory usage to (1) conduct NULL pointer dereference attacks, (2) bypass the mmap_min_addr protection mechanism, or (3) defeat address space layout randomization (ASLR).

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-17lenny1 DSA-1845-1
Debian 4.0 linux-2.6.24 2.6.24-6~etchnhalf.8etch2 DSA-1844-1
ReleasePackageFixed inAdvisory
RHEL 5 kernel +12 2.6.18-128.4.1.el5 RHSA-2009:1193
RHEL 4 kernel +10 2.6.9-89.0.11.EL RHSA-2009:1438
RHEL 3 kernel +8 2.4.21-63.EL RHSA-2009:1550
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 5.3 EUS kernel +12 2.6.18-128.4.1.el5 RHSA-2009:1193
RHEL 5.2 EUS kernel +11 2.6.18-92.1.35.el5 RHSA-2010:0079
Red Hat MRG 1 kernel-rt +9 2.6.24.7-137.el5rt RHSA-2009:1540

Advisories 7

References