BTRFS info (device loop5): last unmount of filesystem d5f504dc-64f2-4937-974a-1016c0b420c7 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6904 at fs/btrfs/space-info.h:265 btrfs_space_info_update_bytes_may_use+0x354/0x6a4 fs/btrfs/space-info.h:-1 Modules linked in: CPU: 1 UID: 0 PID: 6904 Comm: syz-executor Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : btrfs_space_info_update_bytes_may_use+0x354/0x6a4 fs/btrfs/space-info.h:-1 lr : btrfs_space_info_update_bytes_may_use+0x350/0x6a4 fs/btrfs/space-info.h:265 sp : ffff8000a3087830 x29: ffff8000a3087850 x28: 1fffe0001f04e110 x27: dfff800000000000 x26: ffff80008f7be768 x25: 0000000000000002 x24: ffff000107ff3d10 x23: 0000000000000005 x22: 000000000015f000 x21: 0000000000160000 x20: ffff0000f8270880 x19: 0000000000000000 x18: 1fffe000337a0688 x17: ffff80008f7be000 x16: ffff80008b007230 x15: ffff700014610efc x14: 1ffff00014610efc x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700014610efc x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff000107ff3d00 x7 : ffff80008255b224 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000805355f0 x2 : 0000000000000001 x1 : 0000000000160000 x0 : 000000000015f000 Call trace: btrfs_space_info_update_bytes_may_use+0x354/0x6a4 fs/btrfs/space-info.h:-1 (P) btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:297 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:153 [inline] btrfs_block_rsv_release+0x3a4/0x490 fs/btrfs/block-rsv.c:292 btrfs_release_global_block_rsv+0x38/0x22c fs/btrfs/block-rsv.c:457 btrfs_free_block_groups+0xa4c/0xd10 fs/btrfs/block-group.c:4567 close_ctree+0x644/0x1130 fs/btrfs/disk-io.c:4424 btrfs_put_super+0x1ac/0x1c0 fs/btrfs/super.c:74 generic_shutdown_super+0x12c/0x2b8 fs/super.c:643 kill_anon_super+0x4c/0x7c fs/super.c:1282 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2114 deactivate_locked_super+0xc4/0x12c fs/super.c:474 deactivate_super+0xe0/0x100 fs/super.c:507 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1378 __cleanup_mnt+0x20/0x30 fs/namespace.c:1385 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x174/0x1f4 arch/arm64/kernel/entry-common.c:155 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:173 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:182 [inline] el0_svc+0xb8/0x180 arch/arm64/kernel/entry-common.c:880 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 193346 hardirqs last enabled at (193345): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (193346): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (190892): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (190890): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---