BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) BTRFS info (device loop0): balance: start -susage=12582912,drange=8796093022212..7,limit=10376293541461622786,limit=2..2415919104 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 5824 at fs/btrfs/block-group.c:2752 btrfs_create_pending_block_groups+0x14f9/0x1710 fs/btrfs/block-group.c:2752 Modules linked in: CPU: 0 UID: 0 PID: 5824 Comm: syz-executor307 Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:btrfs_create_pending_block_groups+0x14f9/0x1710 fs/btrfs/block-group.c:2752 Code: c0 fd 4c 89 f7 be 03 00 00 00 e8 c2 db db 00 e9 86 f9 ff ff e8 68 e2 c0 fd 90 48 c7 c7 a0 92 4d 8c 44 89 f6 e8 d8 85 81 fd 90 <0f> 0b 90 90 e9 7b fe ff ff e8 49 e2 c0 fd 90 48 c7 c7 a0 92 4d 8c RSP: 0018:ffffc900037ef6a0 EFLAGS: 00010246 RAX: 267f5cffafd44e00 RBX: ffff88807aac4001 RCX: ffff88802fb33c00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900037ef960 R08: ffffffff816019a2 R09: 1ffff920006fde70 R10: dffffc0000000000 R11: fffff520006fde71 R12: 0000000000000000 R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff8880282e89c0 FS: 0000555592c31380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055dbb6edd000 CR3: 000000006f01c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __btrfs_end_transaction+0x150/0x630 fs/btrfs/transaction.c:1063 btrfs_inc_block_group_ro+0x648/0x700 fs/btrfs/block-group.c:3043 btrfs_relocate_block_group+0x440/0xd90 fs/btrfs/relocation.c:4041 btrfs_relocate_chunk+0x12c/0x3b0 fs/btrfs/volumes.c:3494 __btrfs_balance+0x1b0f/0x26b0 fs/btrfs/volumes.c:4278 btrfs_balance+0xbdc/0x10c0 fs/btrfs/volumes.c:4655 btrfs_ioctl_balance+0x493/0x7c0 fs/btrfs/ioctl.c:3670 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f45f36b09c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe35812cd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffe35812ea8 RCX: 00007f45f36b09c9 RDX: 0000000020000c40 RSI: 00000000c4009420 RDI: 0000000000000003 RBP: 00007f45f3728610 R08: 00000000000051a5 R09: 00007ffe35812ea8 R10: 00007ffe35812b90 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe35812e98 R14: 0000000000000001 R15: 0000000000000001