CVE-2009-2695
The Linux kernel before 2.6.31-rc7 does not properly prevent mmap operations that target page zero and other low memory addresses, which…
Check your servers for CVE-2009-2695
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2009-2695 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.51%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 36.9% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2009-2695 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-2695RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-2695Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2009-2695
trivy image --scanners vuln IMAGE | grep CVE-2009-2695
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc7 kernel.org
- RHSA-2009:1672 redhat.com · vendor advisory
- http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git%3Ba=commit%3Bh=84336d1a77ccd2c06a730ddd38e695c2324a7386 git.kernel.org
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=1d9959734a1949ea4f2427bd2d8b21ede6b2441c git.kernel.org
- RHSA-2009:1540 rhn.redhat.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=517830 bugzilla.redhat.com
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=ab5a91a8364c3d6fc617abc47cc81d162c01d90a git.kernel.org
- USN-852-1 ubuntu.com · vendor advisory
- 38794 secunia.com · third party advisory
- http://patchwork.kernel.org/patch/36540/ patchwork.kernel.org
- http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git%3Ba=commit%3Bh=47d439e9fb8a81a90022cfa785bf1c36c4e2aff6 git.kernel.org
- http://patchwork.kernel.org/patch/36539/ patchwork.kernel.org
18 more
- http://kbase.redhat.com/faq/docs/DOC-18042 kbase.redhat.com
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=788084aba2ab7348257597496befcbccabdc98a3 git.kernel.org
- http://eparis.livejournal.com/606.html eparis.livejournal.com
- https://bugzilla.redhat.com/show_bug.cgi?id=511143 bugzilla.redhat.com
- FEDORA-2009-9044 redhat.com · vendor advisory
- http://patchwork.kernel.org/patch/36649/ patchwork.kernel.org
- RHSA-2009:1548 rhn.redhat.com · vendor advisory
- http://thread.gmane.org/gmane.linux.kernel.lsm/9075 thread.gmane.org
- http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git%3Ba=commit%3Bh=a2551df7ec568d87793d2eea4ca744e86318f205 git.kernel.org
- 38834 secunia.com · third party advisory
- http://danwalsh.livejournal.com/30084.html danwalsh.livejournal.com
- http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git%3Ba=commit%3Bh=7c73875e7dda627040b12c19b01db634fa7f0fd1 git.kernel.org
- http://patchwork.kernel.org/patch/36650/ patchwork.kernel.org
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=9c0d90103c7e0eb6e638e5b649e9f6d8d9c1b4b3 git.kernel.org
- 36501 secunia.com · third party advisory
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=8cf948e744e0218af604c32edecde10006dc8e9e git.kernel.org
- DSA-2005 debian.org · vendor advisory
- 37105 secunia.com · third party advisory
Other references
- 36051 securityfocus.com · vdb entry
- [security-announce] 20100303 VMSA-2010-0004 ESX Service Console and vMA third party updates lists.vmware.com · mailing list
- http://twitter.com/spendergrsec/statuses/3303390960 twitter.com
- oval:org.mitre.oval:def:9882 oval.cisecurity.org · vdb entry, signature
- [oss-security] 20090817 SELinux and mmap_min_addr behaviour (CVE-2009-2695) openwall.com · mailing list
- oval:org.mitre.oval:def:7144 oval.cisecurity.org · vdb entry, signature
- ADV-2010-0528 vupen.com · vdb entry
Source: the record CVE-2009-2695 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse