BTRFS info (device loop5): first mount of filesystem e417788f-7a09-42b2-9266-8ddc5d5d35d2 BTRFS info (device loop5): using xxhash64 (xxhash64-generic) checksum algorithm BTRFS info (device loop5): using free-space-tree BTRFS info (device loop5): balance: start -susage=34359738372,drange=7..526332,limit=0..6 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: fs/btrfs/block-group.c:2781 at btrfs_create_pending_block_groups+0x1150/0x1780 fs/btrfs/block-group.c:2781, CPU#0: syz.5.473/7983 Modules linked in: CPU: 0 UID: 0 PID: 7983 Comm: syz.5.473 Not tainted 6.16.0-rc4-next-20250703-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:btrfs_create_pending_block_groups+0x1150/0x1780 fs/btrfs/block-group.c:2781 Code: 00 e8 64 dc bb fd 84 c0 74 29 e8 1b f0 d4 fd e9 fd 01 00 00 e8 11 f0 d4 fd 90 48 c7 c7 80 db cf 8b 44 89 f6 e8 11 c0 98 fd 90 <0f> 0b 90 90 e9 e5 fd ff ff e8 c2 97 84 07 41 89 c7 31 ff 89 c6 e8 RSP: 0018:ffffc900035176e0 EFLAGS: 00010246 RAX: 5cdf19ef34610500 RBX: ffff888061c84001 RCX: 0000000000080000 RDX: ffffc90004ae1000 RSI: 000000000000e2d9 RDI: 000000000000e2da RBP: ffffc90003517958 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bfa430 R12: 0000000000000000 R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff88807c0c2000 FS: 00007f7e87bdf6c0(0000) GS:ffff888125c1e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f60c0788000 CR3: 0000000030664000 CR4: 00000000003526f0 Call Trace: __btrfs_end_transaction+0x140/0x640 fs/btrfs/transaction.c:1071 btrfs_inc_block_group_ro+0x641/0x6f0 fs/btrfs/block-group.c:3077 btrfs_relocate_block_group+0x3b0/0xbd0 fs/btrfs/relocation.c:3970 btrfs_relocate_chunk+0x12a/0x5c0 fs/btrfs/volumes.c:3445 __btrfs_balance+0x185e/0x23e0 fs/btrfs/volumes.c:4220 btrfs_balance+0xac2/0x11b0 fs/btrfs/volumes.c:4597 btrfs_ioctl_balance+0x3d3/0x610 fs/btrfs/ioctl.c:3579 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7e86d8e929 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:00007f7e87bdf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7e86fb5fa0 RCX: 00007f7e86d8e929 RDX: 0000200000000440 RSI: 00000000c4009420 RDI: 0000000000000003 RBP: 00007f7e86e10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7e86fb5fa0 R15: 00007ffd386a1308