7.2
CWE
476 16
Advisory Published
Updated

CVE-2009-1895: Null Pointer Dereference

First published: Thu Jul 16 2009(Updated: )

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

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Linux kernel<=2.6.31
Linux kernel=2.6.31-rc1
Linux kernel=2.6.31-rc2
Debian=5.0
Debian=4.0
Ubuntu Linux=6.06
Ubuntu Linux=9.04
Ubuntu Linux=8.04
Ubuntu Linux=8.10
Linux Kernel<=2.6.31
Linux Kernel=2.6.31-rc1
Linux Kernel=2.6.31-rc2
Ubuntu=6.06
Ubuntu=8.04
Ubuntu=8.10
Ubuntu=9.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2009-1895?

    CVE-2009-1895 is classified as a moderate severity vulnerability.

  • How do I fix CVE-2009-1895?

    To fix CVE-2009-1895, update the Linux kernel to version 2.6.31 or newer.

  • Which systems are affected by CVE-2009-1895?

    CVE-2009-1895 affects Linux kernel versions prior to 2.6.31, as well as specific versions of Debian and Ubuntu.

  • What type of vulnerability is CVE-2009-1895?

    CVE-2009-1895 is a local privilege escalation vulnerability in the Linux kernel's personality subsystem.

  • What happens if CVE-2009-1895 is exploited?

    Exploitation of CVE-2009-1895 can allow local users to gain elevated privileges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203