BTRFS warning (device loop1): couldn't read tree root BTRFS warning (device loop1): try to load backup roots slot 3 BTRFS info (device loop1): rebuilding free space tree ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6280 at fs/btrfs/extent-tree.c:3228 __btrfs_free_extent+0x2178/0x2eb0 fs/btrfs/extent-tree.c:3228 Modules linked in: CPU: 0 UID: 0 PID: 6280 Comm: syz.1.49 Not tainted 6.15.0-syzkaller-11796-g5abc7438f1e9 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__btrfs_free_extent+0x2178/0x2eb0 fs/btrfs/extent-tree.c:3228 Code: 40 42 0f b6 04 28 84 c0 0f 85 b7 0c 00 00 41 8b 14 24 48 c7 c6 e0 00 cd 8b e8 c4 7b 6b fd 41 be 8b ff ff ff e9 aa f5 ff ff 90 <0f> 0b 90 48 8b 44 24 28 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 RSP: 0018:ffffc9000d426c40 EFLAGS: 00010246 RAX: 0000000000000002 RBX: ffff88804bc01f60 RCX: 0000000000000005 RDX: ffff8880536d6060 RSI: ffffffff8e6ccfd0 RDI: 00000000fffffffe RBP: ffffc9000d426df0 R08: ffff88802d425a00 R09: 0000000000000002 R10: 00000000fffffffe R11: 0000000000000002 R12: 00000000fffffffe R13: dffffc0000000000 R14: 0000000000000000 R15: 00000000fffffffe FS: 00007feab83f66c0(0000) GS:ffff888125c90000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f86fd48f17b CR3: 0000000075f4e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: run_delayed_tree_ref fs/btrfs/extent-tree.c:1747 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1773 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1970 [inline] __btrfs_run_delayed_refs+0xe7b/0x3a50 fs/btrfs/extent-tree.c:2045 btrfs_run_delayed_refs+0xe6/0x300 fs/btrfs/extent-tree.c:2157 btrfs_start_dirty_block_groups+0xc08/0xf70 fs/btrfs/block-group.c:3519 btrfs_commit_transaction+0x666/0x37f0 fs/btrfs/transaction.c:2238 btrfs_rebuild_free_space_tree+0x215/0x4e0 fs/btrfs/free-space-tree.c:1372 btrfs_start_pre_rw_mount+0xd76/0x1180 fs/btrfs/disk-io.c:3077 open_ctree+0x2078/0x2800 fs/btrfs/disk-io.c:3617 btrfs_fill_super+0x19d/0x2e0 fs/btrfs/super.c:968 btrfs_get_tree_super fs/btrfs/super.c:1893 [inline] btrfs_get_tree+0x107c/0x1630 fs/btrfs/super.c:2088 vfs_get_tree+0x8f/0x2b0 fs/super.c:1802 fc_mount+0x1c/0xb0 fs/namespace.c:1290 btrfs_get_tree_subvol fs/btrfs/super.c:2046 [inline] btrfs_get_tree+0x67d/0x1630 fs/btrfs/super.c:2089 vfs_get_tree+0x8f/0x2b0 fs/super.c:1802 do_new_mount+0x24a/0xa40 fs/namespace.c:3856 do_mount fs/namespace.c:4193 [inline] __do_sys_mount fs/namespace.c:4404 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4381 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feaba59010a 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:00007feab83f5e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007feab83f5ef0 RCX: 00007feaba59010a RDX: 0000200000000440 RSI: 0000200000000000 RDI: 00007feab83f5eb0 RBP: 0000200000000440 R08: 00007feab83f5ef0 R09: 0000000000004810 R10: 0000000000004810 R11: 0000000000000246 R12: 0000200000000000 R13: 00007feab83f5eb0 R14: 0000000000005145 R15: 0000200000000140