Bug 632069 (CVE-2010-3084) - CVE-2010-3084 kernel: niu: buffer overflow for ETHTOOL_GRXCLSRLALL
Summary: CVE-2010-3084 kernel: niu: buffer overflow for ETHTOOL_GRXCLSRLALL
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2010-3084
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: source=lkml,impact=important,reported...
Depends On: 632070 632071 632072
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-09 05:15 UTC by Eugene Teo (Security Response)
Modified: 2019-06-08 13:05 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-28 08:48:46 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0842 normal SHIPPED_LIVE Important: kernel security and bug fix update 2010-11-22 19:34:20 UTC

Description Eugene 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 2 Eugene 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.

Comment 3 John Kacur 2010-09-09 14:04:56 UTC
This is commit ee9c5cfad29c8a13199962614b9b16f1c4137ac9
in git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.git

Comment 4 Eugene Teo (Security Response) 2010-09-20 08:05:25 UTC
Upstream commit:
http://git.kernel.org/linus/ee9c5cfad29c8a13199962614b9b16f1c4137ac9

Comment 5 errata-xmlrpc 2010-11-10 19:07:44 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2010:0842 https://rhn.redhat.com/errata/RHSA-2010-0842.html

Comment 6 errata-xmlrpc 2010-11-22 19:34:29 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2010:0842 https://rhn.redhat.com/errata/RHSA-2010-0842.html


Note You need to log in before you can comment on or make changes to this bug.