BTRFS info (device loop0 state EA): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6656 at fs/btrfs/space-info.h:265 btrfs_space_info_update_bytes_may_use+0x354/0x6a4 fs/btrfs/space-info.h:-1 Modules linked in: CPU: 0 UID: 0 PID: 6656 Comm: syz-executor Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : btrfs_space_info_update_bytes_may_use+0x354/0x6a4 fs/btrfs/space-info.h:-1 lr : btrfs_space_info_update_bytes_may_use+0x350/0x6a4 fs/btrfs/space-info.h:265 sp : ffff8000a58b7850 x29: ffff8000a58b7870 x28: 1fffe00018d4df10 x27: dfff800000000000 x26: ffff80008f57e768 x25: 0000000000000001 x24: ffff0000cd840010 x23: 0000000000000005 x22: 00000000000ff000 x21: 0000000000100000 x20: ffff0000c6a6f880 x19: 0000000000000000 x18: 00000000ffffffff x17: ffff800093303000 x16: ffff800082deb6c0 x15: ffff700014b16f00 x14: 1ffff00014b16f00 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700014b16f00 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000cd840000 x7 : ffff800082596180 x6 : 0000000000000000 x5 : ffff8000934cd7d8 x4 : 0000000000000008 x3 : ffff80008053700c x2 : 0000000000000001 x1 : 0000000000100000 x0 : 00000000000ff000 Call trace: btrfs_space_info_update_bytes_may_use+0x354/0x6a4 fs/btrfs/space-info.h:-1 (P) btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:297 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:153 [inline] btrfs_block_rsv_release+0x3a4/0x490 fs/btrfs/block-rsv.c:292 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:457 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: 157008 hardirqs last enabled at (157007): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (157008): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (155548): [] softirq_handle_end kernel/softirq.c:468 [inline] softirqs last enabled at (155548): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:650 softirqs last disabled at (155531): [] __do_softirq+0x14/0x20 kernel/softirq.c:656 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6656 at fs/btrfs/block-rsv.c:466 btrfs_release_global_block_rsv+0x224/0x22c fs/btrfs/block-rsv.c:466 Modules linked in: CPU: 0 UID: 0 PID: 6656 Comm: syz-executor Tainted: G W syzkaller #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 83400005 (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 : ffff8000a58b7940 x29: ffff8000a58b7940 x28: 1fffe0001b41932c x27: dfff800000000000 x26: ffff0000da0c9858 x25: 0000000000000001 x24: ffff0000da0c99a8 x23: ffff0000da0c9800 x22: 0000000000000000 x21: dfff800000000000 x20: 0000000000000000 x19: 0000000000010000 x18: 1fffe000337db690 x17: ffff80008f57e000 x16: ffff800082deb6c0 x15: 0000000000000001 x14: 1fffe0001b243250 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001b243251 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000cd840000 x7 : ffff800080492744 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800080484cc8 x2 : 0000000000000001 x1 : 0000000000010000 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: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: 157036 hardirqs last enabled at (157035): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1558 [inline] hardirqs last enabled at (157035): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5073 hardirqs last disabled at (157036): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (157032): [] softirq_handle_end kernel/softirq.c:468 [inline] softirqs last enabled at (157032): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:650 softirqs last disabled at (157011): [] __do_softirq+0x14/0x20 kernel/softirq.c:656 ---[ end trace 0000000000000000 ]---