loop0: detected capacity change from 0 to 40427 F2FS-fs (loop0): Invalid segment/section count (24 != 24 * 3) F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop0): heap/no_heap options were deprecated F2FS-fs (loop0): quotafile must be on filesystem root 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 (5323) 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=13440, 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:2524: 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:2017: errno=-5 IO failure syz.0.0: attempt to access beyond end of device loop0: rw=2051, sector=10240, nr_sectors = 24 limit=0 syz.0.0: attempt to access beyond end of device loop0: rw=2051, sector=13448, nr_sectors = 3192 limit=0 BTRFS warning (device loop0 state EA): failed to trim 3 block group(s), last error -5 syz.0.0: attempt to access beyond end of device loop0: rw=2051, sector=16640, nr_sectors = 16128 limit=0 BTRFS warning (device loop0 state EA): failed to trim 1 device(s), last error -5 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:4332 ------------[ cut here ]------------ kernel BUG at fs/btrfs/disk-io.c:4332! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5323 Comm: syz.0.0 Not tainted 6.12.0-syzkaller #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+0x91f/0xd60 fs/btrfs/disk-io.c:4332 Code: e9 18 f9 ff ff e8 d1 be cf f5 48 c7 c7 40 4d 4c 8c 48 c7 c6 e0 7c 4c 8c 48 c7 c2 c0 4d 4c 8c b9 ec 10 00 00 e8 02 9d ff ff 90 <0f> 0b e8 aa be cf f5 48 c7 c7 40 4d 4c 8c 48 c7 c6 80 7d 4c 8c 48 RSP: 0018:ffffc9000d3a7b60 EFLAGS: 00010246 RAX: 0000000000000051 RBX: ffff8880444d4d38 RCX: f4bb99a1f00dbf00 RDX: ffffc9000da59000 RSI: 00000000000026a4 RDI: 00000000000026a5 RBP: ffffc9000d3a7d00 R08: ffffffff8174b13c R09: 1ffff92001a74f08 R10: dffffc0000000000 R11: fffff52001a74f09 R12: ffff8880444d4000 R13: ffff8880444d4fa0 R14: 1ffff1100889aa72 R15: 0000000000000000 FS: 00007f7dd31006c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e64e7cde80 CR3: 0000000036dfa000 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:2114 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:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 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:0x7f7dd237e719 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:00007f7dd3100038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f7dd2535f80 RCX: 00007f7dd237e719 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f7dd23f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7dd2535f80 R15: 00007ffecfbfbdd8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:close_ctree+0x91f/0xd60 fs/btrfs/disk-io.c:4332 Code: e9 18 f9 ff ff e8 d1 be cf f5 48 c7 c7 40 4d 4c 8c 48 c7 c6 e0 7c 4c 8c 48 c7 c2 c0 4d 4c 8c b9 ec 10 00 00 e8 02 9d ff ff 90 <0f> 0b e8 aa be cf f5 48 c7 c7 40 4d 4c 8c 48 c7 c6 80 7d 4c 8c 48 RSP: 0018:ffffc9000d3a7b60 EFLAGS: 00010246 RAX: 0000000000000051 RBX: ffff8880444d4d38 RCX: f4bb99a1f00dbf00 RDX: ffffc9000da59000 RSI: 00000000000026a4 RDI: 00000000000026a5 RBP: ffffc9000d3a7d00 R08: ffffffff8174b13c R09: 1ffff92001a74f08 R10: dffffc0000000000 R11: fffff52001a74f09 R12: ffff8880444d4000 R13: ffff8880444d4fa0 R14: 1ffff1100889aa72 R15: 0000000000000000 FS: 00007f7dd31006c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e64e7cde80 CR3: 0000000036dfa000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400