BTRFS info (device loop3): 3215360 bytes available across all block groups ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 7723 at fs/btrfs/block-group.c:2796 btrfs_create_pending_block_groups+0xd0d/0x1990 fs/btrfs/block-group.c:2796 Modules linked in: CPU: 0 UID: 0 PID: 7723 Comm: syz.3.442 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:btrfs_create_pending_block_groups+0xd0d/0x1990 fs/btrfs/block-group.c:2796 Code: 83 f8 19 77 0f ba 01 00 04 02 48 0f a3 c2 0f 82 cb 01 00 00 e8 d4 e3 b6 fd 90 48 c7 c7 60 02 df 8b 44 89 fe e8 b4 18 75 fd 90 <0f> 0b 90 90 bd 01 00 00 00 e8 b5 e3 b6 fd 48 8b 7c 24 08 41 89 e8 RSP: 0018:ffffc90004747748 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88807cc21b00 RCX: ffffc9000cd7f000 RDX: 0000000000080000 RSI: ffffffff817b6ef5 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88807cb571c0 R13: dffffc0000000000 R14: ffffc90004747840 R15: 00000000ffffffe4 FS: 00007f2cbdd7c6c0(0000) GS:ffff8881249d9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2bc02be7e8 CR3: 000000004084c000 CR4: 0000000000350ef0 Call Trace: __btrfs_end_transaction+0xf5/0x920 fs/btrfs/transaction.c:1071 btrfs_inc_block_group_ro+0x534/0x720 fs/btrfs/block-group.c:3092 btrfs_relocate_block_group+0x234/0x1040 fs/btrfs/relocation.c:3936 btrfs_relocate_chunk+0x148/0x730 fs/btrfs/volumes.c:3451 __btrfs_balance fs/btrfs/volumes.c:4227 [inline] btrfs_balance+0x1df9/0x47a0 fs/btrfs/volumes.c:4604 btrfs_ioctl_balance fs/btrfs/ioctl.c:3577 [inline] btrfs_ioctl+0x315d/0x5590 fs/btrfs/ioctl.c:5313 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2cbcf8efc9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2cbdd7c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2cbd1e5fa0 RCX: 00007f2cbcf8efc9 RDX: 0000200000000440 RSI: 00000000c4009420 RDI: 0000000000000003 RBP: 00007f2cbd011f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2cbd1e6038 R14: 00007f2cbd1e5fa0 R15: 00007fff65466588