BTRFS info (device loop2): enabling ssd optimizations BTRFS info (device loop2): auto enabling async discard BTRFS info (device loop2): balance: start -f -susage=257,vrange=0..9223372036854775809 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 12500 at fs/btrfs/block-group.c:2643 btrfs_create_pending_block_groups+0xe54/0x1130 fs/btrfs/block-group.c:2643 Modules linked in: CPU: 0 PID: 12500 Comm: syz-executor.2 Not tainted 6.4.0-syzkaller-10173-ga901a3568fd2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:btrfs_create_pending_block_groups+0xe54/0x1130 fs/btrfs/block-group.c:2643 Code: c2 3a bf fd 0f 0b c7 84 24 80 00 00 00 01 00 00 00 e9 e5 fc ff ff e8 0b e6 f7 fd 44 89 e6 48 c7 c7 80 b2 b7 8a e8 9c 3a bf fd <0f> 0b bd 01 00 00 00 e9 80 fd ff ff e8 bb 15 4b fe e9 b0 f8 ff ff RSP: 0018:ffffc900037df700 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 00000000ffffff01 RCX: ffffc9001270f000 RDX: 0000000000040000 RSI: ffffffff814c24f7 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 00000000000f5ea8 R12: 00000000ffffffe4 R13: ffff88803d4b2850 R14: dffffc0000000000 R15: ffff88803d4b2858 FS: 00007f4250a0b700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6b39e86970 CR3: 0000000021337000 CR4: 0000000000350ef0 Call Trace: __btrfs_end_transaction+0xf9/0x920 fs/btrfs/transaction.c:995 btrfs_inc_block_group_ro+0x474/0x610 fs/btrfs/block-group.c:2893 btrfs_relocate_block_group+0x21a/0xe60 fs/btrfs/relocation.c:4039 btrfs_relocate_chunk+0x14a/0x440 fs/btrfs/volumes.c:3283 __btrfs_balance fs/btrfs/volumes.c:4018 [inline] btrfs_balance+0x1e8f/0x4100 fs/btrfs/volumes.c:4402 btrfs_ioctl_balance fs/btrfs/ioctl.c:3604 [inline] btrfs_ioctl+0x12b7/0x5b50 fs/btrfs/ioctl.c:4637 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+0x19d/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:0x7f424fc8c389 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:00007f4250a0b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f424fdabf80 RCX: 00007f424fc8c389 RDX: 0000000020001200 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007f424fcd7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd80714e4f R14: 00007f4250a0b300 R15: 0000000000022000