oss-sec mailing list archives

CVE request: kernel: niu buffer overflow for ETHTOOL_GRXCLSRLALL


From: Eugene Teo <eugene () redhat com>
Date: Thu, 09 Sep 2010 13:20:42 +0800

https://bugzilla.redhat.com/show_bug.cgi?id=632069
http://www.spinics.net/lists/netdev/msg140133.html

"niu_get_ethtool_tcam_all() assumes that its output buffer is the right size, and warns before returning if it is not. However, the output buffer size is under user control and ETHTOOL_GRXCLSRLALL is an unprivileged ethtool command."

Affects kernel v2.6.30-rc1 onwards.

Thanks, Eugene
--
main(i) { putchar(182623909 >> (i-1) * 5&31|!!(i<7)<<6) && main(++i); }


Current thread: