------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 3 PID: 1150 at fs/btrfs/inode.c:3197 btrfs_finish_one_ordered+0x194a/0x2bb0 fs/btrfs/inode.c:3197 Modules linked in: CPU: 3 UID: 0 PID: 1150 Comm: kworker/u32:8 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 Workqueue: btrfs-endio-write btrfs_work_helper RIP: 0010:btrfs_finish_one_ordered+0x194a/0x2bb0 fs/btrfs/inode.c:3197 Code: 83 f8 19 77 0f ba 01 00 04 02 48 0f a3 c2 0f 82 46 03 00 00 e8 57 2c dc fd 90 48 c7 c7 e0 eb bb 8b 44 89 e6 e8 07 b3 9a fd 90 <0f> 0b 90 90 c7 04 24 01 00 00 00 e8 36 2c dc fd 44 8b 04 24 44 89 RSP: 0018:ffffc900060d7a50 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888025b6d420 RCX: ffffffff81799b88 RDX: ffff888028fdc900 RSI: ffffffff81799b95 RDI: 0000000000000001 RBP: ffff88803c401280 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 00000000ffffffe4 R13: ffff88803c4012e0 R14: ffff888025b6d460 R15: ffff88803c4a88a0 FS: 0000000000000000(0000) GS:ffff8880d7167000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b429abf300 CR3: 0000000033358000 CR4: 0000000000352ef0 Call Trace: btrfs_work_helper+0x218/0xc60 fs/btrfs/async-thread.c:312 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x56d/0x730 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245