------------[ cut here ]------------ 1 WARNING: fs/btrfs/space-info.h:282 at btrfs_space_info_update_bytes_may_use fs/btrfs/space-info.h:282 [inline], CPU#1: syz-executor/5635 WARNING: fs/btrfs/space-info.h:282 at btrfs_space_info_update_bytes_may_use+0x4cc/0x660 fs/btrfs/space-info.h:282, CPU#1: syz-executor/5635 Modules linked in: CPU: 1 UID: 0 PID: 5635 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:btrfs_space_info_update_bytes_may_use fs/btrfs/space-info.h:282 [inline] RIP: 0010:btrfs_space_info_update_bytes_may_use+0x4cc/0x660 fs/btrfs/space-info.h:282 Code: e9 54 fc ff ff e8 44 4c 75 fd 49 89 ee 4c 89 e6 49 f7 de 4c 89 f7 e8 13 46 75 fd 4d 39 f4 0f 83 d0 fc ff ff e8 25 4c 75 fd 90 <0f> 0b 90 31 ed e9 c8 fc ff ff e8 15 4c 75 fd 48 8d 7b 38 be ff ff RSP: 0018:ffffc90003cbfae0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880529b5000 RCX: 0000000000000001 RDX: ffff888079c5ddc0 RSI: ffffffff849924bb RDI: 0000000000000006 RBP: ffffffffffea0000 R08: 0000000000160000 R09: 000000000015f000 R10: ffffffff926b495f R11: 0000000000000001 R12: 000000000015f000 R13: ffff8880529b5080 R14: 0000000000160000 R15: ffff8880529b5000 FS: 000055558954c500(0000) GS:ffff888122561000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f91949f9158 CR3: 000000005a652000 CR4: 0000000000350ef0 Call Trace: btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:319 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:149 [inline] btrfs_block_rsv_release+0x4a3/0x5f0 fs/btrfs/block-rsv.c:285 btrfs_release_global_block_rsv+0x26/0x3b0 fs/btrfs/block-rsv.c:471 btrfs_free_block_groups+0xba0/0x1350 fs/btrfs/block-group.c:4444 close_ctree+0xf0d/0xf8d fs/btrfs/disk-io.c:4630 generic_shutdown_super+0x16d/0x370 fs/super.c:723 kill_anon_super+0x3a/0x60 fs/super.c:1315 btrfs_kill_super+0x3b/0x50 fs/btrfs/super.c:2139 deactivate_locked_super+0xbd/0x130 fs/super.c:558 deactivate_super fs/super.c:586 [inline] deactivate_super+0xea/0x110 fs/super.c:582 cleanup_mnt+0xb7/0x160 fs/namespace.c:1396 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x661/0x7b0 arch/x86/entry/syscall_64.c:107 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fde8c9aa7c7 Code: a2 c7 05 2c 4f 25 00 00 00 00 00 eb 96 e8 b1 13 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffed1227258 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fde8c9aa7c7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffed1227310 RBP: 00007ffed1227310 R08: 00007ffed1228310 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffed12283a0 R13: 00007fde8ca3751b R14: 0000000000042d50 R15: 00007ffed12283e0