Bug 648656 (CVE-2010-4072)

Summary: CVE-2010-4072 kernel: ipc/shm.c: reading uninitialized stack memory
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: arozansk, bhu, dfeng, dhoward, fhrbata, jkacur, jolsa, lgoncalv, peterm, plyons, rkhan, vgoyal, 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: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 648685, 648686, 648687, 648688, 648689, 648816, 648817    
Bug Blocks:    

Description Petr Matousek 2010-11-01 21:11:27 UTC
Description of problem:
The old shm interface allows unprivileged users to read uninitialized stack memory, because shmid_ds structure declared on the stack is not altered or zeroed before being copied back to the user.

Reference:
http://www.openwall.com/lists/oss-security/2010/10/07/1
http://lkml.org/lkml/2010/10/6/454

Acknowledgements:

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

Comment 3 Petr Matousek 2010-11-02 10:32:24 UTC
Statement:

This issue is not planned to be fixed in Red Hat Enterprise Linux 3, due to this product being in Extended Life Cycle Phase of its maintenance life-cycle, where only qualified security errata of critical impact are addressed.
                                   
For further information about the Errata Support Policy, visit:
http://www.redhat.com/security/updates/errata

Comment 5 Eugene Teo (Security Response) 2010-11-22 13:25:55 UTC
Upstream commit:
http://git.kernel.org/linus/3af54c9bd9e6f14f896aac1bb0e8405ae0bc7a44

Comment 6 Kyle McMartin 2010-11-23 16:02:14 UTC
Thanks, picked this up for Fedora (since it also seems missing from the latest stable.)

Comment 7 errata-xmlrpc 2010-12-08 19:09:47 UTC
This issue has been addressed in following products:

  MRG for RHEL-5

Via RHSA-2010:0958 https://rhn.redhat.com/errata/RHSA-2010-0958.html

Comment 8 errata-xmlrpc 2011-01-11 19:46:16 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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

Comment 9 errata-xmlrpc 2011-01-13 21:58:53 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 10 errata-xmlrpc 2011-01-14 09:02:46 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 11 errata-xmlrpc 2011-01-18 17:45:35 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

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