Bug 799209 (CVE-2012-1097)

Summary: CVE-2012-1097 kernel: regset: Prevent null pointer reference on readonly regsets
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: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: anton, arozansk, bhu, davej, dhoward, fhrbata, gansalmon, itamar, jforbes, jkacur, jonathan, jwboyer, kernel-maint, lgoncalv, lwang, madhu.chinakonda, pmatouse, rt-maint, security-response-team, sforsber, 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: 2013-04-24 13:14:56 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: 799212, 799213, 799214, 799782, 818287    
Bug Blocks: 799195    

Description Eugene Teo (Security Response) 2012-03-02 06:42:21 UTC
The regset common infrastructure assumed that regsets would always have .get and .set methods, but not necessarily .active methods.  Unfortunately people have since written regsets without .set methods.  

Rather than putting in stub functions everywhere, handle regsets with null .get or .set methods explicitly.

Acknowledgements:

Red Hat would like to thank H. Peter Anvin for reporting this issue.

Comment 5 Eugene Teo (Security Response) 2012-03-02 07:18:52 UTC
Statement:

This issue did not affect the Linux kernel as shipped with Red Hat Enterprise Linux 5 as it did not backport upstream commits 4206d3aa and 5bde4d18.

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

Affects: fedora-all [bug 799782]

Comment 9 Fedora Update System 2012-03-10 21:50:39 UTC
kernel-3.2.9-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2012-03-15 02:31:41 UTC
kernel-2.6.42.9-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 errata-xmlrpc 2012-04-17 18:57:15 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:0481 https://rhn.redhat.com/errata/RHSA-2012-0481.html

Comment 14 errata-xmlrpc 2012-06-26 18:43:15 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.1 EUS - Server Only

Via RHSA-2012:1042 https://rhn.redhat.com/errata/RHSA-2012-1042.html