------------[ cut here ]------------ WARNING: CPU: 0 PID: 4334 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: 4334 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 : ffff800020ad76b0 x29: ffff800020ad76c0 x28: ffff0000ddb18158 x27: 1fffe0001941a010 x26: dfff800000000000 x25: ffff80001532d160 x24: 0000000000000001 x23: 0000000000000005 x22: 0000000000160000 x21: 000000000015f000 x20: ffff0000ca0d0080 x19: 0000000000000000 x18: 1fffe00033e7ff7e x17: ffff80001532d000 x16: ffff800011b3e320 x15: 0000000000000000 x14: ffff70000415aecc x13: 1ffff0000415aecc x12: 0000000000000004 x11: ff0080000a18c9c8 x10: 0000000000000000 x9 : ffff80000a18c9c8 x8 : ffff0000d632b800 x7 : ffff80000a18bad4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000082f2630 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: 1422702 hardirqs last enabled at (1422701): [] kasan_quarantine_put+0xc4/0x200 mm/kasan/quarantine.c:242 hardirqs last disabled at (1422702): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (1420416): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (1420416): [] handle_softirqs+0xb1c/0xc90 kernel/softirq.c:624 softirqs last disabled at (1420329): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]---