BTRFS info (device loop2): balance: start -s ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 5022 at fs/btrfs/block-group.c:2637 btrfs_create_pending_block_groups+0xe82/0x10a0 fs/btrfs/block-group.c:2637 Modules linked in: CPU: 1 PID: 5022 Comm: syz-executor.2 Not tainted 6.2.0-rc6-next-20230131-syzkaller-09515-g80bd9028feca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:btrfs_create_pending_block_groups+0xe82/0x10a0 fs/btrfs/block-group.c:2637 Code: 43 fe e9 43 fa ff ff 48 8b 7c 24 28 e8 d7 a0 43 fe e9 f9 fa ff ff e8 4d 9c f4 fd 44 89 e6 48 c7 c7 a0 45 97 8a e8 4e 37 bc fd <0f> 0b bd 01 00 00 00 e9 72 fc ff ff e8 cd a0 43 fe e9 2b f5 ff ff RSP: 0018:ffffc9000c1ef720 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 00000000ffffff01 RCX: ffffc9000da6a000 RDX: 0000000000040000 RSI: ffffffff81692aec RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 00000000ffffffe4 R13: ffff88808e963058 R14: dffffc0000000000 R15: ffff88808e963050 FS: 00007f9950138700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555563b0848 CR3: 000000001d89d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0xf9/0x920 fs/btrfs/transaction.c:1003 btrfs_inc_block_group_ro+0x237/0x550 fs/btrfs/block-group.c:2873 btrfs_relocate_block_group+0x21a/0xe50 fs/btrfs/relocation.c:4039 btrfs_relocate_chunk+0x14a/0x3e0 fs/btrfs/volumes.c:3253 __btrfs_balance fs/btrfs/volumes.c:3981 [inline] btrfs_balance+0x1e8f/0x40f0 fs/btrfs/volumes.c:4365 btrfs_ioctl_balance fs/btrfs/ioctl.c:3591 [inline] btrfs_ioctl+0xfb7/0x59b0 fs/btrfs/ioctl.c:4622 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f994f48c0c9 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:00007f9950138168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f994f5ac050 RCX: 00007f994f48c0c9 RDX: 0000000020000480 RSI: 00000000c4009420 RDI: 0000000000000005 RBP: 00007f994f4e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff78244dbf R14: 00007f9950138300 R15: 0000000000022000