Bug 681260 (CVE-2011-1079)

Summary: CVE-2011-1079 kernel: bnep device field missing NULL terminator
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: arozansk, bhu, davej, dhoward, jkacur, jpirko, jrusnack, kernel-mgr, kmcmartin, lgoncalv, lwang, rt-maint, tcallawa, vgoyal, williams
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: 2012-03-28 08:58:31 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: 681315, 681316, 681317, 681318, 681319, 681320    
Bug Blocks:    

Description Petr Matousek 2011-03-01 15:30:28 UTC
Description of problem:
Struct ca is copied from userspace.  It is not checked whether the "device"
field is NULL terminated.  This potentially leads to BUG() inside of
alloc_netdev_mqs() and/or information leak by creating a device with a name
made of contents of kernel stack.

References:
http://seclists.org/oss-sec/2011/q1/309
https://lkml.org/lkml/2011/2/14/50

Acknowledgements:
                  
Red Hat would like to thank Vasiliy Kulikov of Openwall for reporting this issue.

Comment 3 Eugene Teo (Security Response) 2011-04-11 04:03:31 UTC
Upstream commit:
http://git.kernel.org/linus/43629f8f5ea32a998d06d1bb41eefa0e821ff573

Comment 4 errata-xmlrpc 2011-05-10 17:20:41 UTC
This issue has been addressed in following products:

  MRG for RHEL-5

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

Comment 5 errata-xmlrpc 2011-05-10 18:11:41 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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

Comment 7 errata-xmlrpc 2011-05-31 14:06:06 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

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