BTRFS info (device loop0): balance: start -d -m BTRFS info (device loop0): relocating block group 6881280 flags data|metadata BTRFS info (device loop0): relocating block group 5242880 flags data|metadata BTRFS warning (device loop0): Skipping commit of aborted transaction. ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: fs/btrfs/transaction.c:2067 at cleanup_transaction+0x800/0x9d0 fs/btrfs/transaction.c:2067, CPU#0: syz.0.0/5335 Modules linked in: CPU: 0 UID: 0 PID: 5335 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:cleanup_transaction+0x803/0x9d0 fs/btrfs/transaction.c:2067 Code: 0a e8 a1 b4 d5 fd e9 87 00 00 00 e8 67 bb ba fd 84 c0 74 2f e8 8e b4 d5 fd eb 77 e8 87 b4 d5 fd 48 8d 3d 70 83 49 0c 44 89 e6 <67> 48 0f b9 3a 49 bf 00 00 00 00 00 fc ff df 4c 8b 6c 24 18 e9 8d RSP: 0018:ffffc9000ef27400 EFLAGS: 00010283 RAX: ffffffff83f01199 RBX: ffff888012cfc000 RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 00000000ffffffe4 RDI: ffffffff90399510 RBP: ffffc9000ef27530 R08: ffff88801fa82540 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000002 R12: 00000000ffffffe4 R13: ffff8880488a8c20 R14: 0000000000000000 R15: 1ffff11009115184 FS: 00007f1a798796c0(0000) GS:ffff88808c895000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1a79857fe8 CR3: 0000000034c5f000 CR4: 0000000000352ef0 Call Trace: btrfs_commit_transaction+0x2594/0x2fc0 fs/btrfs/transaction.c:2659 prepare_to_relocate+0x39f/0x490 fs/btrfs/relocation.c:3476 relocate_block_group+0x149/0xe70 fs/btrfs/relocation.c:3501 do_nonremap_reloc+0xa8/0x5b0 fs/btrfs/relocation.c:5268 btrfs_relocate_block_group+0x7e6/0xc40 fs/btrfs/relocation.c:5434 btrfs_relocate_chunk+0x115/0x820 fs/btrfs/volumes.c:3598 __btrfs_balance+0x1db0/0x2ae0 fs/btrfs/volumes.c:4509 btrfs_balance+0xaf3/0x11b0 fs/btrfs/volumes.c:4896 btrfs_ioctl_balance+0x3d3/0x610 fs/btrfs/ioctl.c:3453 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1a7899ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1a79878fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1a78c16090 RCX: 00007f1a7899ce59 RDX: 0000200000000180 RSI: 00000000c4009420 RDI: 0000000000000006 RBP: 00007f1a78a32d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1a78c16128 R14: 00007f1a78c16090 R15: 00007ffd62e15b48 ---------------- Code disassembly (best guess): 0: 0a e8 or %al,%ch 2: a1 b4 d5 fd e9 87 00 movabs 0x87e9fdd5b4,%eax 9: 00 00 b: e8 67 bb ba fd call 0xfdbabb77 10: 84 c0 test %al,%al 12: 74 2f je 0x43 14: e8 8e b4 d5 fd call 0xfdd5b4a7 19: eb 77 jmp 0x92 1b: e8 87 b4 d5 fd call 0xfdd5b4a7 20: 48 8d 3d 70 83 49 0c lea 0xc498370(%rip),%rdi # 0xc498397 27: 44 89 e6 mov %r12d,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 36: fc ff df 39: 4c 8b 6c 24 18 mov 0x18(%rsp),%r13 3e: e9 .byte 0xe9 3f: 8d .byte 0x8d