BTRFS warning (device loop3): try to load backup roots slot 3 BTRFS info (device loop3): rebuilding free space tree ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8273 at fs/btrfs/extent-tree.c:3230 rcu_read_lock include/linux/rcupdate.h:842 [inline] WARNING: CPU: 1 PID: 8273 at fs/btrfs/extent-tree.c:3230 __btrfs_free_extent+0x21e4/0x3b70 fs/btrfs/extent-tree.c:3343 Modules linked in: CPU: 1 UID: 0 PID: 8273 Comm: syz.3.283 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : __btrfs_free_extent+0x21e4/0x3b70 include/linux/rcupdate.h:842 lr : __btrfs_free_extent+0x414/0x3b70 fs/btrfs/extent-tree.c:3133 sp : ffff80009e0c6de0 x29: ffff80009e0c6f60 x28: 0000000000000000 x27: ffff0000f7d637d0 x26: 0000000000000000 x25: 00000000fffffffe x24: 000000000050d000 x23: ffff000104e74dc0 x22: 00000000fffffffe x21: 00000000fffffffe x20: 000000000000000a x19: ffff0000f7d637d8 x18: 00000000ffffffff x17: ffff800093507000 x16: ffff80008b007340 x15: ffff700013c18d56 x14: 0000000000000002 x13: 00000000fffffffe x12: 0000000000ff0100 x11: ffff0000cd1d0000 x10: ffff80008ff38ab0 x9 : 0000000000000005 x8 : 0000000000000000 x7 : ffff8000822f7a58 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002 x2 : 0000000000000002 x1 : ffff80008ff38a90 x0 : 00000000fffffffe Call trace: rcu_read_lock include/linux/rcupdate.h:842 [inline] (P) __btrfs_free_extent+0x21e4/0x3b70 fs/btrfs/extent-tree.c:3343 (P) run_one_delayed_ref fs/btrfs/extent-tree.c:-1 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1972 [inline] __btrfs_run_delayed_refs+0xbac/0x377c fs/btrfs/extent-tree.c:2047 btrfs_run_delayed_refs+0xc4/0x394 fs/btrfs/extent-tree.c:2159 btrfs_commit_transaction+0x200/0x2ce4 fs/btrfs/transaction.c:2214 btrfs_rebuild_free_space_tree+0x240/0x75c fs/btrfs/free-space-tree.c:1384 btrfs_start_pre_rw_mount+0xed8/0x1728 fs/btrfs/disk-io.c:3075 open_ctree+0x2324/0x32c4 fs/btrfs/disk-io.c:3617 btrfs_fill_super fs/btrfs/super.c:977 [inline] btrfs_get_tree_super fs/btrfs/super.c:1937 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2074 [inline] btrfs_get_tree+0xd5c/0x1590 fs/btrfs/super.c:2108 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 48592 hardirqs last enabled at (48591): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (48591): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (48592): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (47416): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (47416): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (47405): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ BTRFS: Transaction aborted (error -117) WARNING: CPU: 1 PID: 8273 at fs/btrfs/extent-tree.c:3234 __btrfs_free_extent+0x2258/0x3b70 fs/btrfs/extent-tree.c:3231 Modules linked in: CPU: 1 UID: 0 PID: 8273 Comm: syz.3.283 Tainted: G W 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : __btrfs_free_extent+0x2258/0x3b70 fs/btrfs/extent-tree.c:3231 lr : __btrfs_free_extent+0x2258/0x3b70 fs/btrfs/extent-tree.c:3231 sp : ffff80009e0c6de0 x29: ffff80009e0c6f60 x28: 0000000000000000 x27: ffff0000f7d637d0 x26: 0000000000000000 x25: dfff800000000000 x24: 000000000050d000 x23: ffff000104e74dc0 x22: 0000000000000000 x21: 00000000fffffffe x20: 0000000000000000 x19: ffff0000f7d637d8 x18: 00000000ffffffff x17: ffff800093507000 x16: ffff80008b007230 x15: 0000000000000001 x14: 1ffff00012026a76 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000000003 x9 : bcabda9a592bda00 x8 : bcabda9a592bda00 x7 : ffff8000802310a8 x6 : ffff8000802312a4 x5 : ffff0000eb252e50 x4 : ffff80009e0c6790 x3 : 0000000000000010 x2 : 0000000000000006 x1 : ffff80008b6577c0 x0 : 0000000000000001 Call trace: __btrfs_free_extent+0x2258/0x3b70 fs/btrfs/extent-tree.c:3231 (P) run_one_delayed_ref fs/btrfs/extent-tree.c:-1 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1972 [inline] __btrfs_run_delayed_refs+0xbac/0x377c fs/btrfs/extent-tree.c:2047 btrfs_run_delayed_refs+0xc4/0x394 fs/btrfs/extent-tree.c:2159 btrfs_commit_transaction+0x200/0x2ce4 fs/btrfs/transaction.c:2214 btrfs_rebuild_free_space_tree+0x240/0x75c fs/btrfs/free-space-tree.c:1384 btrfs_start_pre_rw_mount+0xed8/0x1728 fs/btrfs/disk-io.c:3075 open_ctree+0x2324/0x32c4 fs/btrfs/disk-io.c:3617 btrfs_fill_super fs/btrfs/super.c:977 [inline] btrfs_get_tree_super fs/btrfs/super.c:1937 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2074 [inline] btrfs_get_tree+0xd5c/0x1590 fs/btrfs/super.c:2108 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 48734 hardirqs last enabled at (48733): [] __call_rcu_common kernel/rcu/tree.c:3148 [inline] hardirqs last enabled at (48733): [] call_rcu+0x65c/0x978 kernel/rcu/tree.c:3243 hardirqs last disabled at (48734): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (48704): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (48704): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (48595): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- BTRFS: error (device loop3 state A) in __btrfs_free_extent:3234: errno=-117 Filesystem corrupted BTRFS info (device loop3 state EA): leaf 5312512 gen 8 total ptrs 12 free space 3326 owner 2 item 0 key (1048576 192 4194304) itemoff 3971 itemsize 24 block group used 4096 chunk_objectid 256 flags 2 item 1 key (1052672 169 0) itemoff 3938 itemsize 33 extent refs 1 gen 5 flags 2 ref#0: tree block backref root 3 item 2 key (5242880 169 0) itemoff 3905 itemsize 33 extent refs 1 gen 6 flags 2 ref#0: tree block backref root 1 item 3 key (5242880 192 1638400) itemoff 3881 itemsize 24 block group used 32768 chunk_objectid 256 flags 5 item 4 key (5246976 169 0) itemoff 3848 itemsize 33 extent refs 1 gen 5 flags 2 ref#0: tree block backref root 5 item 5 key (5251072 169 0) itemoff 3815 itemsize 33 extent refs 1 gen 6 flags 2 ref#0: tree block backref root 2 item 6 key (5259264 169 0) itemoff 3782 itemsize 33 extent refs 1 gen 5 flags 2 ref#0: tree block backref root 4 item 7 key (5263360 169 0) itemoff 3749 itemsize 33 extent refs 1 gen 6 flags 2 ref#0: tree block backref root 10 item 8 key (5279744 169 0) itemoff 3716 itemsize 33 extent refs 1 gen 5 flags 2 ref#0: tree block backref root 7 item 9 key (5287936 169 0) itemoff 3683 itemsize 33 extent refs 1 gen 5 flags 2 ref#0: tree block backref root 18446744073709551607 item 10 key (5292032 169 0) itemoff 3650 itemsize 33 extent refs 1 gen 5 flags 2 ref#0: tree block backref root 9 item 11 key (6881280 192 1638400) itemoff 3626 itemsize 24 block group used 0 chunk_objectid 256 flags 5 BTRFS critical (device loop3 state EA): unable to find ref byte nr 5296128 parent 0 root 10 owner 0 offset 0 slot 11 BTRFS error (device loop3 state EA): failed to run delayed ref for logical 5296128 num_bytes 4096 type 176 action 2 ref_mod 1: -2 BTRFS: error (device loop3 state EA) in btrfs_run_delayed_refs:2161: errno=-2 No such entry BTRFS warning (device loop3 state EA): failed to rebuild free space tree: -2 BTRFS error (device loop3 state EA): commit super ret -30 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8273 at fs/btrfs/block-group.c:172 btrfs_put_block_group+0x2cc/0x364 fs/btrfs/block-group.c:172 Modules linked in: CPU: 1 UID: 0 PID: 8273 Comm: syz.3.283 Tainted: G W 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : btrfs_put_block_group+0x2cc/0x364 fs/btrfs/block-group.c:172 lr : btrfs_put_block_group+0x2cc/0x364 fs/btrfs/block-group.c:172 sp : ffff80009e0c7630 x29: ffff80009e0c7630 x28: 1fffe000185e2f2c x27: dfff800000000000 x26: ffff0000d62749c0 x25: 0000000000000001 x24: ffff0000c2f179a8 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000000001 x20: 0000000000003000 x19: ffff0000c2f17800 x18: 00000000ffffffff x17: ffff800093507000 x16: ffff800080535980 x15: 0000000000000001 x14: 1fffe000185e2f35 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a8bc8000 x8 : 0000000000080000 x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : 0000000000000001 x3 : ffff800082560438 x2 : 0000000000000001 x1 : 0000000000003000 x0 : 0000000000000000 Call trace: btrfs_put_block_group+0x2cc/0x364 fs/btrfs/block-group.c:172 (P) btrfs_free_block_groups+0x9a0/0xd10 fs/btrfs/block-group.c:4561 close_ctree+0x644/0x1130 fs/btrfs/disk-io.c:4424 open_ctree+0x2cac/0x32c4 fs/btrfs/disk-io.c:-1 btrfs_fill_super fs/btrfs/super.c:977 [inline] btrfs_get_tree_super fs/btrfs/super.c:1937 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2074 [inline] btrfs_get_tree+0xd5c/0x1590 fs/btrfs/super.c:2108 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 50658 hardirqs last enabled at (50657): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (50658): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (49168): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (49168): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (49143): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8273 at fs/btrfs/block-rsv.c:465 btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:465 Modules linked in: CPU: 0 UID: 0 PID: 8273 Comm: syz.3.283 Tainted: G W 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:465 lr : btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:465 sp : ffff80009e0c7640 x29: ffff80009e0c7640 x28: 1fffe0001a57922c x27: dfff800000000000 x26: ffff0000d2bc9058 x25: 0000000000000001 x24: ffff0000d2bc91a8 x23: ffff0000d2bc9000 x22: 0000000000000000 x21: dfff800000000000 x20: 000000000005e000 x19: ffff000102d80400 x18: 00000000ffffffff x17: ffff0001fea8c8b0 x16: ffff800080535980 x15: 0000000000000001 x14: 1fffe0001ac4e904 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a8bc8000 x8 : 0000000000080000 x7 : ffff80008255b224 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800080535a88 x2 : 0000000000000001 x1 : 000000000005e000 x0 : 0000000000000000 Call trace: btrfs_release_global_block_rsv+0x218/0x22c fs/btrfs/block-rsv.c:465 (P) btrfs_free_block_groups+0xa4c/0xd10 fs/btrfs/block-group.c:4567 close_ctree+0x644/0x1130 fs/btrfs/disk-io.c:4424 open_ctree+0x2cac/0x32c4 fs/btrfs/disk-io.c:-1 btrfs_fill_super fs/btrfs/super.c:977 [inline] btrfs_get_tree_super fs/btrfs/super.c:1937 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2074 [inline] btrfs_get_tree+0xd5c/0x1590 fs/btrfs/super.c:2108 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 50900 hardirqs last enabled at (50899): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (50900): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (50868): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (50868): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (50661): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8273 at fs/btrfs/block-rsv.c:466 btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:466 Modules linked in: CPU: 1 UID: 0 PID: 8273 Comm: syz.3.283 Tainted: G W 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:466 lr : btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:466 sp : ffff80009e0c7640 x29: ffff80009e0c7640 x28: 1fffe0001a57922c x27: dfff800000000000 x26: ffff0000d2bc9058 x25: 0000000000000001 x24: ffff0000d2bc91a8 x23: ffff0000d2bc9000 x22: 0000000000000000 x21: dfff800000000000 x20: 000000000005e000 x19: 00000000000c0000 x18: 00000000ffffffff x17: ffff0001fea8c8b0 x16: ffff800080535980 x15: 0000000000000001 x14: 1fffe0001ac4e904 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a8bc8000 x8 : 0000000000080000 x7 : ffff80008255b224 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800080535a88 x2 : 0000000000000001 x1 : 00000000000c0000 x0 : 0000000000000000 Call trace: btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:466 (P) btrfs_free_block_groups+0xa4c/0xd10 fs/btrfs/block-group.c:4567 close_ctree+0x644/0x1130 fs/btrfs/disk-io.c:4424 open_ctree+0x2cac/0x32c4 fs/btrfs/disk-io.c:-1 btrfs_fill_super fs/btrfs/super.c:977 [inline] btrfs_get_tree_super fs/btrfs/super.c:1937 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2074 [inline] btrfs_get_tree+0xd5c/0x1590 fs/btrfs/super.c:2108 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 50976 hardirqs last enabled at (50975): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:86 [inline] hardirqs last enabled at (50975): [] exit_to_kernel_mode+0xc0/0xf0 arch/arm64/kernel/entry-common.c:96 hardirqs last disabled at (50976): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (50970): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (50970): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (50903): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8273 at fs/btrfs/block-group.c:4455 check_removing_space_info+0x10c/0x280 fs/btrfs/block-group.c:4456 Modules linked in: CPU: 0 UID: 0 PID: 8273 Comm: syz.3.283 Tainted: G W 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : check_removing_space_info+0x10c/0x280 fs/btrfs/block-group.c:4456 lr : check_removing_space_info+0x260/0x280 fs/btrfs/block-group.c:4455 sp : ffff80009e0c7630 x29: ffff80009e0c7630 x28: 1fffe0001a57922c x27: dfff800000000000 x26: ffff0000d2bc9058 x25: 0000000000000001 x24: 1fffe0001ac4e902 x23: dfff800000000000 x22: 0000000000000000 x21: 000000000005e000 x20: ffff000102d80000 x19: ffff0000d6274800 x18: 00000000ffffffff x17: ffff0001fea8c8b0 x16: ffff800080535980 x15: 0000000000000001 x14: 1fffe0001ac4e904 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a8bc8000 x8 : 0000000000080000 x7 : ffff80008255b224 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : ffff0000d6274800 x0 : ffff000102d80000 Call trace: check_removing_space_info+0x10c/0x280 fs/btrfs/block-group.c:4456 (P) btrfs_free_block_groups+0xa80/0xd10 fs/btrfs/block-group.c:4573 close_ctree+0x644/0x1130 fs/btrfs/disk-io.c:4424 open_ctree+0x2cac/0x32c4 fs/btrfs/disk-io.c:-1 btrfs_fill_super fs/btrfs/super.c:977 [inline] btrfs_get_tree_super fs/btrfs/super.c:1937 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2074 [inline] btrfs_get_tree+0xd5c/0x1590 fs/btrfs/super.c:2108 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 51078 hardirqs last enabled at (51077): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:86 [inline] hardirqs last enabled at (51077): [] exit_to_kernel_mode+0xc0/0xf0 arch/arm64/kernel/entry-common.c:96 hardirqs last disabled at (51078): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (51072): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (51072): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (50979): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop3 state EA): space_info DATA+METADATA (sub-group id 0) has 2846720 free, is not full BTRFS info (device loop3 state EA): space_info total=3276800, used=32768, pinned=0, reserved=12288, may_use=385024, readonly=0 zone_unusable=0 BTRFS info (device loop3 state EA): global_block_rsv: size 0 reserved 0 BTRFS info (device loop3 state EA): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop3 state EA): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop3 state EA): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop3 state EA): delayed_refs_rsv: size 786432 reserved 385024 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8273 at fs/btrfs/block-group.c:4466 check_removing_space_info+0x248/0x280 fs/btrfs/block-group.c:4467 Modules linked in: CPU: 1 UID: 0 PID: 8273 Comm: syz.3.283 Tainted: G W 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : check_removing_space_info+0x248/0x280 fs/btrfs/block-group.c:4467 lr : check_removing_space_info+0x238/0x280 fs/btrfs/block-group.c:4466 sp : ffff80009e0c7630 x29: ffff80009e0c7630 x28: 1fffe0001a57922c x27: dfff800000000000 x26: ffff0000d2bc9058 x25: 0000000000000001 x24: 1fffe0001ac4e902 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000003000 x20: ffff000102d80000 x19: ffff0000d6274800 x18: 1fffe000337a0688 x17: ffff80008f7be000 x16: ffff80008b007230 x15: 0000000000000001 x14: 1fffe000337a3108 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a8bc8000 x8 : 0000000000080000 x7 : ffff800080491074 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : ffff0000d6274800 x0 : ffff000102d80000 Call trace: check_removing_space_info+0x248/0x280 fs/btrfs/block-group.c:4467 (P) btrfs_free_block_groups+0xa80/0xd10 fs/btrfs/block-group.c:4573 close_ctree+0x644/0x1130 fs/btrfs/disk-io.c:4424 open_ctree+0x2cac/0x32c4 fs/btrfs/disk-io.c:-1 btrfs_fill_super fs/btrfs/super.c:977 [inline] btrfs_get_tree_super fs/btrfs/super.c:1937 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2074 [inline] btrfs_get_tree+0xd5c/0x1590 fs/btrfs/super.c:2108 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 51262 hardirqs last enabled at (51261): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1531 [inline] hardirqs last enabled at (51261): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5105 hardirqs last disabled at (51262): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (51208): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (51208): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (51081): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop3 state EA): space_info DATA+METADATA (sub-group id 0) has 2846720 free, is not full BTRFS info (device loop3 state EA): space_info total=3276800, used=32768, pinned=0, reserved=12288, may_use=385024, readonly=0 zone_unusable=0 BTRFS info (device loop3 state EA): global_block_rsv: size 0 reserved 0 BTRFS info (device loop3 state EA): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop3 state EA): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop3 state EA): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop3 state EA): delayed_refs_rsv: size 786432 reserved 385024 BTRFS error (device loop3 state EA): open_ctree failed: -2