{"api_version":"1","generated_at":"2026-07-24T19:42:08+00:00","cve":"CVE-2009-1897","urls":{"html":"https://cve.report/CVE-2009-1897","api":"https://cve.report/api/cve/CVE-2009-1897.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2009-1897","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2009-1897"},"summary":{"title":"CVE-2009-1897","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.","state":"PUBLISHED","assigner":"redhat","published_at":"2009-07-20 17:30:54","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-119","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.9","severity":"","vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","baseScore":6.9,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://article.gmane.org/gmane.linux.network/124939","name":"http://article.gmane.org/gmane.linux.network/124939","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gmane -- Mail To News And Back Again","mime":"text/html","httpstatus":"522","archivestatus":"200"},{"url":"http://isc.sans.org/diary.html?storyid=6820","name":"http://isc.sans.org/diary.html?storyid=6820","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"InfoSec Handlers Diary Blog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/35839","name":"http://secunia.com/advisories/35839","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Linux Kernel \"tun_char_poll()\" NULL Pointer Dereference - Secunia Advisories - Vulnerability Information - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/51803","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/51803","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3c8a9c63d5fd738c261bd0ceece04d9c8357ca13","name":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3c8a9c63d5fd738c261bd0ceece04d9c8357ca13","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"kernel/git/torvalds/linux.git - Linux kernel source tree","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=512284","name":"https://bugzilla.redhat.com/show_bug.cgi?id=512284","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Bug 512284 – CVE-2009-1897 kernel: tun/tap: Fix crashes if open() /dev/net/tun and then poll() it","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0246.html","name":"http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0246.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2009/07/17/1","name":"http://www.openwall.com/lists/oss-security/2009/07/17/1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the \n\tunexploitable","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0241.html","name":"http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0241.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2009/1925","name":"http://www.vupen.com/english/advisories/2009/1925","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://grsecurity.net/~spender/cheddar_bay.tgz","name":"http://grsecurity.net/~spender/cheddar_bay.tgz","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"404 Not Found","mime":"application/gzip","httpstatus":"404","archivestatus":"200"},{"url":"http://lkml.org/lkml/2009/7/6/19","name":"http://lkml.org/lkml/2009/7/6/19","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"LKML: Mariusz Kozlowski: Re: PROBLEM: tun/tap crashes if open() /dev/net/tun and then poll() it.","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations","name":"https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security flaws caused by compiler optimizations","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3c8a9c63d5fd738c261bd0ceece04d9c8357ca13","name":"CONFIRM:http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3c8a9c63d5fd738c261bd0ceece04d9c8357ca13","refsource":"MITRE","tags":[],"title":"kernel/git/torvalds/linux.git - Linux kernel source tree","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2009-1897","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-1897","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2009","cve_id":"1897","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"2.6.30","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"1897","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"2.6.30","cpe7":"rc1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"1897","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"2.6.30","cpe7":"rc2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"1897","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"2.6.30","cpe7":"rc3","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"1897","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"2.6.30","cpe7":"rc4","cpe8":"x86_32","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"1897","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"2.6.30","cpe7":"rc5","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"1897","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"2.6.30","cpe7":"rc6","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"1897","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"2.6.30","cpe7":"rc7-git6","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"1897","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"2.6.30.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[{"cvename":"CVE-2009-1897","organization":"Red Hat","lastmodified":"2009-09-02","contributor":"Tomas Hoger","statementText":"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.","cve_year":"2009","cve_id":"1897","crc32":"38f36200"}],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T05:27:54.800Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"ADV-2009-1925","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2009/1925"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://isc.sans.org/diary.html?storyid=6820"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://grsecurity.net/~spender/cheddar_bay.tgz"},{"name":"[oss-security] 20090717 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2009/07/17/1"},{"name":"20090716 Re: Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"],"url":"http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0246.html"},{"name":"linux-kernel-tunchrpoll-code-execution(51803)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/51803"},{"name":"[netdev] 20090409 Oops in tun: bisected to Limit amount of queued packets per device","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://article.gmane.org/gmane.linux.network/124939"},{"name":"35839","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/35839"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3c8a9c63d5fd738c261bd0ceece04d9c8357ca13"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=512284"},{"name":"[linux-kernel] 20090706 Re: PROBLEM: tun/tap crashes if open() /dev/net/tun and then poll() it.","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://lkml.org/lkml/2009/7/6/19"},{"name":"20090716 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"],"url":"http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0241.html"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2009-07-16T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2019-08-21T18:05:42.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"ADV-2009-1925","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2009/1925"},{"tags":["x_refsource_MISC"],"url":"http://isc.sans.org/diary.html?storyid=6820"},{"tags":["x_refsource_MISC"],"url":"http://grsecurity.net/~spender/cheddar_bay.tgz"},{"name":"[oss-security] 20090717 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2009/07/17/1"},{"name":"20090716 Re: Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable","tags":["mailing-list","x_refsource_FULLDISC"],"url":"http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0246.html"},{"name":"linux-kernel-tunchrpoll-code-execution(51803)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/51803"},{"name":"[netdev] 20090409 Oops in tun: bisected to Limit amount of queued packets per device","tags":["mailing-list","x_refsource_MLIST"],"url":"http://article.gmane.org/gmane.linux.network/124939"},{"name":"35839","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/35839"},{"tags":["x_refsource_CONFIRM"],"url":"http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3c8a9c63d5fd738c261bd0ceece04d9c8357ca13"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=512284"},{"name":"[linux-kernel] 20090706 Re: PROBLEM: tun/tap crashes if open() /dev/net/tun and then poll() it.","tags":["mailing-list","x_refsource_MLIST"],"url":"http://lkml.org/lkml/2009/7/6/19"},{"name":"20090716 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable","tags":["mailing-list","x_refsource_FULLDISC"],"url":"http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0241.html"},{"tags":["x_refsource_MISC"],"url":"https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2009-1897","datePublished":"2009-07-20T17:00:00.000Z","dateReserved":"2009-06-02T00:00:00.000Z","dateUpdated":"2024-08-07T05:27:54.800Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2009-07-20 17:30:54","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-119","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","baseScore":6.9,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"MEDIUM","exploitabilityScore":3.4,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.30:*:*:*:*:*:*:*","matchCriteriaId":"10E55450-F6D9-483C-9CC8-E651E5A12AB1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.30:rc1:*:*:*:*:*:*","matchCriteriaId":"45273823-29EA-44DE-8444-3933402C5793"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.30:rc2:*:*:*:*:*:*","matchCriteriaId":"88F60E74-09DB-4D4A-B922-4A46EED0EC20"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.30:rc3:*:*:*:*:*:*","matchCriteriaId":"E242D3DE-D1DC-406A-BCC3-C4380B7EC369"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.30:rc4:x86_32:*:*:*:*:*","matchCriteriaId":"06EFB3F7-2EAE-4A56-A9A1-E8C734E6B91E"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.30:rc5:*:*:*:*:*:*","matchCriteriaId":"8598D6E5-0C5C-4A31-841A-C12801DB7D91"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.30:rc6:*:*:*:*:*:*","matchCriteriaId":"59800B0A-477B-42F8-A58A-5144F455AE01"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.30:rc7-git6:*:*:*:*:*:*","matchCriteriaId":"F166BF6B-BFB0-4206-BD59-179701572F1C"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.30.1:*:*:*:*:*:*:*","matchCriteriaId":"99AC6D46-A0BF-4F1D-88BB-03BF74FDB84F"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2009","CveId":"1897","Ordinal":"1","Title":"CVE-2009-1897","CVE":"CVE-2009-1897","Year":"2009"},"notes":[{"CveYear":"2009","CveId":"1897","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2009-1897"},{"CveYear":"2009","CveId":"1897","Ordinal":"2","NoteData":"2009-07-20","Type":"Other","Title":"Published"},{"CveYear":"2009","CveId":"1897","Ordinal":"3","NoteData":"2019-08-21","Type":"Other","Title":"Modified"}]}}}