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 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.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
| Red Hat Enterprise Linux 5 | kernel-PAE | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
| Red Hat Enterprise Linux 5 | kernel-PAE-devel | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
| Red Hat Enterprise Linux 5 | kernel-debug | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
| Red Hat Enterprise Linux 5 | kernel-debug-devel | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
| Red Hat Enterprise Linux 5 | kernel-debuginfo-common | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
| Red Hat Enterprise Linux 5 | kernel-devel | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
| Red Hat Enterprise Linux 5 | kernel-doc | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
| Red Hat Enterprise Linux 5 | kernel-headers | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
| Red Hat Enterprise Linux 5 | kernel-kdump | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
| Red Hat Enterprise Linux 5 | kernel-kdump-devel | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
| Red Hat Enterprise Linux 5 | kernel-xen | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
| Red Hat Enterprise Linux 5 | kernel-xen-devel | Fixed | 0:2.6.18-164.6.1.el5 | RHSA-2009:1548 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.redhat.com/support/errata/RHSA-2009-1672.html (vendor-advisory)
- https://rhn.redhat.com/errata/RHSA-2009-1540.html (vendor-advisory)
- http://www.ubuntu.com/usn/USN-852-1 (vendor-advisory)
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg01256.html (vendor-advisory)
- https://rhn.redhat.com/errata/RHSA-2009-1548.html (vendor-advisory)
- http://www.debian.org/security/2010/dsa-2005 (vendor-advisory)
References
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc7
- http://www.redhat.com/support/errata/RHSA-2009-1672.html
- 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
- http://www.securityfocus.com/bid/36051
- https://rhn.redhat.com/errata/RHSA-2009-1540.html
- 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
- http://www.ubuntu.com/usn/USN-852-1
- http://secunia.com/advisories/38794
- http://lists.vmware.com/pipermail/security-announce/2010/000082.html
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.