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
Created attachment 378143 [details] corrupted image for this issue
Patch present on the current RHEL6 git tree.
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
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
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.