Bug 633149 (CVE-2010-3296)

Summary: CVE-2010-3296 kernel: drivers/net/cxgb3/cxgb3_main.c reading uninitialized stack memory
Product: [Other] Security Response Reporter: Eugene Teo (Security Response) <eteo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: arozansk, bhu, dhoward, fhrbata, jkacur, jolsa, lgoncalv, peterm, plyons, pmatouse, rkhan, vgoyal, williams, wnefal+redhatbugzilla
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-19 09:14:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 633150, 633151, 633152, 633153, 633154, 633155, 633156, 633157    
Bug Blocks:    

Description Eugene Teo (Security Response) 2010-09-13 04:06:21 UTC
Description of problem:
http://lkml.org/lkml/2010/9/11/170
The CHELSIO_GET_QSET_NUM device ioctl allows unprivileged users to read 4 bytes of uninitialized stack memory, because the "addr" member of the ch_reg struct declared on the stack in cxgb_extension_ioctl() is not altered or zeroed before being copied back to the user.

Acknowledgements:

Red Hat would like to thank Dan Rosenberg for reporting this issue.

Comment 2 John Kacur 2010-09-17 12:49:21 UTC
This commit
49c37c0334a9b85d30ab3d6b5d1acb05ef2ef6de
in David Miller's net-2.6 git repo

Comment 3 errata-xmlrpc 2011-01-13 21:17:20 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2011:0017 https://rhn.redhat.com/errata/RHSA-2011-0017.html

Comment 4 errata-xmlrpc 2011-01-14 09:02:41 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2011:0017 https://rhn.redhat.com/errata/RHSA-2011-0017.html

Comment 5 Eugene Teo (Security Response) 2011-02-01 01:30:46 UTC
Upstream commit:
http://git.kernel.org/linus/49c37c0334a9b85d30ab3d6b5d1acb05ef2ef6de

Comment 6 errata-xmlrpc 2011-04-08 02:57:54 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:0421 https://rhn.redhat.com/errata/RHSA-2011-0421.html