loop0: detected capacity change from 0 to 32768 btrfs: Deprecated parameter 'usebackuproot' BTRFS warning: 'usebackuproot' is deprecated, use 'rescue=usebackuproot' instead BTRFS: device fsid c9fe44da-de57-406a-8241-57ec7d4412cf devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5319) BTRFS info (device loop0): first mount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf BTRFS info (device loop0): using crc32c (crc32c-x86_64) checksum algorithm BTRFS warning (device loop0): couldn't read tree root BTRFS warning (device loop0): try to load backup roots slot 1 BTRFS warning (device loop0): couldn't read tree root BTRFS warning (device loop0): try to load backup roots slot 2 BTRFS warning (device loop0): couldn't read tree root BTRFS warning (device loop0): try to load backup roots slot 3 BTRFS info (device loop0): rebuilding free space tree ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5319 at fs/btrfs/extent-tree.c:3196 __btrfs_free_extent+0x29b1/0x3980 fs/btrfs/extent-tree.c:3196 Modules linked in: CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted 6.14.0-rc7-syzkaller-00205-g586de92313fc #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:__btrfs_free_extent+0x29b1/0x3980 fs/btrfs/extent-tree.c:3196 Code: 8b 44 24 08 8b 10 48 89 df 48 c7 c6 e0 24 6c 8c e8 04 c0 42 fd 49 be 00 00 00 00 00 fc ff df bb 8b ff ff ff e9 8d f3 ff ff 90 <0f> 0b 90 48 8b 44 24 20 42 80 3c 20 00 48 8b 1c 24 74 08 48 89 df RSP: 0018:ffffc9000d3beb40 EFLAGS: 00010246 RAX: 0000000000000002 RBX: 00000000fffffffe RCX: 1296e1e2de11eb00 RDX: 0000000000000002 RSI: ffffffff8f0b1710 RDI: 00000000fffffffe RBP: ffffc9000d3bed10 R08: 0000000000000005 R09: ffffffff83e4d59a R10: 0000000000000002 R11: ffff88801afea440 R12: dffffc0000000000 R13: ffff8880528ee510 R14: 00000000fffffffe R15: ffff8880528c18f0 FS: 00007f7d2768b6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe4af6ae784 CR3: 0000000044100000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1976 [inline] __btrfs_run_delayed_refs+0xf9f/0x40f0 fs/btrfs/extent-tree.c:2046 btrfs_run_delayed_refs+0xe3/0x2f0 fs/btrfs/extent-tree.c:2158 btrfs_start_dirty_block_groups+0xccc/0x10f0 fs/btrfs/block-group.c:3481 btrfs_commit_transaction+0x6ab/0x3760 fs/btrfs/transaction.c:2226 btrfs_rebuild_free_space_tree+0x217/0x4f0 fs/btrfs/free-space-tree.c:1361 btrfs_start_pre_rw_mount+0xeed/0x1300 fs/btrfs/disk-io.c:3070 open_ctree+0x2571/0x2ab0 fs/btrfs/disk-io.c:3616 btrfs_fill_super fs/btrfs/super.c:972 [inline] btrfs_get_tree_super fs/btrfs/super.c:1898 [inline] btrfs_get_tree+0x12da/0x1a30 fs/btrfs/super.c:2093 vfs_get_tree+0x90/0x2b0 fs/super.c:1814 fc_mount+0x1b/0xb0 fs/namespace.c:1271 btrfs_get_tree_subvol fs/btrfs/super.c:2051 [inline] btrfs_get_tree+0x6b1/0x1a30 fs/btrfs/super.c:2094 vfs_get_tree+0x90/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3560 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4088 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7d2678e90a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f7d2768ae68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f7d2768aef0 RCX: 00007f7d2678e90a RDX: 00002000000001c0 RSI: 0000200000000140 RDI: 00007f7d2768aeb0 RBP: 00002000000001c0 R08: 00007f7d2768aef0 R09: 0000000001000884 R10: 0000000001000884 R11: 0000000000000246 R12: 0000200000000140 R13: 00007f7d2768aeb0 R14: 0000000000005100 R15: 0000200000000400