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+0x7aa/0x970 fs/btrfs/transaction.c:2067, CPU#0: kworker/u4:0/12 Modules linked in: CPU: 0 UID: 0 PID: 12 Comm: kworker/u4: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 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:cleanup_transaction+0x7ad/0x970 fs/btrfs/transaction.c:2067 Code: 87 d6 fd e9 80 00 00 00 e8 40 9a bb fd 84 c0 74 28 e8 57 87 d6 fd eb 70 41 89 c7 e8 4d 87 d6 fd 48 8d 3d 96 1e 4a 0c 44 89 fe <67> 48 0f b9 3a 4c 8b 74 24 10 e9 dd 00 00 00 e8 7f 80 b5 07 89 c3 RSP: 0018:ffffc9000025f460 EFLAGS: 00010293 RAX: ffffffff83eec9e3 RBX: ffff8880121a7000 RCX: ffff88801b744a80 RDX: 0000000000000000 RSI: 00000000ffffffe4 RDI: ffffffff9038e880 RBP: ffffc9000025f590 R08: ffff88801b744a80 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888011ea84c8 R15: 00000000ffffffe4 FS: 0000000000000000(0000) GS:ffff88808c8ae000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0fda632676 CR3: 000000001255f000 CR4: 0000000000352ef0 Call Trace: btrfs_commit_transaction+0x25b1/0x3020 fs/btrfs/transaction.c:2659 flush_space+0x28a/0xde0 fs/btrfs/space-info.c:-1 do_async_reclaim_metadata_space+0x3e8/0x940 fs/btrfs/space-info.c:1211 btrfs_async_reclaim_metadata_space+0x89/0xe0 fs/btrfs/space-info.c:1278 process_one_work kernel/workqueue.c:3314 [inline] process_scheduled_works+0xa8e/0x14e0 kernel/workqueue.c:3397 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3478 kthread+0x389/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---------------- Code disassembly (best guess): 0: 87 d6 xchg %edx,%esi 2: fd std 3: e9 80 00 00 00 jmp 0x88 8: e8 40 9a bb fd call 0xfdbb9a4d d: 84 c0 test %al,%al f: 74 28 je 0x39 11: e8 57 87 d6 fd call 0xfdd6876d 16: eb 70 jmp 0x88 18: 41 89 c7 mov %eax,%r15d 1b: e8 4d 87 d6 fd call 0xfdd6876d 20: 48 8d 3d 96 1e 4a 0c lea 0xc4a1e96(%rip),%rdi # 0xc4a1ebd 27: 44 89 fe mov %r15d,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 4c 8b 74 24 10 mov 0x10(%rsp),%r14 34: e9 dd 00 00 00 jmp 0x116 39: e8 7f 80 b5 07 call 0x7b580bd 3e: 89 c3 mov %eax,%ebx