Bug 518132 (CVE-2009-2849)

Summary: CVE-2009-2849 kernel: md: NULL pointer deref when accessing suspend_* sysfs attributes
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: bhu, davej, dhoward, jpirko, jskrabal, kyle, kzhang, lgoncalv, lwang, mjc, pmatouse, tcallawa, 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: 2012-03-28 08:45:14 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: 518134, 518135, 518136    
Bug Blocks:    

Description Eugene Teo (Security Response) 2009-08-19 04:43:33 UTC
Description of problem:
It is possible to modify one of the md/ sysfs files - suspend_lo or suspend_hi when the array is not active. NOTE: this is only a vulnerability when sysfs files are writable by an attacker. It is not writable by default.

This was introduced in commit e464eafd (v2.6.17-rc1).

Upstream commit:
http://git.kernel.org/linus/b8d966efd9a46a9a35beac50cbff6e30565125ef

Comment 2 Fedora Update System 2009-08-26 05:12:13 UTC
kernel-2.6.29.6-217.2.16.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/kernel-2.6.29.6-217.2.16.fc11

Comment 3 Fedora Update System 2009-08-27 02:19:01 UTC
kernel-2.6.29.6-217.2.16.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 errata-xmlrpc 2009-09-29 19:33:35 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2009:1455 https://rhn.redhat.com/errata/RHSA-2009-1455.html

Comment 5 errata-xmlrpc 2009-11-03 18:21:32 UTC
This issue has been addressed in following products:

  MRG for RHEL-5

Via RHSA-2009:1540 https://rhn.redhat.com/errata/RHSA-2009-1540.html