BTRFS info (device loop5 state EA): last unmount of filesystem e0cb6322-611b-4325-acdf-015f79de3787 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6789 at fs/btrfs/space-info.h:250 btrfs_space_info_update_bytes_may_use+0x344/0x724 Modules linked in: CPU: 1 UID: 0 PID: 6789 Comm: syz-executor Not tainted 6.13.0-rc2-syzkaller-gfac04efc5c79 #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+0x344/0x724 lr : btrfs_space_info_update_bytes_may_use+0x340/0x724 sp : ffff8000a41c7810 x29: ffff8000a41c7830 x28: 1fffe0001a89de0d x27: dfff800000000000 x26: ffff80008f97d600 x25: 0000000000000002 x24: ffff0000d6378010 x23: 0000000000000005 x22: 000000000015f000 x21: 0000000000160000 x20: ffff0000d44ef068 x19: 0000000000000000 x18: 1fffe000366c5a7e x17: ffff80008f97d000 x16: ffff80008326d65c x15: ffff700014838ef8 x14: 1ffff00014838ef8 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700014838ef8 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d6378000 x7 : ffff8000826202a4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008047a2bc x2 : ffffffffffea0000 x1 : 0000000000160000 x0 : 000000000015f000 Call trace: btrfs_space_info_update_bytes_may_use+0x344/0x724 (P) btrfs_space_info_update_bytes_may_use+0x340/0x724 (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+0x628/0xb44 fs/btrfs/disk-io.c:4376 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:74 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:2112 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: 151614 hardirqs last enabled at (151613): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (151614): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (150876): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (150876): [] handle_softirqs+0xb44/0xd34 kernel/softirq.c:582 softirqs last disabled at (150839): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---