Buffer overflow in Linux Kernel
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 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.9 (Medium). Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.015, 75.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel — versions 2.6.30, 2.6.30.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (christian-byrne/custom-nodes-security-scan, christian-byrne/node-sec-scan, xairy/linux-kernel-exploitation). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- ADV-2009-1925 (Patch, vdb-entry, Vendor Advisory)
- isc.sans.org/diary.html (Exploit)
- grsecurity.net/~spender/cheddar_bay.tgz (Patch)
- [oss-security] 20090717 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable (mailing-list)
- 20090716 Re: Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable (mailing-list)
- linux-kernel-tunchrpoll-code-execution(51803) (vdb-entry)
- [netdev] 20090409 Oops in tun: bisected to Limit amount of queued packets per device (mailing-list)
- secunia.com/advisories/35839 (third-party-advisory, Vendor Advisory)
- git.kernel.org/
- bugzilla.redhat.com/show_bug.cgi