BTRFS info (device loop4): last unmount of filesystem e417788f-7a09-42b2-9266-8ddc5d5d35d2 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6487 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: 6487 Comm: syz-executor Not tainted 6.16.0-rc1-syzkaller-g19272b37aa4f #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 : ffff80009b8c7870 x29: ffff80009b8c7890 x28: 1fffe0001a550d10 x27: dfff800000000000 x26: ffff80008f55e768 x25: 0000000000000001 x24: ffff0000c98f5b90 x23: 0000000000000005 x22: 000000000015f000 x21: 0000000000160000 x20: ffff0000d2a86880 x19: 0000000000000000 x18: 1fffe00033802c76 x17: ffff80008f55e000 x16: ffff80008ae5617c x15: ffff700013718f04 x14: 1ffff00013718f04 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700013718f04 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c98f5b80 x7 : ffff8000824d5bc8 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800080527fe4 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: 265962 hardirqs last enabled at (265961): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (265962): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511 softirqs last enabled at (265532): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (265532): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (265455): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---