Bug 10876
Summary: | (reproducible) NULL pointer dereference on mounting a corrupted filesystem | ||
---|---|---|---|
Product: | File System | Reporter: | Sami Liedes (sami.liedes) |
Component: | XFS | Assignee: | Christoph Hellwig (hch) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | eugeneteo, galitsyn, hch |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.27-rc6 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
Test case, corrupted XFS filesystem, gzip compressed
Validate the transaction header in new items |
Description
Sami Liedes
2008-06-06 10:50:10 UTC
Created attachment 16416 [details]
Test case, corrupted XFS filesystem, gzip compressed
Verified Created attachment 17981 [details]
Validate the transaction header in new items
Can you check that this patch fixes the reported problem?
It catches the corrupt transaction at the point that it is
initially decoded and returns a error at that point. The filesystem
will refuse to mount with an EIO error and log a warning explaining
the reason.
I have the same problem. Dave, your patch does not fixes the problem. I've verified with that Dave's check does indeed catch the problem in the attached image. Vadim, if you have a problem that is not fixed by that check it's probably similar but not the same, please open a different bug report for it. Christoph, it is almost one year left since I've got the issue. I've stopped to use XFS and moved to another one FS (and hardware as well). There is no way to reproduce the problem and create a bug now, sorry. |