BTRFS info (device loop3 state EA): last unmount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d ------------[ 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#1: syz-executor/6576 Modules linked in: CPU: 1 UID: 0 PID: 6576 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 : ffff80009c9f7820 x29: ffff80009c9f7840 x28: 1fffe0001b182310 x27: dfff800000000000 x26: ffff80008f86e7e8 x25: 0000000000000002 x24: ffff0000c2cf0010 x23: 0000000000000005 x22: 000000000015f000 x21: 0000000000160000 x20: ffff0000d8c11880 x19: 0000000000000000 x18: 1fffe00033781890 x17: ffff80008f86e000 x16: ffff800082e5c71c x15: ffff70001393eefc x14: 1ffff0001393eefc x13: 0000000000000004 x12: ffffffffffffffff x11: ffff70001393eefc x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c2cf0000 x7 : ffff8000825f0550 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800080544474 x2 : 0000000000000001 x1 : 0000000000160000 x0 : 000000000015f000 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: 232578 hardirqs last enabled at (232577): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (232578): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:412 softirqs last enabled at (231294): [] softirq_handle_end kernel/softirq.c:468 [inline] softirqs last enabled at (231294): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:650 softirqs last disabled at (231211): [] __do_softirq+0x14/0x20 kernel/softirq.c:656 ---[ end trace 0000000000000000 ]---