BTRFS info (device loop2): last unmount of filesystem b28a5aea-0f25-4335-9882-f313c172227f ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6937 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: 6937 Comm: syz.2.54 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/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 : ffff80009e2d7940 x29: ffff80009e2d7940 x28: 1fffe0001861962c x27: dfff800000000000 x26: ffff0000c30cb058 x25: 0000000000000001 x24: ffff0000c30cb1a8 x23: ffff0000c30cb000 x22: 0000000000000000 x21: dfff800000000000 x20: 0000000000008000 x19: ffff0000f8124400 x18: 1fffe000337db690 x17: ffff80008f57e000 x16: ffff800080537b9c x15: 0000000000000001 x14: 1fffe0001ae80904 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a509b000 x8 : 0000000000080000 x7 : ffff800082596a50 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800080537ca4 x2 : 0000000000000001 x1 : 0000000000008000 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:4574 close_ctree+0x650/0x113c fs/btrfs/disk-io.c:4426 btrfs_put_super+0x1ac/0x1c0 fs/btrfs/super.c:74 generic_shutdown_super+0x12c/0x2b8 fs/super.c:642 kill_anon_super+0x4c/0x7c fs/super.c:1281 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2134 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1327 __cleanup_mnt+0x20/0x30 fs/namespace.c:1334 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xfc/0x178 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] arm64_exit_to_user_mode arch/arm64/kernel/entry-common.c:103 [inline] el0_svc+0x170/0x254 arch/arm64/kernel/entry-common.c:747 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 55244 hardirqs last enabled at (55243): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (55244): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (53210): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (53208): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6937 at fs/btrfs/block-group.c:4462 check_removing_space_info+0x10c/0x280 fs/btrfs/block-group.c:4463 Modules linked in: CPU: 1 UID: 0 PID: 6937 Comm: syz.2.54 Tainted: G W syzkaller #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : check_removing_space_info+0x10c/0x280 fs/btrfs/block-group.c:4463 lr : check_removing_space_info+0x260/0x280 fs/btrfs/block-group.c:4462 sp : ffff80009e2d7930 x29: ffff80009e2d7930 x28: 1fffe0001861962c x27: dfff800000000000 x26: ffff0000c30cb058 x25: 0000000000000001 x24: 1fffe0001ae80902 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000008000 x20: ffff0000f8124000 x19: ffff0000d7404800 x18: 1fffe000337db690 x17: ffff80008f57e000 x16: ffff800080537b9c x15: 0000000000000001 x14: 1fffe0001ae80904 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a509b000 x8 : 0000000000080000 x7 : ffff800082596a50 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : ffff0000d7404800 x0 : ffff0000f8124000 Call trace: check_removing_space_info+0x10c/0x280 fs/btrfs/block-group.c:4463 (P) btrfs_free_block_groups+0xa80/0xd10 fs/btrfs/block-group.c:4580 close_ctree+0x650/0x113c fs/btrfs/disk-io.c:4426 btrfs_put_super+0x1ac/0x1c0 fs/btrfs/super.c:74 generic_shutdown_super+0x12c/0x2b8 fs/super.c:642 kill_anon_super+0x4c/0x7c fs/super.c:1281 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2134 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1327 __cleanup_mnt+0x20/0x30 fs/namespace.c:1334 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xfc/0x178 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] arm64_exit_to_user_mode arch/arm64/kernel/entry-common.c:103 [inline] el0_svc+0x170/0x254 arch/arm64/kernel/entry-common.c:747 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 55648 hardirqs last enabled at (55647): [] irqentry_exit+0xd8/0x108 kernel/entry/common.c:214 hardirqs last disabled at (55648): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (55642): [] softirq_handle_end kernel/softirq.c:468 [inline] softirqs last enabled at (55642): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:650 softirqs last disabled at (55247): [] __do_softirq+0x14/0x20 kernel/softirq.c:656 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop2): space_info DATA+METADATA (sub-group id 0) has 3186688 free, is not full BTRFS info (device loop2): space_info total=3276800, used=57344, pinned=0, reserved=0, may_use=32768, readonly=0 zone_unusable=0 BTRFS info (device loop2): global_block_rsv: size 0 reserved 0 BTRFS info (device loop2): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop2): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop2): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop2): delayed_refs_rsv: size 0 reserved 32768