Bug 649717 (CVE-2010-3877)

Summary: CVE-2010-3877 kernel: net/tipc/socket.c: reading uninitialized stack memory
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: dhoward, plyons, rkhan
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: 2021-10-19 09:15:45 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: 649891, 649892    
Bug Blocks:    

Description Petr Matousek 2010-11-04 12:10:33 UTC
Description of problem:
Structure sockaddr_tipc is copied to userland with padding bytes after "id" field in union field "name" unitialized.  It leads to leaking of contents of kernel stack memory.  We have to initialize them to zero.

Reference:
http://marc.info/?l=linux-netdev&m=128854507420917&w=2
http://seclists.org/oss-sec/2010/q4/94

Acknowledgements:

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

Comment 2 Petr Matousek 2010-11-04 18:49:09 UTC
Statement:

This issue did not affect the version of Linux kernel as shipped with Red Hat
Enterprise Linux 3, 4 and Red Hat Enterprise MRG as they did not include
support for Transparent Inter-Process Communication Protocol (TIPC). A future
kernel update in Red Hat Enterprise Linux 5 may address this flaw.

Comment 3 Eugene Teo (Security Response) 2010-11-22 13:23:35 UTC
Upstream commit:
http://git.kernel.org/linus/88f8a5e3e7defccd3925cabb1ee4d3994e5cdb52

Comment 4 errata-xmlrpc 2011-01-13 21:59:45 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 errata-xmlrpc 2011-01-14 09:03:17 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