Bug 26072
Summary: | ADFS filesystem E+/F+ disc handling for directories larger than 2048 bytes crashes kernel | ||
---|---|---|---|
Product: | File System | Reporter: | Stuart Swales (stuart.swales.croftnuisk) |
Component: | Other | Assignee: | fs_other |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | alan, florian |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.36.2, 2.36.7 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
Patch for 2.6.36.2 for ADFS E+/F+ directory handling
Patch for 2.6.37 for ADFS E+/F+ directory handling ADFS 256MB Hard Drive E+ format image for testing (compressed) |
Description
Stuart Swales
2011-01-04 15:40:08 UTC
Created attachment 42342 [details]
Patch for 2.6.36.2 for ADFS E+/F+ directory handling
Created attachment 43122 [details]
Patch for 2.6.37 for ADFS E+/F+ directory handling
Created attachment 43142 [details]
ADFS 256MB Hard Drive E+ format image for testing (compressed)
Expand image, then mount:
mount -t adfs -o loop,ro,offset=512 testdiscep.hdf /mnt
ls -lR /mnt
Without patch, kernel crashes as this E+ format disc contains a directory larger than 2048 bytes. With patch, directory is listed as expected.
A patch referencing this bug report has been merged in v2.6.38-8876-g036a982: commit 2f09719af705db56032ae480a2d9c32c2a3fcbd3 Author: Stuart Swales <stuart.swales.croftnuisk@gmail.com> Date: Tue Mar 22 16:35:04 2011 -0700 adfs: fix E+/F+ dir size > 2048 crashing kernel |