The tun_chr_poll function in drivers/net/tun.c in the tun subsystem in the Linux kernel…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:2.6.30:*:*:*:*:*:*:* | 2.6.30 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.30:rc1:*:*:*:*:*:* | 2.6.30 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.30:rc2:*:*:*:*:*:* | 2.6.30 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.30:rc3:*:*:*:*:*:* | 2.6.30 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.30:rc4:x86_32:*:*:*:*:* | 2.6.30 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.30:rc5:*:*:*:*:*:* | 2.6.30 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.30:rc6:*:*:*:*:*:* | 2.6.30 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.30:rc7-git6:*:*:*:*:*:* | 2.6.30 rc7-git6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.30.1:*:*:*:*:*:*:* | 2.6.30.1 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:2.6.30:*:*:*:*:*:*:* Versions 2.6.30 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.30:rc1:*:*:*:*:*:* Versions 2.6.30 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.30:rc2:*:*:*:*:*:* Versions 2.6.30 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.30:rc3:*:*:*:*:*:* Versions 2.6.30 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.30:rc4:x86_32:*:*:*:*:* Versions 2.6.30 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.30:rc5:*:*:*:*:*:* Versions 2.6.30 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.30:rc6:*:*:*:*:*:* Versions 2.6.30 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.30:rc7-git6:*:*:*:*:*:* Versions 2.6.30 rc7-git6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.30.1:*:*:*:*:*:*:* Versions 2.6.30.1 Vulnerable ·Linux
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2009-1897
- 2026-10-03 Alias added: GHSA-7g2j-wp9p-8rcr
References
Exploit 2
Other 7
- [oss-security] 20090717 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable
- 20090716 Re: Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable
- [netdev] 20090409 Oops in tun: bisected to Limit amount of queued packets per device
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3c8a9c63d5fd738c261bd0ceece04d9c8357ca13
- https://bugzilla.redhat.com/show_bug.cgi?id=512284
- 20090716 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable
- https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2009-1897 · CVE Program
- CVE-2009-1897 · NVD
- FIRST EPSS
- GHSA-7g2j-wp9p-8rcr · GitHub Advisory Database · CC BY 4.0
- CVE-2009-1897 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences