BTRFS info (device loop0): last unmount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6526 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: 6526 Comm: syz-executor Not tainted 6.16.0-rc2-syzkaller-g9aa9b43d689e #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 80400005 (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 : ffff8000a29c7870 x29: ffff8000a29c7890 x28: 1fffe0001b08d910 x27: dfff800000000000 x26: ffff80008f62e768 x25: 0000000000000001 x24: ffff0000c9835b90 x23: 0000000000000005 x22: 000000000015f000 x21: 0000000000160000 x20: ffff0000d846c880 x19: 0000000000000000 x18: 00000000ffffffff x17: ffff800093320000 x16: ffff80008aecb65c x15: ffff700014538f04 x14: 1ffff00014538f04 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700014538f04 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c9835b80 x7 : ffff8000824e6364 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008052b7e4 x2 : 0000000000000001 x1 : 0000000000160000 x0 : 000000000015f000 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+0xa48/0xd0c fs/btrfs/block-group.c:4557 close_ctree+0x644/0xb40 fs/btrfs/disk-io.c:4411 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:74 generic_shutdown_super+0x12c/0x2b8 fs/super.c:643 kill_anon_super+0x4c/0x7c fs/super.c:1280 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2095 deactivate_locked_super+0xc4/0x12c fs/super.c:474 deactivate_super+0xe0/0x100 fs/super.c:507 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1417 __cleanup_mnt+0x20/0x30 fs/namespace.c:1424 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+0x16c/0x1ec arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xb4/0x17c arch/arm64/kernel/entry-common.c:768 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 542912 hardirqs last enabled at (542911): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (542912): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511 softirqs last enabled at (541208): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (541206): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- XFS (loop0): Unmounting Filesystem c496e05e-540d-4c72-b591-04d79d8b4eeb