BTRFS info (device loop5): last unmount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7292 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: 7292 Comm: syz-executor Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 83400005 (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 : ffff80009fa17920 x29: ffff80009fa17920 x28: 1fffe000183ded2c x27: dfff800000000000 x26: ffff0000c1ef6858 x25: 0000000000000001 x24: ffff0000c1ef69a8 x23: ffff0000c1ef6800 x22: 0000000000000000 x21: dfff800000000000 x20: 0000000000008000 x19: ffff0000f2e4c400 x18: 1fffe00033797688 x17: ffff80008f7de000 x16: ffff800080535bbc x15: 0000000000000001 x14: 1fffe000183def04 x13: 0000000000000000 x12: 0000000000000000 x11: ffff6000183def05 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000cce91e80 x7 : ffff80008255ec7c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800080535cc4 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:4567 close_ctree+0x644/0x1130 fs/btrfs/disk-io.c:4424 btrfs_put_super+0x1ac/0x1c0 fs/btrfs/super.c:74 generic_shutdown_super+0x12c/0x2b8 fs/super.c:643 kill_anon_super+0x4c/0x7c fs/super.c:1282 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2117 deactivate_locked_super+0xc4/0x12c fs/super.c:474 deactivate_super+0xe0/0x100 fs/super.c:507 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1375 __cleanup_mnt+0x20/0x30 fs/namespace.c:1382 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x174/0x1f4 arch/arm64/kernel/entry-common.c:155 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:173 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:182 [inline] el0_svc+0xb8/0x180 arch/arm64/kernel/entry-common.c:880 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: 425290 hardirqs last enabled at (425289): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (425290): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (424154): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (424154): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (423795): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7292 at fs/btrfs/block-group.c:4455 check_removing_space_info+0x10c/0x280 fs/btrfs/block-group.c:4456 Modules linked in: CPU: 1 UID: 0 PID: 7292 Comm: syz-executor Tainted: G W syzkaller #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 83400005 (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 : ffff80009fa17910 x29: ffff80009fa17910 x28: 1fffe000183ded2c x27: dfff800000000000 x26: ffff0000c1ef6858 x25: 0000000000000001 x24: 1fffe000183def02 x23: dfff800000000000 x22: 0000000000000000 x21: 0000000000008000 x20: ffff0000f2e4c000 x19: ffff0000c1ef7800 x18: 1fffe00033797688 x17: ffff80008f7de000 x16: ffff800080535bbc x15: 0000000000000001 x14: 1fffe000183def04 x13: 0000000000000000 x12: 0000000000000000 x11: ffff6000183def05 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000cce91e80 x7 : ffff80008255ec7c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : ffff0000c1ef7800 x0 : ffff0000f2e4c000 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 btrfs_put_super+0x1ac/0x1c0 fs/btrfs/super.c:74 generic_shutdown_super+0x12c/0x2b8 fs/super.c:643 kill_anon_super+0x4c/0x7c fs/super.c:1282 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2117 deactivate_locked_super+0xc4/0x12c fs/super.c:474 deactivate_super+0xe0/0x100 fs/super.c:507 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1375 __cleanup_mnt+0x20/0x30 fs/namespace.c:1382 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x174/0x1f4 arch/arm64/kernel/entry-common.c:155 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:173 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:182 [inline] el0_svc+0xb8/0x180 arch/arm64/kernel/entry-common.c:880 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: 425502 hardirqs last enabled at (425501): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:86 [inline] hardirqs last enabled at (425501): [] exit_to_kernel_mode+0xc0/0xf0 arch/arm64/kernel/entry-common.c:96 hardirqs last disabled at (425502): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (425496): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (425496): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (425293): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]--- BTRFS info (device loop5): space_info DATA+METADATA (sub-group id 0) has 3190784 free, is not full BTRFS info (device loop5): space_info total=3276800, used=53248, pinned=0, reserved=0, may_use=32768, readonly=0 zone_unusable=0 BTRFS info (device loop5): global_block_rsv: size 0 reserved 0 BTRFS info (device loop5): trans_block_rsv: size 0 reserved 0 BTRFS info (device loop5): chunk_block_rsv: size 0 reserved 0 BTRFS info (device loop5): delayed_block_rsv: size 0 reserved 0 BTRFS info (device loop5): delayed_refs_rsv: size 0 reserved 32768