------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 10177 at fs/btrfs/block-group.c:2747 btrfs_create_pending_block_groups+0xce6/0x14c0 fs/btrfs/block-group.c:2747 Modules linked in: CPU: 0 UID: 0 PID: 10177 Comm: syz.2.798 Not tainted 6.14.0-syzkaller-03576-g1e1ba8d23dae #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:btrfs_create_pending_block_groups+0xce6/0x14c0 fs/btrfs/block-group.c:2747 Code: 1e 83 f8 19 77 0f ba 01 00 04 02 48 0f a3 c2 0f 82 c1 01 00 00 e8 9a 70 ce fd 90 48 c7 c7 c0 48 bc 8b 89 de e8 8b 1b 8e fd 90 <0f> 0b 90 90 41 bd 01 00 00 00 e8 7b 70 ce fd 48 8b 3c 24 45 89 e8 RSP: 0018:ffffc9000353f718 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 00000000ffffffe4 RCX: ffffc9000d402000 RDX: 0000000000080000 RSI: ffffffff817aae25 RDI: 0000000000000001 RBP: ffff8880294d5a00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880550b81c0 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8880550b8050 FS: 00007f723bdf66c0(0000) GS:ffff888124e5a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ef95ece668 CR3: 000000002872a000 CR4: 0000000000350ef0 Call Trace: __btrfs_end_transaction+0xf5/0x920 fs/btrfs/transaction.c:1064 btrfs_inc_block_group_ro+0x549/0x740 fs/btrfs/block-group.c:3038 btrfs_relocate_block_group+0x216/0xe10 fs/btrfs/relocation.c:3963 btrfs_relocate_chunk+0x143/0x450 fs/btrfs/volumes.c:3511 __btrfs_balance fs/btrfs/volumes.c:4292 [inline] btrfs_balance+0x20be/0x3f20 fs/btrfs/volumes.c:4669 btrfs_ioctl_balance fs/btrfs/ioctl.c:3587 [inline] btrfs_ioctl+0x3ebb/0x5ad0 fs/btrfs/ioctl.c:5305 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f723df8d169 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:00007f723bdf6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f723e1a5fa0 RCX: 00007f723df8d169 RDX: 0000200000000c40 RSI: 00000000c4009420 RDI: 0000000000000003 RBP: 00007f723e00e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f723e1a5fa0 R15: 00007ffc136cf6a8