Bug 547251 (CVE-2009-4307) - CVE-2009-4307 kernel: ext4: avoid divide by zero when trying to mount a corrupted file system
Summary: CVE-2009-4307 kernel: ext4: avoid divide by zero when trying to mount a corru...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2009-4307
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 547252 547253
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-14 05:47 UTC by Eugene Teo (Security Response)
Modified: 2021-11-12 20:03 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-12 20:18:36 UTC
Embargoed:


Attachments (Terms of Use)
corrupted image for this issue (760.06 KB, application/x-gzip)
2009-12-14 05:50 UTC, Eugene Teo (Security Response)
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0178 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.5 kernel security and bug fix update 2010-03-29 12:18:21 UTC
Red Hat Product Errata RHSA-2010:0380 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2010-04-27 12:46:01 UTC

Description Eugene Teo (Security Response) 2009-12-14 05:47:17 UTC
Description of problem:
ext4: avoid divide by zero when trying to mount a corrupted file system
    
If s_log_groups_per_flex is greater than 31, then groups_per_flex will overflow and cause a divide by zero error.  This can cause kernel BUG if such a file system is mounted.
    
Upstream commit: 
http://git.kernel.org/linus/503358ae01b70ce6909d19dd01287093f6b6271c

References:
http://bugzilla.kernel.org/show_bug.cgi?id=14287
http://secunia.com/advisories/37658

Comment 2 Eugene Teo (Security Response) 2009-12-14 05:50:19 UTC
Created attachment 378143 [details]
corrupted image for this issue

Comment 3 Aristeu Rozanski 2010-01-26 13:32:11 UTC
Patch present on the current RHEL6 git tree.

Comment 4 errata-xmlrpc 2010-03-30 06:49:08 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

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

Comment 7 errata-xmlrpc 2010-04-27 12:46:11 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5.4.Z - Server Only

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

Comment 10 Eugene Teo (Security Response) 2010-11-04 07:59:53 UTC
Statement:
The Linux kernel packages as shipped with Red Hat Enterprise Linux 3, 4 and Red Hat Enterprise MRG do not include support for EXT4, and therefore are not affected by this issue. It was addressed in Red Hat Enterprise Linux 5 via https://rhn.redhat.com/errata/RHSA-2010-0380.html.


Note You need to log in before you can comment on or make changes to this bug.