BTRFS info (device loop0): doing ref verification BTRFS info (device loop0): using free space tree BTRFS info (device loop0): enabling ssd optimizations BTRFS info (device loop0): auto enabling async discard BTRFS info (device loop0): balance: start -f -susage=6,vrange=0..9223372036854775809 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 4994 at fs/btrfs/block-group.c:2610 btrfs_create_pending_block_groups+0x1015/0x1260 fs/btrfs/block-group.c:2610 Modules linked in: CPU: 0 PID: 4994 Comm: syz-executor960 Not tainted 6.4.0-rc5-syzkaller-00016-ga4d7d7011219 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:btrfs_create_pending_block_groups+0x1015/0x1260 fs/btrfs/block-group.c:2610 Code: 00 0f 2c 8b ba 39 0a 00 00 44 89 f9 e8 94 86 01 07 e9 26 f5 ff ff e8 6a 5c df fd 48 c7 c7 80 0e 2c 8b 44 89 fe e8 db db a6 fd <0f> 0b e9 d5 fe ff ff e8 4f 5c df fd 48 c7 c7 80 0e 2c 8b 44 89 e6 RSP: 0018:ffffc900039bf6e0 EFLAGS: 00010246 RAX: 16975f9793f65200 RBX: ffff88807384c001 RCX: ffff888028d68000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900039bf978 R08: ffffffff81530142 R09: fffff52000737e91 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff888015fde9c0 R14: dffffc0000000000 R15: 00000000ffffffe4 FS: 0000555555cde300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd8c82ae18 CR3: 00000000757bd000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0x150/0x640 fs/btrfs/transaction.c:997 btrfs_inc_block_group_ro+0x5ac/0x610 fs/btrfs/block-group.c:2860 btrfs_relocate_block_group+0x43b/0xd70 fs/btrfs/relocation.c:4039 btrfs_relocate_chunk+0x12c/0x3b0 fs/btrfs/volumes.c:3276 __btrfs_balance+0x1b06/0x2690 fs/btrfs/volumes.c:4011 btrfs_balance+0xbdb/0x1120 fs/btrfs/volumes.c:4395 btrfs_ioctl_balance+0x493/0x7c0 fs/btrfs/ioctl.c:3599 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcc053e5b09 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc08bb1b88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fcc053e5b09 RDX: 0000000020001200 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007fcc053a53a0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000050e7 R11: 0000000000000246 R12: 00007fcc053a5430 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000