---
title: "CVE-2009-1895\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2009-1895?format=md
keywords: index, follow
---

# CVE-2009-1895

Publication date 16 July 2009

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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).

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| linux | 9.04 jaunty | Fixed 2.6.28-14.47 |
| 8.10 intrepid | Fixed 2.6.27-14.37 |
| 8.04 LTS hardy | Fixed 2.6.24-24.57 |
| 6.06 LTS dapper | Not in release |
| linux-source-2.6.15 | 9.04 jaunty | Not in release |
| 8.10 intrepid | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2009-1895?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| linux | * Upstream:   <http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f9fabcb58a6d26d6efde842d1703ac7cfa9427b6> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1895)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2009-1895)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2009-1895)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2009-1895)

### Related Ubuntu Security Notices (USN)

+ [USN-807-1](https://usn.ubuntu.com/USN-807-1)
+ Linux kernel vulnerabilities
+ 28 July 2009

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2009-1895>
