Bug 664544 (CVE-2010-4565)

Summary: CVE-2010-4565 kernel: CAN info leak
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: arozansk, bhu, fhrbata, jkacur, kmcmartin, lgoncalv, lwang, tcallawa, vkrizan, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: impact=low,public=20101102,reported=20101102,source=researcher,cvss2=2.1/AV:L/AC:L/Au:N/C:P/I:N/A:N,rhel-6/kernel=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 09:32:31 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 664559, 664560, 664561    
Bug Blocks:    

Description Petr Matousek 2010-12-20 13:05:23 EST
Description of problem:
In bcm_connect() (in net/can/bcm.c), there is the following code:

 sprintf(bo->procname, "%p", sock);

The CAN protocol uses the address of a kernel heap object sock as a proc
filename, revealing information that could be useful during
exploitation.

Reference:
http://seclists.org/oss-sec/2010/q4/103
http://www.spinics.net/lists/netdev/msg145791.html

Acknowledgements:

Red Hat would like to thank Dan Rosenberg for reporting this issue.
Comment 1 Petr Matousek 2010-12-20 13:09:21 EST
Statement:

The Linux kernel as shipped with Red Hat Enterprise Linux 3, 4 and 5 did not
include CAN bus subsystem support, and therefore are not affected by this
issue. This has been addressed in Red Hat Enterprise MRG via https://rhn.redhat.com/errata/RHSA-2011-0330.html. A future kernel update in Red Hat Enterprise Linux 6 may address this flaw.
Comment 4 Eugene Teo (Security Response) 2010-12-29 00:18:40 EST
Patch: http://www.spinics.net/lists/netdev/msg151020.html
Comment 6 errata-xmlrpc 2011-03-10 15:05:01 EST
This issue has been addressed in following products:

  MRG for RHEL-5

Via RHSA-2011:0330 https://rhn.redhat.com/errata/RHSA-2011-0330.html
Comment 7 errata-xmlrpc 2011-05-10 14:11:25 EDT
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