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: 5040 at fs/btrfs/block-group.c:2686 btrfs_create_pending_block_groups+0xec7/0x11c0 fs/btrfs/block-group.c:2686 Modules linked in: CPU: 0 PID: 5040 Comm: syz-executor955 Not tainted 6.5.0-rc5-next-20230809-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:btrfs_create_pending_block_groups+0xec7/0x11c0 fs/btrfs/block-group.c:2686 Code: fd 44 89 f6 48 c7 c7 80 ab b8 8a e8 13 74 b6 fd 0f 0b e9 88 fe ff ff e8 67 3c f0 fd 89 de 48 c7 c7 80 ab b8 8a e8 f9 73 b6 fd <0f> 0b e9 3d fe ff ff e8 4d 79 45 fe e9 61 f8 ff ff e8 43 79 45 fe RSP: 0018:ffffc90003c8f6c0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 00000000ffffffe4 RCX: 0000000000000000 RDX: ffff888027280000 RSI: ffffffff814e00c6 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88814aaf09c0 R13: ffff88814aaf0800 R14: ffff88814aaf0850 R15: dffffc0000000000 FS: 000055555634b380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcf1c8eff8 CR3: 000000007296f000 CR4: 00000000003506f0 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:4041 btrfs_relocate_chunk+0x143/0x440 fs/btrfs/volumes.c:3277 __btrfs_balance fs/btrfs/volumes.c:4012 [inline] btrfs_balance+0x20fc/0x3ef0 fs/btrfs/volumes.c:4389 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:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:856 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:0x7f2512875939 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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:00007ffebb03d798 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f2512875939 RDX: 0000000020001200 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007f25128ed610 R08: 0000000000000000 R09: 00007ffebb03d968 R10: 00000000000050e7 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffebb03d958 R14: 0000000000000001 R15: 0000000000000001