Bug 755431 (CVE-2011-4330)

Summary: CVE-2011-4330 kernel: hfs: add sanity check for file name length
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: agordeev, anton, arozansk, bhu, dhoward, esandeen, fhrbata, grocha, hui.zhu, jkacur, kernel-mgr, lgoncalv, lwang, plougher, pmatouse, rt-maint, rwheeler, sforsber, vgoyal, 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-05-04 06:47:51 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: 755432, 755433, 770598, 782691    
Bug Blocks: 755430    

Description Eugene Teo (Security Response) 2011-11-21 06:01:19 UTC
On a corrupted file system the ->len field could be wrong leading to a buffer overflow.

https://lkml.org/lkml/2011/11/9/303

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

Acknowledgements:

Red Hat would like to thank Clement Lecigne for reporting this issue.

Comment 2 Eugene Teo (Security Response) 2011-11-21 06:08:48 UTC
Statement:

This issue did not affect the Linux kernels as shipped with Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG as they did not include support for the Hierarchical File System (HFS) file system. This has been addressed in Red Hat Enterprise Linux 5 via https://rhn.redhat.com/errata/RHSA-2012-0007.html.

Comment 4 errata-xmlrpc 2012-01-10 20:09:37 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

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

Comment 5 Eugene Teo (Security Response) 2012-01-18 07:16:50 UTC
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 782691]

Comment 6 errata-xmlrpc 2012-03-06 17:43:48 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5.6 EUS - Server Only

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