CVE-2009-1897
Summary
| CVE | CVE-2009-1897 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2009-07-20 17:30:54 UTC |
| Updated | 2026-04-23 00:35:47 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
MediumAuthentication
NoneConfidentiality
CompleteIntegrity
CompleteAvailability
CompleteAV:L/AC:M/Au:N/C:C/I:C/A:C
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | 2.6.30 | All | All | All |
| Operating System | Linux | Linux Kernel | 2.6.30 | rc1 | All | All |
| Operating System | Linux | Linux Kernel | 2.6.30 | rc2 | All | All |
| Operating System | Linux | Linux Kernel | 2.6.30 | rc3 | All | All |
| Operating System | Linux | Linux Kernel | 2.6.30 | rc4 | x86_32 | All |
| Operating System | Linux | Linux Kernel | 2.6.30 | rc5 | All | All |
| Operating System | Linux | Linux Kernel | 2.6.30 | rc6 | All | All |
| Operating System | Linux | Linux Kernel | 2.6.30 | rc7-git6 | All | All |
| Operating System | Linux | Linux Kernel | 2.6.30.1 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Gmane -- Mail To News And Back Again | af854a3a-2127-422b-91ae-364da2661108 | article.gmane.org | |
| InfoSec Handlers Diary Blog | af854a3a-2127-422b-91ae-364da2661108 | isc.sans.org | Exploit |
| Linux Kernel "tun_char_poll()" NULL Pointer Dereference - Secunia Advisories - Vulnerability Information - Secunia.com | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| IBM X-Force Exchange | af854a3a-2127-422b-91ae-364da2661108 | exchange.xforce.ibmcloud.com | |
| kernel/git/torvalds/linux.git - Linux kernel source tree | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | |
| Bug 512284 – CVE-2009-1897 kernel: tun/tap: Fix crashes if open() /dev/net/tun and then poll() it | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | |
| archives.neohapsis.com/archives/fulldisclosure/2009-07/0246.html | af854a3a-2127-422b-91ae-364da2661108 | archives.neohapsis.com | |
| oss-security - Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| archives.neohapsis.com/archives/fulldisclosure/2009-07/0241.html | af854a3a-2127-422b-91ae-364da2661108 | archives.neohapsis.com | |
| Webmail : Solution de messagerie professionnelle - OVHcloud- OVH | af854a3a-2127-422b-91ae-364da2661108 | www.vupen.com | Patch, Vendor Advisory |
| 404 Not Found | af854a3a-2127-422b-91ae-364da2661108 | grsecurity.net | Patch |
| LKML: Mariusz Kozlowski: Re: PROBLEM: tun/tap crashes if open() /dev/net/tun and then poll() it. | af854a3a-2127-422b-91ae-364da2661108 | lkml.org | Exploit |
| Security flaws caused by compiler optimizations | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| kernel/git/torvalds/linux.git - Linux kernel source tree | MITRE | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
| Organization | Published | Contributor | Statement |
|---|---|---|---|
| Red Hat | 2009-09-02 | Tomas Hoger | Red Hat is aware of this issue and is tracking it via the following bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=CVE-2009-1897 The flaw only affects the Red Hat Enterprise Linux 5.4 beta kernel, which includes a backport of the upstream bug fix introducing this flaw (git commit 33dccbb0). This issue did not affect the final released Red Hat Enterprise Linux 5.4 kernel. It is also possible to mitigate this flaw by ensuring that the permissions for /dev/net/tun is restricted to root only. This issue does not affect any other released kernel in any Red Hat product. |
There are currently no legacy QID mappings associated with this CVE.