BTRFS critical (device loop5): entry offset 1056768, bytes 4186112, bitmap no BTRFS info (device loop5): block group has cluster?: no BTRFS info (device loop5): 0 blocks of free space at or bigger than bytes is ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7474 at fs/btrfs/block-group.c:2443 btrfs_create_pending_block_groups+0xf0a/0x1130 fs/btrfs/block-group.c:2443 Modules linked in: CPU: 0 PID: 7474 Comm: syz.5.918 Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:btrfs_create_pending_block_groups+0xf0a/0x1130 fs/btrfs/block-group.c:2443 Code: e1 f1 fd 4c 8b 34 24 49 89 dc 0f 1f 44 00 00 e8 bc e1 f1 fd eb 16 e8 b5 e1 f1 fd 48 c7 c7 60 20 ed 8a 44 89 fe e8 b6 76 bd fd <0f> 0b 48 8b 7c 24 10 48 c7 c6 e0 20 ed 8a ba 8b 09 00 00 44 89 f9 RSP: 0018:ffffc900038a7740 EFLAGS: 00010246 RAX: 5882f33e8062ed00 RBX: ffff888028358000 RCX: 0000000000080000 RDX: ffffc900039a1000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900038a7978 R08: ffffffff8166be4c R09: fffff52000714e29 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888028358000 R13: dffffc0000000000 R14: ffff8880283581b0 R15: 00000000ffffffe4 FS: 00007f8c6903d6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055dec3d1b5b0 CR3: 0000000079649000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0x296/0x780 fs/btrfs/transaction.c:1016 btrfs_inc_block_group_ro+0x583/0x5f0 fs/btrfs/block-group.c:2660 btrfs_relocate_block_group+0x3ec/0xcb0 fs/btrfs/relocation.c:4041 btrfs_relocate_chunk+0xac/0x270 fs/btrfs/volumes.c:3332 __btrfs_balance+0x185e/0x27c0 fs/btrfs/volumes.c:4073 btrfs_balance+0xd40/0x14a0 fs/btrfs/volumes.c:4463 btrfs_ioctl_balance+0x643/0x7d0 fs/btrfs/ioctl.c:4152 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f8c6b1d4169 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:00007f8c6903d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8c6b3ecfa0 RCX: 00007f8c6b1d4169 RDX: 0000400000000780 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007f8c6b2552a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8c6b3ecfa0 R15: 00007ffe2d694428