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…
- 6.9MediumCVSS base score
- 1.5%Exploitation in 30 daysEPSS · top 25% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list 2 Exploit-DB entries for it.
Show the exploits2
Exploit-DB2 entries
- Linux Kernel 2.6.30 < 2.6.30.1 / SELinux (RHEL 5) - Local Privilege Escalation (Exploit-DB entry) (opens in a new tab)
EDB-ID 9191local, linuxpublished 17 Jul 2009Verified
- Linux Kernel 2.6.30 - 'tun_chr_pool()' Null Pointer Dereference (Exploit-DB entry) (opens in a new tab)
EDB-ID 33088dos, linuxpublished 17 Jun 2009Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By redhat
- 48 days later
· 48 days later
Published
- 15 years later
· 15 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.9 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 1.5% · top 25% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.9.
Affected products
n/a
- affected n/a
References
References13
- ADV-2009-1925 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://isc.sans.org/diary.html?storyid=6820 (opens in a new tab)x_refsource_MISCx_transferred
- http://grsecurity.net/~spender/cheddar_bay.tgz (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20090717 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 20090716 Re: Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- linux-kernel-tunchrpoll-code-execution(51803) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- [netdev] 20090409 Oops in tun: bisected to Limit amount of queued packets per device (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 35839 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3c8a9c63d5fd738c261bd0ceece04d9c8357ca13 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=512284 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [linux-kernel] 20090706 Re: PROBLEM: tun/tap crashes if open() /dev/net/tun and then poll() it. (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 20090716 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2009-1892 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2009-1897)Record last updated .