Bug 716805 (CVE-2011-2497)

Summary: CVE-2011-2497 kernel: bluetooth: buffer overflow in l2cap config request
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: high Docs Contact:
Priority: high    
Version: unspecifiedCC: anton, arozansk, bhu, davej, dhoward, fhrbata, jkacur, jpirko, kernel-mgr, kmcmartin, lgoncalv, lwang, plougher, rcvalle, rt-maint, sforsber, 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-05-10 08:11:14 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: 716809, 716810, 716811, 748664    
Bug Blocks: 716800    

Description Eugene Teo (Security Response) 2011-06-27 07:19:49 UTC
Buffer overflow in bluetooth's l2cap config request.

http://marc.info/?l=linux-kernel&m=130891911909436&w=2
"A remote user can provide a small value for the command size field in the command header of an l2cap configuration request, resulting in an integer underflow when subtracting the size of the configuration request header.  This results in copying a very large amount of data via memcpy() and destroying the kernel heap.  Check for underflow."

Acknowledgements:

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

Comment 3 Eugene Teo (Security Response) 2011-06-27 07:42:09 UTC
Statement:

This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 4 and 5 as they did not backport the upstream commit 5dee9e7c that introduced this issue. This has been addressed in Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG via https://rhn.redhat.com/errata/RHSA-2011-1189.html, and https://rhn.redhat.com/errata/RHSA-2011-1253.html.

Comment 4 Jiri Pirko 2011-07-13 09:10:54 UTC
net-2.6 7ac28817536797fd40e9646452183606f9e17f71

Comment 5 Eugene Teo (Security Response) 2011-07-27 09:15:34 UTC
(In reply to comment #4)
> net-2.6 7ac28817536797fd40e9646452183606f9e17f71

linux-2.6 7ac28817536797fd40e9646452183606f9e17f71

Comment 6 errata-xmlrpc 2011-08-23 14:42:05 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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

Comment 7 errata-xmlrpc 2011-09-12 19:44:35 UTC
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

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

Comment 8 Eugene Teo (Security Response) 2011-10-25 03:25:02 UTC
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 748664]