------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: fs/btrfs/inode.c:3312 at btrfs_finish_one_ordered+0x19e1/0x2420 fs/btrfs/inode.c:3312, CPU#0: kworker/u4:7/1040 Modules linked in: CPU: 0 UID: 0 PID: 1040 Comm: kworker/u4:7 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: btrfs-endio-write btrfs_work_helper RIP: 0010:btrfs_finish_one_ordered+0x19e9/0x2420 fs/btrfs/inode.c:3312 Code: fd d3 d8 fd eb 7f e8 46 d8 bd fd 84 c0 74 25 e8 ed d3 d8 fd eb 6f e8 e6 d3 d8 fd 48 8d 3d ff f6 2d 0c 4c 8b 6c 24 10 44 89 ee <67> 48 0f b9 3a e9 96 00 00 00 e8 78 0e c3 07 41 89 c6 31 ff 89 c6 RSP: 0018:ffffc90005627880 EFLAGS: 00010293 RAX: ffffffff83ecd96a RBX: ffff888037d88001 RCX: ffff88803673c980 RDX: 0000000000000000 RSI: 00000000ffffffe4 RDI: ffffffff901ad070 RBP: ffffc90005627a50 R08: ffff88803673c980 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000000 R12: ffff8880483a4f58 R13: 00000000ffffffe4 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88808ca57000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3a1fdd2d58 CR3: 0000000039e2a000 CR4: 0000000000352ef0 Call Trace: btrfs_work_helper+0x38c/0xc80 fs/btrfs/async-thread.c:312 process_one_work kernel/workqueue.c:3275 [inline] process_scheduled_works+0xb02/0x1830 kernel/workqueue.c:3358 worker_thread+0xa50/0xfc0 kernel/workqueue.c:3439 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---------------- Code disassembly (best guess): 0: fd std 1: d3 d8 rcr %cl,%eax 3: fd std 4: eb 7f jmp 0x85 6: e8 46 d8 bd fd call 0xfdbdd851 b: 84 c0 test %al,%al d: 74 25 je 0x34 f: e8 ed d3 d8 fd call 0xfdd8d401 14: eb 6f jmp 0x85 16: e8 e6 d3 d8 fd call 0xfdd8d401 1b: 48 8d 3d ff f6 2d 0c lea 0xc2df6ff(%rip),%rdi # 0xc2df721 22: 4c 8b 6c 24 10 mov 0x10(%rsp),%r13 27: 44 89 ee mov %r13d,%esi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e9 96 00 00 00 jmp 0xca 34: e8 78 0e c3 07 call 0x7c30eb1 39: 41 89 c6 mov %eax,%r14d 3c: 31 ff xor %edi,%edi 3e: 89 c6 mov %eax,%esi