BTRFS info (device loop0): balance: start -sconvert=raid0,soft ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: fs/btrfs/block-group.c:2797 at 0x0, CPU#0: syz.0.185/7209 Modules linked in: CPU: 0 UID: 0 PID: 7209 Comm: syz.0.185 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:btrfs_create_pending_block_groups+0x12b2/0x1760 fs/btrfs/block-group.c:2797 Code: 0c d4 fd e9 24 03 00 00 e8 db e4 b9 fd 84 c0 74 23 e8 52 0c d4 fd e9 11 03 00 00 e8 48 0c d4 fd 48 8d 3d 81 08 f7 0a 44 89 f6 <67> 48 0f b9 3a e9 be 03 00 00 e8 bf 51 e6 06 41 89 c7 31 ff 89 c6 RSP: 0018:ffffc90005d9f700 EFLAGS: 00010283 RAX: ffffffff83ec6638 RBX: ffff88806084c001 RCX: 0000000000080000 RDX: ffffc9001240a000 RSI: 00000000ffffffe4 RDI: ffffffff8ee36ec0 RBP: ffffc90005d9f970 R08: ffff88802e225ac0 R09: 0000000000000003 R10: 0000000000000100 R11: 00000000fffffffb R12: 0000000000000000 R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff888061aaa800 FS: 00007fd336e4c6c0(0000) GS:ffff888126d12000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd336e4bf98 CR3: 000000002fc14000 CR4: 00000000003526f0 Call Trace: __btrfs_end_transaction+0x140/0x640 fs/btrfs/transaction.c:1078 btrfs_inc_block_group_ro+0x63e/0x6f0 fs/btrfs/block-group.c:3086 btrfs_relocate_block_group+0x29d/0xba0 fs/btrfs/relocation.c:3923 btrfs_relocate_chunk+0x12f/0x5d0 fs/btrfs/volumes.c:3424 __btrfs_balance+0x190e/0x24f0 fs/btrfs/volumes.c:4197 btrfs_balance+0xac2/0x11b0 fs/btrfs/volumes.c:4571 btrfs_ioctl_balance+0x3d6/0x610 fs/btrfs/ioctl.c:3525 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xff/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd338c2f749 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:00007fd336e4c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd338e86180 RCX: 00007fd338c2f749 RDX: 0000200000000b80 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007fd338cb3f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd338e86218 R14: 00007fd338e86180 R15: 00007ffce1f2fed8 ---------------- Code disassembly (best guess): 0: 0c d4 or $0xd4,%al 2: fd std 3: e9 24 03 00 00 jmp 0x32c 8: e8 db e4 b9 fd call 0xfdb9e4e8 d: 84 c0 test %al,%al f: 74 23 je 0x34 11: e8 52 0c d4 fd call 0xfdd40c68 16: e9 11 03 00 00 jmp 0x32c 1b: e8 48 0c d4 fd call 0xfdd40c68 20: 48 8d 3d 81 08 f7 0a lea 0xaf70881(%rip),%rdi # 0xaf708a8 27: 44 89 f6 mov %r14d,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e9 be 03 00 00 jmp 0x3f2 34: e8 bf 51 e6 06 call 0x6e651f8 39: 41 89 c7 mov %eax,%r15d 3c: 31 ff xor %edi,%edi 3e: 89 c6 mov %eax,%esi