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: 5018 at fs/btrfs/block-group.c:2643 btrfs_create_pending_block_groups+0xe54/0x1130 fs/btrfs/block-group.c:2643 Modules linked in: CPU: 1 PID: 5018 Comm: syz-executor253 Not tainted 6.4.0-syzkaller-12069-gc17414a273b8 #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: d2 24 bf fd 0f 0b c7 84 24 80 00 00 00 01 00 00 00 e9 e5 fc ff ff e8 bb d0 f7 fd 44 89 e6 48 c7 c7 c0 ba b7 8a e8 ac 24 bf fd <0f> 0b bd 01 00 00 00 e9 80 fd ff ff e8 1b 01 4b fe e9 b0 f8 ff ff RSP: 0018:ffffc900039df700 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 00000000ffffff01 RCX: 0000000000000000 RDX: ffff888028ddbb80 RSI: ffffffff814c34f7 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 00000000ffffffe4 R13: ffff88807d579850 R14: dffffc0000000000 R15: ffff88807d579858 FS: 0000555556ead300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff52dfb458 CR3: 00000000204c4000 CR4: 0000000000350ee0 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:0x7efefc45cb09 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:00007ffc71da7918 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007efefc45cb09 RDX: 0000000020001200 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007efefc41c3a0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000050e7 R11: 0000000000000246 R12: 00007efefc41c430 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000