------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 1041 at fs/btrfs/inode.c:3212 btrfs_finish_one_ordered+0x1919/0x21a0 fs/btrfs/inode.c:3212 Modules linked in: CPU: 0 UID: 0 PID: 1041 Comm: kworker/u4:6 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+0x1919/0x21a0 fs/btrfs/inode.c:3212 Code: 00 e8 cb f2 d6 fd 84 c0 74 29 e8 12 b7 f0 fd eb 73 e8 0b b7 f0 fd 90 48 c7 c7 80 7f ae 8b 49 89 dd 44 89 ee e8 48 c3 b3 fd 90 <0f> 0b 90 90 e9 8f 00 00 00 e8 59 2c 79 07 41 89 c6 31 ff 89 c6 e8 RSP: 0018:ffffc900026f77e0 EFLAGS: 00010246 RAX: f1603d62ea373200 RBX: 00000000ffffffe4 RCX: ffff888032d44900 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: ffffc900026f79b0 R08: ffff88801fe24293 R09: 1ffff11003fc4852 R10: dffffc0000000000 R11: ffffed1003fc4853 R12: ffff88803f7e6b80 R13: 00000000ffffffe4 R14: ffff888012589140 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88808d730000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe9025d3450 CR3: 0000000011e3f000 CR4: 0000000000352ef0 Call Trace: btrfs_work_helper+0x39c/0xc20 fs/btrfs/async-thread.c:312 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245