Description
The Linux kernel before 2.6.31-rc7 does not properly prevent mmap operations that target page zero and other low memory addresses, which allows local users to gain privileges by exploiting NULL pointer dereference vulnerabilities, related to (1) the default configuration of the allow_unconfined_mmap_low boolean in SELinux on Red Hat Enterprise Linux (RHEL) 5, (2) an error that causes allow_unconfined_mmap_low to be ignored in the unconfined_t domain, (3) lack of a requirement for the CAP_SYS_RAWIO capability for these mmap operations, and (4) interaction between the mmap_min_addr protection mechanism and certain application programs.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 5.0 | linux-2.6 | 2.6.26-19lenny1 | DSA-1915-1 |
| Debian 4.0 | linux-2.6.24 | 2.6.24-6~etchnhalf.9etch3 | DSA-2005-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | kernel +12 | 2.6.18-164.6.1.el5 | RHSA-2009:1548 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5.3 EUS | kernel +12 | 2.6.18-128.11.1.el5 | RHSA-2009:1587 |
| RHEL 5.2 EUS | kernel +12 | 2.6.18-92.1.32.el5 | RHSA-2009:1672 |
| Red Hat MRG 1 | kernel-rt +9 | 2.6.24.7-137.el5rt | RHSA-2009:1540 |
Advisories 6
- RHSA-2009:1548 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2009:1540 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2009:1672 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2009:1587 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- DSA-1915-1 linux-2.6 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-2005-1 linux-2.6.24 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc7
- RHSA-2009:1672 vendor-advisory
- http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git%3Ba=commit%3Bh=84336d1a77ccd2c06a730ddd38e695c2324a7386
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1d9959734a1949ea4f2427bd2d8b21ede6b2441c
- 36051 vdb-entry
- RHSA-2009:1540 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=517830
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=ab5a91a8364c3d6fc617abc47cc81d162c01d90a
- USN-852-1 vendor-advisory
- 38794 third-party-advisory
- [security-announce] 20100303 VMSA-2010-0004 ESX Service Console and vMA third party updates mailing-list
- http://patchwork.kernel.org/patch/36540/
- http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git%3Ba=commit%3Bh=47d439e9fb8a81a90022cfa785bf1c36c4e2aff6
- http://patchwork.kernel.org/patch/36539/
- http://kbase.redhat.com/faq/docs/DOC-18042
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=788084aba2ab7348257597496befcbccabdc98a3
- http://eparis.livejournal.com/606.html
- http://twitter.com/spendergrsec/statuses/3303390960
- https://bugzilla.redhat.com/show_bug.cgi?id=511143
- FEDORA-2009-9044 vendor-advisory
- http://patchwork.kernel.org/patch/36649/
- RHSA-2009:1548 vendor-advisory
- http://thread.gmane.org/gmane.linux.kernel.lsm/9075
- http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git%3Ba=commit%3Bh=a2551df7ec568d87793d2eea4ca744e86318f205
- 38834 third-party-advisory
- http://danwalsh.livejournal.com/30084.html
- http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git%3Ba=commit%3Bh=7c73875e7dda627040b12c19b01db634fa7f0fd1
- oval:org.mitre.oval:def:9882 vdb-entry signature
- http://patchwork.kernel.org/patch/36650/
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=9c0d90103c7e0eb6e638e5b649e9f6d8d9c1b4b3
- [oss-security] 20090817 SELinux and mmap_min_addr behaviour (CVE-2009-2695) mailing-list
- oval:org.mitre.oval:def:7144 vdb-entry signature
- 36501 third-party-advisory
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=8cf948e744e0218af604c32edecde10006dc8e9e
- DSA-2005 vendor-advisory
- 37105 third-party-advisory
- ADV-2010-0528 vdb-entry