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:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 13:32: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: 664559, 664560, 664561    
Bug Blocks:    

Description Petr Matousek 2010-12-20 18:05:23 UTC
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 18:09:21 UTC
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 05:18:40 UTC
Patch: http://www.spinics.net/lists/netdev/msg151020.html

Comment 6 errata-xmlrpc 2011-03-10 20:05:01 UTC
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 18:11:25 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