CVE-2009-1897
publishedkernel: tun/tap: Fix crashes if open() /dev/net/tun and then poll() it
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
13- 20090716 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0241.html
- 20090716 Re: Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0246.html
- [netdev] 20090409 Oops in tun: bisected to Limit amount of queued packets per device 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
- [linux-kernel] 20090706 Re: PROBLEM: tun/tap crashes if open() /dev/net/tun and then poll() it. http://lkml.org/lkml/2009/7/6/19
- 35839 http://secunia.com/advisories/35839
- [oss-security] 20090717 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable http://www.openwall.com/lists/oss-security/2009/07/17/1
- ADV-2009-1925 http://www.vupen.com/english/advisories/2009/1925
- https://bugzilla.redhat.com/show_bug.cgi?id=512284
- linux-kernel-tunchrpoll-code-execution(51803) https://exchange.xforce.ibmcloud.com/vulnerabilities/51803
- https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 045bd12f0a91a81a7b31a2634ce01cc87321183f7d97f2be641b164b12d602a1
- Ingested
- 23 Sep 2026, 07:38:37 UTC
- Source record
- Official CVE record