BTRFS info (device loop0 state EA): last unmount of filesystem e417788f-7a09-42b2-9266-8ddc5d5d35d2 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6537 at fs/btrfs/space-info.h:208 btrfs_space_info_update_bytes_may_use+0x2e0/0x734 Modules linked in: CPU: 1 PID: 6537 Comm: syz-executor.0 Not tainted 6.10.0-rc5-syzkaller-00071-g8fcad59bb267 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_space_info_update_bytes_may_use+0x2e0/0x734 lr : btrfs_space_info_update_bytes_may_use+0x2dc/0x734 sp : ffff800099287820 x29: ffff800099287830 x28: 0000000000000000 x27: 1fffe0001a7c0e0c x26: dfff800000000000 x25: ffff80008f19d568 x24: 0000000000000002 x23: 0000000000000005 x22: 000000000015f000 x21: 0000000000160000 x20: ffff0000d3e07060 x19: 0000000000000000 x18: ffff800099287540 x17: 00000000000184d1 x16: ffff800082fc84d0 x15: ffff700013250ef8 x14: 1ffff00013250ef8 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700013250ef8 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d97c8000 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff800092caeee0 x4 : 0000000000000008 x3 : ffff800080351664 x2 : ffffffffffea0000 x1 : 0000000000160000 x0 : 000000000015f000 Call trace: btrfs_space_info_update_bytes_may_use+0x2e0/0x734 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:240 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:153 [inline] btrfs_block_rsv_release+0x414/0x4ec fs/btrfs/block-rsv.c:294 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:450 btrfs_free_block_groups+0xa88/0xe4c fs/btrfs/block-group.c:4431 close_ctree+0x604/0xb20 fs/btrfs/disk-io.c:4381 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:73 generic_shutdown_super+0x128/0x2b8 fs/super.c:642 kill_anon_super+0x4c/0x7c fs/super.c:1226 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2096 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1267 __cleanup_mnt+0x20/0x30 fs/namespace.c:1274 task_work_run+0x230/0x2e0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 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+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 162560 hardirqs last enabled at (162559): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (162560): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (161244): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (161244): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (161149): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---