CVE-2009-1895
Summary
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).
Impact & exploitability
AV:L/AC:L/Au:N/C:C/I:C/A:C
Affected products we track (1)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: http://blog.cr0.org/2009/06/bypassing-linux-null-pointer.html ↗
Additional information
- NVD record
- http://blog.cr0.org/2009/06/bypassing-linux-null-pointer.htmlPatch
- http://patchwork.kernel.org/patch/32598/Patch
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=f9fabcb58a6d26d6efde842d1703ac7cfa9427b6
- http://secunia.com/advisories/35801Advisory
- http://secunia.com/advisories/36045Advisory
- http://secunia.com/advisories/36051Advisory
- http://secunia.com/advisories/36054Advisory
- http://secunia.com/advisories/36116Advisory