DescriptionEugene Teo (Security Response)
2010-09-09 05:15:03 UTC
Description of problem:
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. Therefore this is at least a local denial-of-service vulnerability.
Change it to check before writing each entry and to return an error if the buffer is already full.
http://www.spinics.net/lists/netdev/msg140133.html
Comment 2Eugene Teo (Security Response)
2010-09-09 05:25:51 UTC
Statement:
This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 3 and 4, as they do not include support for the Neptune Ethernet driver. It did not affect Red Hat Enterprise Linux 5 and Red Hat Enterprise MRG, as they do not contain the upstream commit 2d96cf8c that introduced this flaw.