CVE-2009-1895
The personality subsystem in the Linux kernel before 2.6.31-rc3 has a PER_CLEAR_ON_SETID setting that does not clear the…
Check your servers for CVE-2009-1895
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-1895 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 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).
Exploitation
EPSS 0.44%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 30.0% 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-1895 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-1895RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-1895Alpine
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-1895
trivy image --scanners vuln IMAGE | grep CVE-2009-1895
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://wiki.rpath.com/Advisories:rPSA-2009-0111 wiki.rpath.com
- 36131 secunia.com · third party advisory
- RHSA-2009:1540 rhn.redhat.com · vendor advisory
- 37471 secunia.com · third party advisory
- 36759 secunia.com · third party advisory
- FEDORA-2009-8144 redhat.com · vendor advisory
- DSA-1844 debian.org · vendor advisory
- USN-807-1 ubuntu.com · vendor advisory
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html vmware.com
- RHSA-2009:1193 redhat.com · vendor advisory
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=f9fabcb58a6d26d6efde842d1703ac7cfa9427b6 git.kernel.org
- FEDORA-2009-8264 redhat.com · vendor advisory
12 more
- MDVSA-2011:051 mandriva.com · vendor advisory
- 36051 secunia.com · third party advisory
- 36045 secunia.com · third party advisory
- 36116 secunia.com · third party advisory
- RHSA-2009:1550 rhn.redhat.com · vendor advisory
- http://patchwork.kernel.org/patch/32598/ patchwork.kernel.org
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc3 kernel.org
- 35801 secunia.com · third party advisory
- 36054 secunia.com · third party advisory
- https://bugs.launchpad.net/bugs/cve/2009-1895 bugs.launchpad.net
- DSA-1845 debian.org · vendor advisory
- RHSA-2009:1438 redhat.com · vendor advisory
Other references
- 20100625 VMSA-2010-0010 ESX 3.5 third party update for Service Console kernel securityfocus.com · mailing list
- 55807 osvdb.org · vdb entry
- ADV-2009-1866 vupen.com · vdb entry
- oval:org.mitre.oval:def:7826 oval.cisecurity.org · vdb entry, signature
- 35647 securityfocus.com · vdb entry
- 20090724 rPSA-2009-0111-1 kernel securityfocus.com · mailing list
- http://blog.cr0.org/2009/06/bypassing-linux-null-pointer.html blog.cr0.org
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue… securityfocus.com · mailing list
- oval:org.mitre.oval:def:11768 oval.cisecurity.org · vdb entry, signature
- oval:org.mitre.oval:def:9453 oval.cisecurity.org · vdb entry, signature
- ADV-2009-3316 vupen.com · vdb entry
Source: the record CVE-2009-1895 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