------------[ cut here ]------------ WARNING: CPU: 0 PID: 4328 at fs/btrfs/space-info.h:191 btrfs_space_info_update_bytes_may_use+0x2f0/0x774 fs/btrfs/space-info.h:-1 Modules linked in: CPU: 0 PID: 4328 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/02/2026 pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : btrfs_space_info_update_bytes_may_use+0x2f0/0x774 fs/btrfs/space-info.h:-1 lr : btrfs_space_info_update_bytes_may_use+0x2ec/0x774 fs/btrfs/space-info.h:191 sp : ffff800020aa76b0 x29: ffff800020aa76c0 x28: ffff0000f7af8158 x27: 1fffe0001bd90f10 x26: dfff800000000000 x25: ffff80001537d160 x24: 0000000000000001 x23: 0000000000000005 x22: 0000000000160000 x21: 000000000015f000 x20: ffff0000dec87880 x19: 0000000000000000 x18: 1fffe00033e7277e x17: ffff80001537d000 x16: ffff800011b8ee98 x15: 0000000000000000 x14: ffff700004154ecc x13: 1ffff00004154ecc x12: 0000000000000004 x11: ff0080000a1da56c x10: 0000000000000000 x9 : ffff80000a1da56c x8 : ffff0000d5ae3800 x7 : ffff80000a1d9678 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000082f265c x2 : ffffffffffea0000 x1 : 0000000000160000 x0 : 000000000015f000 Call trace: btrfs_space_info_update_bytes_may_use+0x2f0/0x774 fs/btrfs/space-info.h:-1 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:224 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:152 [inline] btrfs_block_rsv_release+0x398/0x464 fs/btrfs/block-rsv.c:296 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:471 btrfs_free_block_groups+0x904/0xaec fs/btrfs/block-group.c:4268 close_ctree+0x60c/0xa84 fs/btrfs/disk-io.c:4780 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:397 generic_shutdown_super+0x138/0x32c fs/super.c:501 kill_anon_super+0x4c/0x80 fs/super.c:1128 btrfs_kill_super+0x44/0x5c fs/btrfs/super.c:2448 deactivate_locked_super+0xb4/0x128 fs/super.c:332 deactivate_super+0xe4/0x104 fs/super.c:363 cleanup_mnt+0x3a8/0x430 fs/namespace.c:1191 __cleanup_mnt+0x20/0x30 fs/namespace.c:1198 task_work_run+0x1f4/0x280 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x20f8/0x2c84 arch/arm64/kernel/signal.c:1151 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x128 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 465102 hardirqs last enabled at (465101): [] kasan_quarantine_put+0xc4/0x200 mm/kasan/quarantine.c:242 hardirqs last disabled at (465102): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (463790): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (463788): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---