------------[ cut here ]------------ WARNING: CPU: 0 PID: 4331 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: 4331 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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 : ffff800021b076b0 x29: ffff800021b076c0 x28: ffff0000f4878158 x27: 1fffe000185e6d10 x26: dfff800000000000 x25: ffff8000163dd160 x24: 0000000000000001 x23: 0000000000000005 x22: 0000000000160000 x21: 000000000015f000 x20: ffff0000c2f36880 x19: 0000000000000000 x18: 1fffe00033c2177e x17: ffff800187dd5000 x16: ffff800011ba16d0 x15: 000000000004ffff x14: ffff700004360ecc x13: 1ffff00004360ecc x12: 0000000000000004 x11: ff0080000a19763c x10: 0000000000000000 x9 : ffff80000a19763c x8 : ffff0000d9c51c00 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff8000197f52d8 x4 : 0000000000000008 x3 : ffff8000082f5548 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:486 btrfs_free_block_groups+0x904/0xaec fs/btrfs/block-group.c:4271 close_ctree+0x60c/0xa84 fs/btrfs/disk-io.c:4784 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:1139 btrfs_kill_super+0x44/0x5c fs/btrfs/super.c:2449 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:1166 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+0x9c/0x12c 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:589 irq event stamp: 720730 hardirqs last enabled at (720729): [] kasan_quarantine_put+0xc4/0x200 mm/kasan/quarantine.c:240 hardirqs last disabled at (720730): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (718580): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (718578): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---