mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-27 16:02:56 +00:00
btrfs-progs: tests: add sys-array-num-stripes-0.raw.xz
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
9bb3e6bc3c
commit
5f03d1fc23
30
tests/fuzz-tests/images/sys-array-num-stripes-0.raw.txt
Normal file
30
tests/fuzz-tests/images/sys-array-num-stripes-0.raw.txt
Normal file
@ -0,0 +1,30 @@
|
||||
URL: http://article.gmane.org/gmane.comp.file-systems.btrfs/50230
|
||||
Vegard Nossum, 2015-11-15
|
||||
|
||||
If sys_array::num_stripes == 0, we hit a BUG_ON during mount:
|
||||
|
||||
BTRFS: device fsid 9006933e-2a9a-44f0-917f-514252aeec2c devid 1 transid 7 /dev/loop0
|
||||
BTRFS info (device loop0): disk space caching is enabled
|
||||
BUG: failure at fs/btrfs/ctree.h:337/btrfs_chunk_item_size()!
|
||||
Kernel panic - not syncing: BUG!
|
||||
CPU: 0 PID: 313 Comm: mount Not tainted 4.2.5-00657-ge047887-dirty #25
|
||||
Stack:
|
||||
637af890 60062489 602aeb2e 604192ba
|
||||
60387961 00000011 637af8a0 6038a835
|
||||
637af9c0 6038776b 634ef32b 00000000
|
||||
Call Trace:
|
||||
[<6001c86d>] show_stack+0xfe/0x15b
|
||||
[<6038a835>] dump_stack+0x2a/0x2c
|
||||
[<6038776b>] panic+0x13e/0x2b3
|
||||
[<6020f099>] btrfs_read_sys_array+0x25d/0x2ff
|
||||
[<601cfbbe>] open_ctree+0x192d/0x27af
|
||||
[<6019c2c1>] btrfs_mount+0x8f5/0xb9a
|
||||
[<600bc9a7>] mount_fs+0x11/0xf3
|
||||
[<600d5167>] vfs_kern_mount+0x75/0x11a
|
||||
[<6019bcb0>] btrfs_mount+0x2e4/0xb9a
|
||||
[<600bc9a7>] mount_fs+0x11/0xf3
|
||||
[<600d5167>] vfs_kern_mount+0x75/0x11a
|
||||
[<600d710b>] do_mount+0xa35/0xbc9
|
||||
[<600d7557>] SyS_mount+0x95/0xc8
|
||||
|
||||
Fixed by patch (kernel and btrfs-progs): btrfs: handle invalid num_stripes in sys_array
|
BIN
tests/fuzz-tests/images/sys-array-num-stripes-0.raw.xz
Normal file
BIN
tests/fuzz-tests/images/sys-array-num-stripes-0.raw.xz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user