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.
https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations
https://exchange.xforce.ibmcloud.com/vulnerabilities/51803
https://bugzilla.redhat.com/show_bug.cgi?id=512284
http://www.vupen.com/english/advisories/2009/1925
http://www.openwall.com/lists/oss-security/2009/07/17/1
http://secunia.com/advisories/35839
http://grsecurity.net/~spender/cheddar_bay.tgz
http://article.gmane.org/gmane.linux.network/124939
http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0246.html
http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0241.html