BTRFS critical (device loop5): entry offset 8523776, bytes 8253440, bitmap no BTRFS info (device loop5): block group has cluster?: no BTRFS info (device loop5): 1 blocks of free space at or bigger than bytes is ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6787 at fs/btrfs/volumes.c:3253 btrfs_remove_chunk+0x1322/0x1840 fs/btrfs/volumes.c:3253 Modules linked in: CPU: 0 PID: 6787 Comm: syz.5.439 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:btrfs_remove_chunk+0x1322/0x1840 fs/btrfs/volumes.c:3253 Code: e9 5b fb ff ff e8 de d5 2f fe 0f 1f 44 00 00 e8 d4 d5 2f fe eb 16 e8 cd d5 2f fe 48 c7 c7 c0 7c 4b 8a 44 89 f6 e8 8e bb 4e 06 <0f> 0b 4c 89 e7 48 c7 c6 20 80 4b 8a ba b5 0c 00 00 e9 20 fb ff ff RSP: 0018:ffffc9000330f8c0 EFLAGS: 00010246 RAX: 1ea6b8ce4f5e3100 RBX: ffff888051188001 RCX: 0000000000080000 RDX: ffffc9000fbb1000 RSI: 000000000007af7e RDI: 000000000007af7f RBP: ffffc9000330fa70 R08: dffffc0000000000 R09: ffffed1017204f24 R10: ffffed1017204f24 R11: 1ffff11017204f23 R12: ffff888073f2ddc0 R13: dffffc0000000000 R14: ffffffffffffffe4 R15: 1ffff11003b64540 FS: 00007f906f5f06c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe4e03dad38 CR3: 00000000546cb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_delete_unused_bgs+0x822/0x8d0 fs/btrfs/block-group.c:1432 btrfs_remount+0xe80/0x15b0 fs/btrfs/super.c:2000 reconfigure_super+0x219/0x880 fs/super.c:938 do_remount fs/namespace.c:2666 [inline] path_mount+0xd3e/0x1020 fs/namespace.c:3332 do_mount fs/namespace.c:3353 [inline] __do_sys_mount fs/namespace.c:3561 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3538 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f90717a9929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f906f5f0038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f90719d1080 RCX: 00007f90717a9929 RDX: 0000000000000000 RSI: 0000200000000100 RDI: 0000000000000000 RBP: 00007f907182bb39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000021 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f90719d1080 R15: 00007ffde144bf88