Linux Kernel tun_chr_poll() code execution
|linux-kernel-tunchrpoll-code-execution (51803)||High Risk|
Linux Kernel could allow a local attacker to execute arbitrary code on the system, caused by a NULL pointer dereference in the tun_chr_poll() function. If the kernel was compiled with GCC's "-fdelete-null-pointer-checks" optimization, an attacker could open and poll a tun device to execute arbitrary code on the system with root privileges or cause the system to crash.
Apply the patch for this vulnerability, available from the Linux Kernel GIT Repository. See References.
- Linux Kernel GIT Repository: tun/tap: Fix crashes if open() /dev/net/tun and then poll() it.
- BID-35724: Linux Kernel 'tun_chr_pool()' NULL Pointer Dereference Vulnerability
- 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 22.214.171.124, 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.
- SA35839: Linux Kernel "tun_char_poll()" NULL Pointer Dereference
- VUPEN/ADV-2009-1925: Linux Kernel tun_chr_pool() NULL Pointer Dereference Vulnerability
- Linux Kernel 2.6.30
Jul 06, 2009
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.