BTRFS critical (device loop7): entry offset 5365760, bytes 1515520, bitmap no BTRFS info (device loop7): block group has cluster?: no BTRFS info (device loop7): 5 blocks of free space at or bigger than bytes is BTRFS info (device loop7): block group 6881280 has 1638400 bytes, 0 used 0 pinned 0 reserved 0 zone_unusable BTRFS critical (device loop7): entry offset 6881280, bytes 1638400, bitmap no BTRFS info (device loop7): block group has cluster?: no BTRFS info (device loop7): 1 blocks of free space at or bigger than bytes is ------------[ cut here ]------------ WARNING: CPU: 0 PID: 17480 at fs/btrfs/block-group.c:2539 btrfs_create_pending_block_groups+0xd53/0xf40 fs/btrfs/block-group.c:2539 Modules linked in: CPU: 0 PID: 17480 Comm: syz.7.3018 Not tainted 6.1.143-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:btrfs_create_pending_block_groups+0xd53/0xf40 fs/btrfs/block-group.c:2539 Code: 20 b0 d1 8a ba f2 09 00 00 44 89 e1 e8 88 8a 89 06 e9 42 f7 ff ff e8 0c f3 fb fd 48 c7 c7 a0 af d1 8a 44 89 e6 e8 9d 04 c8 fd <0f> 0b e9 43 fe ff ff e8 f1 f2 fb fd 48 c7 c7 a0 af d1 8a 44 89 ee RSP: 0018:ffffc90003e97740 EFLAGS: 00010246 RAX: 7500107e6c3f3500 RBX: 1ffff11005f8f40b RCX: 0000000000080000 RDX: ffffc90005e19000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc90003e97988 R08: dffffc0000000000 R09: fffff520007d2e79 R10: fffff520007d2e79 R11: 1ffff920007d2e78 R12: 00000000ffffffe4 R13: 0000000000000000 R14: ffff88802fc7a058 R15: ffff888078af0001 FS: 00007ff3383da6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c42e6b1 CR3: 0000000076718000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0x154/0x690 fs/btrfs/transaction.c:1012 btrfs_inc_block_group_ro+0x62b/0x700 fs/btrfs/block-group.c:2803 btrfs_relocate_block_group+0x450/0xd70 fs/btrfs/relocation.c:4052 btrfs_relocate_chunk+0x126/0x3b0 fs/btrfs/volumes.c:3350 __btrfs_balance+0x1894/0x21e0 fs/btrfs/volumes.c:4098 btrfs_balance+0xcad/0x11b0 fs/btrfs/volumes.c:4474 btrfs_ioctl_balance+0x49f/0x720 fs/btrfs/ioctl.c:4531 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff33758e929 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:00007ff3383da038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ff3377b5fa0 RCX: 00007ff33758e929 RDX: 0000200000000440 RSI: 00000000c4009420 RDI: 0000000000000003 RBP: 00007ff337610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff3377b5fa0 R15: 00007fff8327d4a8