Vulnerabilities · 2009 · Linux
CVE-2009-1895
Linux Kernel vulnerability
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).
Affected products
Linux Kernel, Debian Linux, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- patchwork.kernel.org/patch/32598/ · Patch
- www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc3 · Vendor Advisory
- blog.cr0.org/2009/06/bypassing-linux-null-pointer.html · Patch
- www.vupen.com/english/advisories/2009/1866 · Patch
- secunia.com/advisories/35801 · Third Party Advisory
- secunia.com/advisories/36045 · Third Party Advisory
- secunia.com/advisories/36051 · Third Party Advisory
- secunia.com/advisories/36054 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2009-1895
- cve.org/CVERecord?id=CVE-2009-1895
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.