Bug 209587
Summary: | Divide by zero in calc_stripe_length() with fuzzed image | ||
---|---|---|---|
Product: | File System | Reporter: | Daniel Xu (dxu) |
Component: | btrfs | Assignee: | BTRFS virtual assignee (fs_btrfs) |
Status: | NEW --- | ||
Severity: | low | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | master (5.9) | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | repro |
I've got a fix up here: https://lore.kernel.org/linux-btrfs/20201009010910.270794-1-dxu@dxuuu.xyz/T/#u |
Created attachment 292901 [details] repro There's a divide by zero error in calc_stripe_length() if you try to mount the attached image. Note: the attached image is zstd compressed.