BTRFS info (device loop4): last unmount of filesystem ed167579-eb65-4e76-9a50-61ac97e9b59d ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6556 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: 6556 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 : ffff8000a0837830 x29: ffff8000a0837850 x28: 1fffe0001a9c9010 x27: dfff800000000000 x26: ffff80008f7be768 x25: 0000000000000002 x24: ffff0000c8f63d10 x23: 0000000000000005 x22: 00000000000ff000 x21: 0000000000100000 x20: ffff0000d4e48080 x19: 0000000000000000 x18: 1fffe000337a0688 x17: ffff80008f7be000 x16: ffff80008b007230 x15: ffff700014106efc x14: 1ffff00014106efc x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700014106efc x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c8f63d00 x7 : ffff80008255b224 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000805355f0 x2 : 0000000000000001 x1 : 0000000000100000 x0 : 00000000000ff000 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: 573988 hardirqs last enabled at (573987): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (573988): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (572318): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (572318): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (572285): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---