BTRFS info (device loop1): last unmount of filesystem ed167579-eb65-4e76-9a50-61ac97e9b59d ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5819 at fs/btrfs/space-info.h:265 btrfs_space_info_update_bytes_may_use+0x35a/0x640 fs/btrfs/space-info.h:265 Modules linked in: CPU: 0 UID: 0 PID: 5819 Comm: syz-executor Not tainted 6.16.0-rc4-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:btrfs_space_info_update_bytes_may_use+0x35a/0x640 fs/btrfs/space-info.h:265 Code: 00 00 74 08 4c 89 ff e8 f4 5b 3d fe 4d 8b 27 4c 89 e7 48 8b 6c 24 18 48 89 ee e8 31 06 dc fd 49 39 ec 73 1c e8 c7 03 dc fd 90 <0f> 0b 90 31 db 43 80 7c 35 00 00 0f 85 2e ff ff ff e9 31 ff ff ff RSP: 0000:ffffc9000412fa10 EFLAGS: 00010293 RAX: ffffffff83e449c9 RBX: fffffffffff00000 RCX: ffff88802ed1bc00 RDX: 0000000000000000 RSI: 0000000000100000 RDI: 00000000000f5000 RBP: 0000000000100000 R08: ffffffff8f9fdaf7 R09: 1ffffffff1f3fb5e R10: dffffc0000000000 R11: fffffbfff1f3fb5f R12: 00000000000f5000 R13: 1ffff11004b73310 R14: dffffc0000000000 R15: ffff888025b99880 FS: 0000555592f86500(0000) GS:ffff888125c84000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4e03259000 CR3: 0000000033d04000 CR4: 00000000003526f0 Call Trace: 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+0x4b3/0x5e0 fs/btrfs/block-rsv.c:292 btrfs_release_global_block_rsv+0x33/0x270 fs/btrfs/block-rsv.c:457 btrfs_free_block_groups+0xc2c/0xf40 fs/btrfs/block-group.c:4557 close_ctree+0x7f0/0xd60 fs/btrfs/disk-io.c:4426 generic_shutdown_super+0x135/0x2c0 fs/super.c:643 kill_anon_super+0x3b/0x70 fs/super.c:1282 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2095 deactivate_locked_super+0xb9/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1417 task_work_run+0x1d4/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xec/0x110 kernel/entry/common.c:114 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3a2c18fc57 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 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 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fff64fd9698 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f3a2c210925 RCX: 00007f3a2c18fc57 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff64fd9750 RBP: 00007fff64fd9750 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff64fda7e0 R13: 00007f3a2c210925 R14: 0000000000036a32 R15: 00007fff64fda820