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:2020 at 0x0, CPU#0: syz.0.44/5787 Modules linked in: CPU: 0 UID: 0 PID: 5787 Comm: syz.0.44 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2020 [inline] RIP: 0010:btrfs_commit_transaction+0x2f5b/0x3950 fs/btrfs/transaction.c:2611 Code: 07 e8 69 ce f1 fd eb 7d e8 82 be d7 fd 84 c0 74 25 e8 59 ce f1 fd eb 6d e8 52 ce f1 fd 48 8d 3d 7b c4 b9 0b 8b 5c 24 18 89 de <67> 48 0f b9 3a 89 d9 e9 1a 01 00 00 e8 04 28 79 07 89 c3 31 ff 89 RSP: 0018:ffffc9000da9f4e0 EFLAGS: 00010293 RAX: ffffffff83cf3fde RBX: 00000000ffffffe4 RCX: ffff88803e4bc980 RDX: 0000000000000000 RSI: 00000000ffffffe4 RDI: ffffffff8f890460 RBP: ffffc9000da9f808 R08: ffff88803e4bc980 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000000 R12: ffff88803e4bdc38 R13: ffff888059c58000 R14: ffff888059c58000 R15: 0000000000000000 FS: 00007f6d64e2f6c0(0000) GS:ffff88808d6b7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9076f27000 CR3: 00000000435ac000 CR4: 0000000000352ef0 Call Trace: prepare_to_relocate+0x39f/0x490 fs/btrfs/relocation.c:3489 relocate_block_group+0x132/0xd70 fs/btrfs/relocation.c:3514 btrfs_relocate_block_group+0x6bc/0xc60 fs/btrfs/relocation.c:3983 btrfs_relocate_chunk+0x12f/0x5c0 fs/btrfs/volumes.c:3448 __btrfs_balance+0x1860/0x23f0 fs/btrfs/volumes.c:4224 btrfs_balance+0xac2/0x11b0 fs/btrfs/volumes.c:4601 btrfs_ioctl_balance+0x3d3/0x610 fs/btrfs/ioctl.c:3560 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+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6d63f8f7c9 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:00007f6d64e2f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6d641e5fa0 RCX: 00007f6d63f8f7c9 RDX: 0000200000000180 RSI: 00000000c4009420 RDI: 0000000000000004 RBP: 00007f6d64013f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6d641e6038 R14: 00007f6d641e5fa0 R15: 00007ffca1b5ae68 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e8 69 ce f1 fd call 0xfdf1ce6e 5: eb 7d jmp 0x84 7: e8 82 be d7 fd call 0xfdd7be8e c: 84 c0 test %al,%al e: 74 25 je 0x35 10: e8 59 ce f1 fd call 0xfdf1ce6e 15: eb 6d jmp 0x84 17: e8 52 ce f1 fd call 0xfdf1ce6e 1c: 48 8d 3d 7b c4 b9 0b lea 0xbb9c47b(%rip),%rdi # 0xbb9c49e 23: 8b 5c 24 18 mov 0x18(%rsp),%ebx 27: 89 de mov %ebx,%esi * 29: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2e: 89 d9 mov %ebx,%ecx 30: e9 1a 01 00 00 jmp 0x14f 35: e8 04 28 79 07 call 0x779283e 3a: 89 c3 mov %eax,%ebx 3c: 31 ff xor %edi,%edi 3e: 89 .byte 0x89