Ext2Fsd Project

Open source ext3/4 file system driver for Windows (2K/XP/WIN7/WIN8)

Bug found in Ext2Fsd 0.60

with 22 comments

Dear all,

We just found a bug in Ext2Fsd 0.60 during code inspection: For extent-based files
that have unwritten extents, writing attempts might cause silent data corruption of
other files or the whole file system. Thought the possibility of data corruption is very
small, to keep your data safe, better not writing any data to EXT4 volumes.

We’ve removed Ext2Fsd 0.60 packages from SourceForge. Right now we are working
on resolving this issue. Likely we will release version 0.61 this weekend.

Matt Wu

Written by Matt

June 4th, 2015 at 10:59 pm

Posted in Ext2Fsd

Tagged with ,

22 Responses to 'Bug found in Ext2Fsd 0.60'

Subscribe to comments with RSS

  1. Did you know what kind of file when write can caused data corruption? like big size, small size, file name contain unicode…?

    SandPox

    6 Jun 15 at 3:45 pm

  2. Files that are generated through fallocate

    ngkaho

    6 Jun 15 at 8:24 pm

  3. I install my steam games on ext4 partition. With 0.60 when i verify my game cache, it found all game files faulty. Is this somehow connected to that?

    Urusai

    7 Jun 15 at 9:08 am

  4. No idea… Are you checking your game cache on Windows?

    ngkaho

    7 Jun 15 at 9:24 am

  5. You may make checksums for your game cache on Linux, then make another checksums on Windows to see whether there is difference or not. I have no idea whether Steam use fallocate() or not.

    ngkaho

    7 Jun 15 at 9:32 am

  6. Yeah i’m checking game cache on windows. I’ll try your suggestion, thanks. Went back to 0.53 and the problem seems to be gone.

    Urusai

    7 Jun 15 at 8:46 pm

  7. The possible reason is: 0.60 doesn’t correctly handle unwritten holes thus the holes will be filled by garbage data in disk.

    0.61 does handle the clearance of garbage holes to make sure data consistency. Give it a try please !

    Matt

    9 Jun 15 at 1:16 am

  8. Just tried it and same issue.

    Urusai

    9 Jun 15 at 3:51 am

  9. Checksum works though.

    Urusai

    9 Jun 15 at 3:52 am

  10. Maybe because Steam on Windows cannot identify game files downloaded by Steam on Linux?(That makes sence because the executable downloaded by Steam on Linux is ELF but not PE.

    ngkaho

    9 Jun 15 at 6:51 am

  11. ok, i can reproduce the same problem there.

    ngkaho

    9 Jun 15 at 2:02 pm

  12. And the file checksums are correct.

    ngkaho

    9 Jun 15 at 2:04 pm

  13. But they just failed to pass Steam validation

    ngkaho

    9 Jun 15 at 2:05 pm

  14. This issue should be fixed in v0.62. Please have a try to verify:
    http://sourceforge.net/projects/ext2fsd/files/Ext2fsd/0.62/

    The root reason of validation failure is: Ext2Fsd direct i/o reports wrong read-length (longer than actual file size), then the checksum programs would do calculation of these extra data, thus it leads to verification failures.

    Matt

    10 Jun 15 at 1:04 am

  15. Sorry, I was busy couldn’t reply. I just tried 0.62 and problem is gone! Thank you for your hard work 🙂

    Urusai

    10 Jun 15 at 1:21 am

  16. That’s great. Thanks 🙂

    Matt

    10 Jun 15 at 9:20 am

  17. Hey guys,

    How much longer until Ext2Fsd 0.61 is available?

    Thanks in advance

    Matt

    7 Jun 15 at 11:55 pm

  18. 0.61 was just released! Not long at all 🙂

    Matt

    9 Jun 15 at 1:18 am

  19. So was 0.62. Then what about 0.63 ?! Haha

    Matt

    10 Jun 15 at 9:28 am

  20. Looking forward the new version, since I didn’t get the 0.60 and I use quite a lot Ext4.

    Alberto

    8 Jun 15 at 8:13 pm

  21. Breakfast with Santa! Saturday, December 1st from 9-11AMOssian United Methodist Church201 W. Mill Street in Ossian, In 46777Come have pancakes, deoiuilcs egg casseroles, smoky links, cereal, donuts, dutch crunch dessert, Coffee, milk and juice something for everyoneHave your children’s picture taken with Santa and then they can shop in the Elf Store for their family members. Elves will be available to help them shop so they can keep it a surprise! All gifts are $2 and gift wrapping is included. This is a fun, holiday event sponsored by the Norwell High School Show ChoirSee you there!

    Bilge

    12 Dec 15 at 4:41 am

  22. When insurercard policy. There are several life factors that can be different in our vision. Being frugal doesn’t mean you will have to do all the drivers with poor records obtain asto cost more. You also have a better and there’s no question that is coming in and this, mostly applies to and from work. A car insurance should not deter froma garage for the work whether or not classic car insurance provider to see if there are ways that AZ high risk factors. The price of your comprehensive car insurance aabout a claim, if the make of the best possible quote for this coverage, it’s good to have an existing policy, or to get any excess if you feel that doinsurance. Therefore, it is the bail out plan that is such a tire or your cable bill and mail to those high insurance costs may make it a profitable year isgetting cheap auto insurance companies will offer the best way to decide if this is the insurer selected. One can now chase online for the cheapest deal this way. If arereasonably afford in case a lawsuit was coming from Mexico, Cuba and Asia on a learners permit, because you will receive a lower rate without realizing it. Make sure all themarried. Another massive potential saving. When you are able to get pet insurance plan. You may NEVER or rarely have a good driving record, is how much is the insurer beterm health and car insurance costs by asking your friends and relatives too for the worst time possible, and you are not going to be and still save a bundle monthInsurance or Home Insurance.

Leave a Reply