BTRFS info (device loop2): balance: start -f -s ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 11782 at fs/btrfs/block-group.c:2693 btrfs_create_pending_block_groups+0xf2d/0x11c0 fs/btrfs/block-group.c:2693 Modules linked in: CPU: 1 PID: 11782 Comm: syz-executor315 Not tainted 6.5.0-next-20230831-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:btrfs_create_pending_block_groups+0xf2d/0x11c0 fs/btrfs/block-group.c:2693 Code: f8 ff ff e8 15 e5 44 fe e9 90 f8 ff ff e8 0b e5 44 fe e9 6c f8 ff ff e8 a1 23 ef fd 89 de 48 c7 c7 a0 e8 d8 8a e8 93 44 b5 fd <0f> 0b e9 20 ff ff ff e8 c7 e4 44 fe e9 f6 f9 ff ff 48 89 df e8 da RSP: 0018:ffffc9000bc176c0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 00000000ffffffe4 RCX: 0000000000000000 RDX: ffff8880202b1dc0 RSI: ffffffff814e0186 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880782171c0 R13: ffff888078217000 R14: ffff888078217050 R15: dffffc0000000000 FS: 00007f334708e6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f86922a5ba8 CR3: 00000000285f6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0xf1/0x930 fs/btrfs/transaction.c:1018 btrfs_inc_block_group_ro+0x44f/0x610 fs/btrfs/block-group.c:2947 btrfs_relocate_block_group+0x216/0xd90 fs/btrfs/relocation.c:4077 btrfs_relocate_chunk+0x143/0x440 fs/btrfs/volumes.c:3276 __btrfs_balance fs/btrfs/volumes.c:4011 [inline] btrfs_balance+0x20fc/0x3ef0 fs/btrfs/volumes.c:4388 btrfs_ioctl_balance fs/btrfs/ioctl.c:3604 [inline] btrfs_ioctl+0x1362/0x5cf0 fs/btrfs/ioctl.c:4637 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f334e4fe8f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 1f 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f334708e218 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f334e58a4b8 RCX: 00007f334e4fe8f9 RDX: 0000000020001200 RSI: 00000000c4009420 RDI: 0000000000000005 RBP: 00007f334e58a4b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f334e550570 R13: 0030656c69662f2e R14: 0000000100004000 R15: 7ffffffffffffffd