loop0: detected capacity change from 0 to 1024 EXT4-fs (loop0): Can't support bigalloc feature without extents feature EXT4-fs (loop0): couldn't mount as ext3 due to feature incompatibilities loop0: detected capacity change from 0 to 32768 BTRFS: device fsid 395ef67a-297e-477c-816d-cd80a5b93e5d devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5334) BTRFS info (device loop0): first mount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d BTRFS info (device loop0): using sha256 (sha256-avx2) checksum algorithm BTRFS info (device loop0): using free-space-tree loop0: detected capacity change from 32768 to 0 syz.0.0: attempt to access beyond end of device loop0: rw=6145, sector=10440, nr_sectors = 8 limit=0 BTRFS error (device loop0): bdev /dev/loop0 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0 syz.0.0: attempt to access beyond end of device loop0: rw=6145, sector=10448, nr_sectors = 8 limit=0 BTRFS error (device loop0): bdev /dev/loop0 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0 syz.0.0: attempt to access beyond end of device loop0: rw=6145, sector=10456, nr_sectors = 8 limit=0 BTRFS error (device loop0): bdev /dev/loop0 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0 syz.0.0: attempt to access beyond end of device loop0: rw=6145, sector=10464, nr_sectors = 8 limit=0 BTRFS error (device loop0): bdev /dev/loop0 errs: wr 4, rd 0, flush 0, corrupt 0, gen 0 syz.0.0: attempt to access beyond end of device loop0: rw=6145, sector=10472, nr_sectors = 8 limit=0 BTRFS error (device loop0): bdev /dev/loop0 errs: wr 5, rd 0, flush 0, corrupt 0, gen 0 syz.0.0: attempt to access beyond end of device loop0: rw=6145, sector=10480, nr_sectors = 8 limit=0 BTRFS error (device loop0): bdev /dev/loop0 errs: wr 6, rd 0, flush 0, corrupt 0, gen 0 syz.0.0: attempt to access beyond end of device loop0: rw=6145, sector=10488, nr_sectors = 8 limit=0 BTRFS error (device loop0): bdev /dev/loop0 errs: wr 7, rd 0, flush 0, corrupt 0, gen 0 BTRFS: error (device loop0) in btrfs_commit_transaction:2522: errno=-5 IO failure (Error while writing out transaction) BTRFS info (device loop0 state E): forced readonly BTRFS warning (device loop0 state E): Skipping commit of aborted transaction. BTRFS error (device loop0 state EA): Transaction aborted (error -5) BTRFS: error (device loop0 state EA) in cleanup_transaction:2015: errno=-5 IO failure BTRFS info (device loop0 state EA): last unmount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d assertion failed: list_empty(&fs_info->delayed_iputs), in fs/btrfs/disk-io.c:4330 ------------[ cut here ]------------ kernel BUG at fs/btrfs/disk-io.c:4330! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5334 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-10689-g7af08b57bcb9 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:close_ctree+0x92c/0xd60 fs/btrfs/disk-io.c:4330 Code: e9 0b f9 ff ff e8 e4 bb c5 f5 48 c7 c7 00 8e 4c 8c 48 c7 c6 a0 bd 4c 8c 48 c7 c2 80 8e 4c 8c b9 ea 10 00 00 e8 15 9d ff ff 90 <0f> 0b e8 bd bb c5 f5 48 c7 c7 00 8e 4c 8c 48 c7 c6 40 be 4c 8c 48 RSP: 0018:ffffc9000d487b60 EFLAGS: 00010246 RAX: 0000000000000051 RBX: ffff888051ea0d38 RCX: e36f80c6f0029f00 RDX: ffffc9000e072000 RSI: 0000000000002803 RDI: 0000000000002804 RBP: ffffc9000d487d00 R08: ffffffff8175768c R09: 1ffff92001a90f08 R10: dffffc0000000000 R11: fffff52001a90f09 R12: ffff888051ea0000 R13: ffff888051ea0fa0 R14: 1ffff1100a3d4274 R15: 0000000000000000 FS: 00007f6a54bfe6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c424c23b28 CR3: 0000000052a90000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: generic_shutdown_super+0x139/0x2d0 fs/super.c:642 kill_anon_super+0x3b/0x70 fs/super.c:1237 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2112 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373 task_work_run+0x24f/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6a55180809 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6a54bfe058 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f6a55345fa0 RCX: 00007f6a55180809 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000004 RBP: 00007f6a551f393e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6a55345fa0 R15: 00007ffc8ba3d748 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:close_ctree+0x92c/0xd60 fs/btrfs/disk-io.c:4330 Code: e9 0b f9 ff ff e8 e4 bb c5 f5 48 c7 c7 00 8e 4c 8c 48 c7 c6 a0 bd 4c 8c 48 c7 c2 80 8e 4c 8c b9 ea 10 00 00 e8 15 9d ff ff 90 <0f> 0b e8 bd bb c5 f5 48 c7 c7 00 8e 4c 8c 48 c7 c6 40 be 4c 8c 48 RSP: 0018:ffffc9000d487b60 EFLAGS: 00010246 RAX: 0000000000000051 RBX: ffff888051ea0d38 RCX: e36f80c6f0029f00 RDX: ffffc9000e072000 RSI: 0000000000002803 RDI: 0000000000002804 RBP: ffffc9000d487d00 R08: ffffffff8175768c R09: 1ffff92001a90f08 R10: dffffc0000000000 R11: fffff52001a90f09 R12: ffff888051ea0000 R13: ffff888051ea0fa0 R14: 1ffff1100a3d4274 R15: 0000000000000000 FS: 00007f6a54bfe6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c424c23b28 CR3: 0000000052a90000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400