------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 1 PID: 5952 at fs/btrfs/block-group.c:2781 btrfs_create_pending_block_groups+0x1120/0x1350 fs/btrfs/block-group.c:2781 Modules linked in: CPU: 1 UID: 0 PID: 5952 Comm: syz.3.8 Not tainted 6.15.0-rc3-syzkaller-00094-g02ddfb981de8 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:btrfs_create_pending_block_groups+0x1120/0x1350 fs/btrfs/block-group.c:2781 Code: 48 c7 c6 60 28 af 8b 44 89 f2 e8 7b c6 4a fd e9 38 fe ff ff e8 31 73 e0 fd 90 48 c7 c7 00 28 af 8b 44 89 f6 e8 31 d2 a4 fd 90 <0f> 0b 90 90 e9 19 fe ff ff e8 12 73 e0 fd eb 05 e8 0b 73 e0 fd 4c RSP: 0018:ffffc9000acff700 EFLAGS: 00010246 RAX: 7c3417d5c88e4900 RBX: ffff88807d698001 RCX: 0000000000080000 RDX: ffffc9000c62b000 RSI: 000000000000b309 RDI: 000000000000b30a RBP: ffffc9000acff980 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bba4b4 R12: 0000000000000000 R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff88805b7e2058 FS: 00007f3bd591c6c0(0000) GS:ffff888126203000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558cf975c728 CR3: 000000007e52e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0x140/0x640 fs/btrfs/transaction.c:1070 btrfs_inc_block_group_ro+0x62f/0x700 fs/btrfs/block-group.c:3076 btrfs_relocate_block_group+0x452/0xd70 fs/btrfs/relocation.c:3965 btrfs_relocate_chunk+0x12a/0x3b0 fs/btrfs/volumes.c:3511 __btrfs_balance+0x1870/0x21d0 fs/btrfs/volumes.c:4292 btrfs_balance+0xcb9/0x11b0 fs/btrfs/volumes.c:4669 btrfs_ioctl_balance+0x3d3/0x610 fs/btrfs/ioctl.c:3586 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3bd4b8e969 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:00007f3bd591c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f3bd4db5fa0 RCX: 00007f3bd4b8e969 RDX: 0000200000000440 RSI: 00000000c4009420 RDI: 0000000000000003 RBP: 00007f3bd4c10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3bd4db5fa0 R15: 00007ffdbeb6f208