BTRFS info (device loop3): last unmount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf ------------[ cut here ]------------ WARNING: fs/btrfs/space-info.h:257 at btrfs_space_info_update_bytes_may_use+0x2b8/0x69c fs/btrfs/space-info.h:-1, CPU#0: syz-executor/6573 Modules linked in: CPU: 0 UID: 0 PID: 6573 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+0x2b8/0x69c fs/btrfs/space-info.h:-1 lr : btrfs_space_info_update_bytes_may_use+0x2b4/0x69c fs/btrfs/space-info.h:257 sp : ffff8000a4417820 x29: ffff8000a4417840 x28: 1fffe0001a67d410 x27: dfff800000000000 x26: ffff80008f86e828 x25: 0000000000000001 x24: ffff0000cf675590 x23: 0000000000000005 x22: 000000000015e000 x21: 0000000000160000 x20: ffff0000d33ea080 x19: 0000000000000000 x18: 1fffe0003377d090 x17: ffff80008f86e000 x16: ffff800082e5e68c x15: ffff700014882efc x14: 1ffff00014882efc x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700014882efc x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000cf675580 x7 : ffff8000825f1f7c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000805449ec x2 : 0000000000000001 x1 : 0000000000160000 x0 : 000000000015e000 Call trace: btrfs_space_info_update_bytes_may_use+0x2b8/0x69c fs/btrfs/space-info.h:-1 (P) btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:294 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:153 [inline] btrfs_block_rsv_release+0x3a4/0x478 fs/btrfs/block-rsv.c:290 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:455 btrfs_free_block_groups+0xaa8/0xd5c fs/btrfs/block-group.c:4579 close_ctree+0x64c/0x1138 fs/btrfs/disk-io.c:4410 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:1289 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2129 deactivate_locked_super+0xc4/0x12c fs/super.c:474 deactivate_super+0xe0/0x100 fs/super.c:507 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1318 __cleanup_mnt+0x20/0x30 fs/namespace.c:1325 task_work_run+0x1dc/0x260 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:44 [inline] exit_to_user_mode_loop+0x10c/0x18c kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] exit_to_user_mode_prepare_legacy include/linux/irq-entry-common.h:242 [inline] arm64_exit_to_user_mode arch/arm64/kernel/entry-common.c:81 [inline] el0_svc+0x17c/0x26c arch/arm64/kernel/entry-common.c:725 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 1020082 hardirqs last enabled at (1020081): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (1020082): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:412 softirqs last enabled at (1018530): [] softirq_handle_end kernel/softirq.c:468 [inline] softirqs last enabled at (1018530): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:650 softirqs last disabled at (1017627): [] __do_softirq+0x14/0x20 kernel/softirq.c:656 ---[ end trace 0000000000000000 ]---