The EXT4 Corruption Bug Is Fixed

Written by Michael Larabel in Linux Storage on 31 October 2012 at 12:40 PM EDT. 8 Comments
LINUX STORAGE
Last week it was discovered an EXT4 file-system corruption bug hit the stable Linux kernel. The true cause of this EXT4 bug has now been uncovered and patched within the mainline Linux kernel.

The EXT4 corruption issue was fixed with this commit and Ted Ts'o describes it as:
This fixes the root cause of the ext4 data corruption bug which raised a ruckus on LWN, Phoronix, and Slashdot.

This bug only showed up when non-standard mount options (journal_async_commit and/or journal_checksum) were enabled, and when the file system was not cleanly unmounted, but the root cause was the inode bitmap modifications was not being properly journaled.

This could potentially lead to minor file system corruptions (pass 5 complaints with the inode allocation bitmap) after an unclean shutdown under the wrong/unlucky workloads, but it turned into major failure if the journal_checksum and/or jouaral_async_commit was enabled.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week