medium6.9Public exploit code
CVE-2009-1897
The tun_chr_poll function in drivers/net/tun.c in the tun subsystem in the Linux kernel 2.6.30 and 2.6.30.1, when the -fno-delete-null-pointer-checks gcc optio…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Linux Kernel 2.6.30 - 'tun_chr_pool()' Null Pointer Dereference2009-06-17 · dos · linux · Verified
- Linux Kernel 2.6.30 < 2.6.30.1 / SELinux (RHEL 5) - Local Privilege Escalation2009-07-17 · local · linux · Verified
Impact
The tun_chr_poll function in drivers/net/tun.c in the tun subsystem in the Linux kernel 2.6.30 and 2.6.30.1, when the -fno-delete-null-pointer-checks gcc option is omitted, allows local users to gain privileges via vectors involving a NULL pointer dereference and an mmap of /dev/net/tun, a different vulnerability than CVE-2009-1894.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | Versions 2.6.30, 2.6.30.1 |
Weakness classification
References
- NVD record
- CVE.org record
- http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0241.html
- http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0246.html
- http://article.gmane.org/gmane.linux.network/124939
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3c8a9c63d5fd738c261bd0ceece04d9c8357ca13
- http://grsecurity.net/~spender/cheddar_bay.tgz
- http://isc.sans.org/diary.html?storyid=6820
- http://lkml.org/lkml/2009/7/6/19
- http://secunia.com/advisories/35839
- http://www.openwall.com/lists/oss-security/2009/07/17/1
- http://www.vupen.com/english/advisories/2009/1925
- https://bugzilla.redhat.com/show_bug.cgi?id=512284
- https://exchange.xforce.ibmcloud.com/vulnerabilities/51803
- https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations
- http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0241.html
- http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0246.html
- http://article.gmane.org/gmane.linux.network/124939
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3c8a9c63d5fd738c261bd0ceece04d9c8357ca13
- http://grsecurity.net/~spender/cheddar_bay.tgz
- http://isc.sans.org/diary.html?storyid=6820
- http://lkml.org/lkml/2009/7/6/19
- http://secunia.com/advisories/35839
- http://www.openwall.com/lists/oss-security/2009/07/17/1
- http://www.vupen.com/english/advisories/2009/1925
- https://bugzilla.redhat.com/show_bug.cgi?id=512284
- https://exchange.xforce.ibmcloud.com/vulnerabilities/51803