BTRFS info (device loop2): balance: start -s ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 15675 at fs/btrfs/block-group.c:2488 btrfs_create_pending_block_groups+0x1041/0x1110 Modules linked in: CPU: 1 PID: 15675 Comm: syz-executor.2 Not tainted 6.2.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:btrfs_create_pending_block_groups+0x1041/0x1110 Code: b2 f3 ff ff be 08 00 00 00 48 89 df e8 68 78 33 fe e9 a0 f3 ff ff e8 6e 24 df fd 48 c7 c7 80 b7 2c 8b 44 89 e6 e8 6f 0b a7 fd <0f> 0b e9 17 ff ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 93 f5 RSP: 0018:ffffc90015bff6e0 EFLAGS: 00010246 RAX: eced425e79a4c500 RBX: 0000000000000000 RCX: ffff888029c59d40 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90015bff970 R08: ffffffff816dcafc R09: fffff52002b7fe95 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000ffffffe4 R13: ffff88802e9be058 R14: dffffc0000000000 R15: 1ffff11005d37c0a FS: 00007fce115fe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bb1246ba98 CR3: 000000001d598000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0x150/0x640 btrfs_inc_block_group_ro+0x537/0x5a0 btrfs_relocate_block_group+0x43b/0xd70 btrfs_relocate_chunk+0x12c/0x350 __btrfs_balance+0x1a76/0x2600 btrfs_balance+0xbdf/0x1120 btrfs_ioctl_balance+0x493/0x7c0 __se_sys_ioctl+0xf1/0x160 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fce19e8c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007fce115fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fce19fac050 RCX: 00007fce19e8c0c9 RDX: 0000000020000480 RSI: 00000000c4009420 RDI: 0000000000000005 RBP: 00007fce19ee7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb38e344f R14: 00007fce115fe300 R15: 0000000000022000