BTRFS info (device loop0): 6 blocks of free space at or bigger than bytes is BTRFS info (device loop0): block group 6881280 has 1638400 bytes, 0 used 0 pinned 0 reserved 0 zone_unusable BTRFS critical (device loop0): entry offset 6881280, bytes 1638400, bitmap no BTRFS info (device loop0): block group has cluster?: no BTRFS info (device loop0): 1 blocks of free space at or bigger than bytes is ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4244 at fs/btrfs/block-group.c:2535 btrfs_create_pending_block_groups+0x1039/0x12b0 fs/btrfs/block-group.c:2535 Modules linked in: CPU: 0 PID: 4244 Comm: syz-executor322 Not tainted 6.1.124-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:btrfs_create_pending_block_groups+0x1039/0x12b0 fs/btrfs/block-group.c:2535 Code: ba ee 09 00 00 44 89 f9 e8 4b 74 f7 06 4c 8b 6c 24 10 e9 49 f5 ff ff e8 25 5c d1 fd 48 c7 c7 c0 28 51 8b 89 de e8 d7 75 99 fd <0f> 0b e9 56 ff ff ff e8 0b 5c d1 fd 48 c7 c7 c0 28 51 8b 44 89 e6 RSP: 0018:ffffc90003b676c0 EFLAGS: 00010246 RAX: ff1df15345cf8900 RBX: 00000000ffffffe4 RCX: ffff888018a65940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003b67950 R08: ffffffff8152b84e R09: ffffed10171c4f1c R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88814d203058 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888079b14001 FS: 0000555578cd9380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc10f2c2723 CR3: 000000007f5ff000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0x2be/0x7b0 fs/btrfs/transaction.c:1010 btrfs_inc_block_group_ro+0x644/0x6f0 fs/btrfs/block-group.c:2799 btrfs_relocate_block_group+0x439/0xd70 fs/btrfs/relocation.c:4046 btrfs_relocate_chunk+0x128/0x3b0 fs/btrfs/volumes.c:3344 __btrfs_balance+0x1c16/0x27d0 fs/btrfs/volumes.c:4092 btrfs_balance+0xbd4/0x10c0 fs/btrfs/volumes.c:4468 btrfs_ioctl_balance+0x493/0x7c0 fs/btrfs/ioctl.c:4531 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff6148879c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc90b24518 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffc90b246e8 RCX: 00007ff6148879c9 RDX: 0000000020000500 RSI: 00000000c4009420 RDI: 0000000000000003 RBP: 00007ff6148ff610 R08: 00000000000051a5 R09: 00007ffc90b246e8 R10: 00007ffc90b243d0 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc90b246d8 R14: 0000000000000001 R15: 0000000000000001