BTRFS info (device loop4 state EA): last unmount of filesystem 4ae23210-5c14-4f8c-ba7c-0051a777144d ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6425 at fs/btrfs/space-info.h:250 btrfs_space_info_update_bytes_may_use+0x2e0/0x734 Modules linked in: CPU: 0 UID: 0 PID: 6425 Comm: syz-executor Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 : ffff8000a3a57820 x29: ffff8000a3a57830 x28: 0000000000000000 x27: 1fffe00019b7820d x26: dfff800000000000 x25: ffff80008f8cd5c0 x24: 0000000000000001 x23: 0000000000000005 x22: 000000000015f000 x21: 0000000000160000 x20: ffff0000cdbc1068 x19: 0000000000000000 x18: 1fffe000366c3876 x17: ffff80008f8cd000 x16: ffff8000831615b0 x15: ffff70001474aef8 x14: 1ffff0001474aef8 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff70001474aef8 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d8a1dac0 x7 : ffff800082546558 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008036ed5c x2 : ffffffffffea0000 x1 : 0000000000160000 x0 : 000000000015f000 Call trace: btrfs_space_info_update_bytes_may_use+0x2e0/0x734 (P) btrfs_space_info_update_bytes_may_use+0x2dc/0x734 (L) btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:283 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:153 [inline] btrfs_block_rsv_release+0x3d8/0x4b0 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:4472 close_ctree+0x61c/0xb3c fs/btrfs/disk-io.c:4378 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:75 generic_shutdown_super+0x12c/0x2bc fs/super.c:642 kill_anon_super+0x4c/0x7c fs/super.c:1237 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2114 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380 task_work_run+0x230/0x2e0 kernel/task_work.c:239 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:745 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 501032 hardirqs last enabled at (501031): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (501032): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (500454): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (500454): [] handle_softirqs+0xa38/0xbf8 kernel/softirq.c:582 softirqs last disabled at (499991): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---