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: 1 PID: 5410 at fs/btrfs/block-group.c:2643 btrfs_create_pending_block_groups+0x1015/0x1260 fs/btrfs/block-group.c:2643 Modules linked in: CPU: 1 PID: 5410 Comm: syz-executor.0 Not tainted 6.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:btrfs_create_pending_block_groups+0x1015/0x1260 fs/btrfs/block-group.c:2643 Code: a0 f8 4b 8b ba 5a 0a 00 00 44 89 f9 e8 f4 31 09 07 e9 26 f5 ff ff e8 2a 5d de fd 48 c7 c7 20 f8 4b 8b 44 89 fe e8 2b ee a5 fd <0f> 0b e9 d5 fe ff ff e8 0f 5d de fd 48 c7 c7 20 f8 4b 8b 44 89 e6 RSP: 0018:ffffc90004f276e0 EFLAGS: 00010246 RAX: 86bbcc48b2335c00 RBX: ffff888079600001 RCX: ffff888075e85940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004f27978 R08: ffffffff81524d72 R09: 1ffff920009e4e54 R10: dffffc0000000000 R11: fffff520009e4e55 R12: 0000000000000000 R13: ffff88807b1549c0 R14: dffffc0000000000 R15: 00000000ffffffe4 FS: 00007f61f64f06c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f28352e2650 CR3: 00000000291d7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0x150/0x640 fs/btrfs/transaction.c:995 btrfs_inc_block_group_ro+0x5ac/0x610 fs/btrfs/block-group.c:2893 btrfs_relocate_block_group+0x43b/0xd70 fs/btrfs/relocation.c:4039 btrfs_relocate_chunk+0x12c/0x3b0 fs/btrfs/volumes.c:3283 __btrfs_balance+0x1b06/0x2690 fs/btrfs/volumes.c:4018 btrfs_balance+0xbdb/0x1120 fs/btrfs/volumes.c:4402 btrfs_ioctl_balance+0x496/0x7c0 fs/btrfs/ioctl.c:3604 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf8/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f61f587cb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007f61f64f00c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f61f599bf80 RCX: 00007f61f587cb29 RDX: 0000000020001200 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007f61f58c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f61f599bf80 R15: 00007ffcea1a2318