------------[ cut here ]------------
WARNING: CPU: 1 PID: 7342 at fs/btrfs/inode.c:3424 btrfs_add_delayed_iput+0x2f8/0x370
Modules linked in:
CPU: 1 UID: 0 PID: 7342 Comm: kworker/u9:6 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: btrfs-endio-write btrfs_work_helper
RIP: 0010:btrfs_add_delayed_iput+0x2f8/0x370
Code: 7e d9 5a fe 48 8b 3b 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d e9 88 d1 c7 fd e8 d3 67 f7 fd e9 e6 fd ff ff e8 c9 67 f7 fd 90 <0f> 0b 90 e9 41 fe ff ff 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 72
RSP: 0018:ffffc90004427780 EFLAGS: 00010293
RAX: ffffffff83c84717 RBX: ffff88801bb2c000 RCX: ffff88801e8a0000
RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffff88801bb2db57 R09: 1ffff11003765b6a
R10: dffffc0000000000 R11: ffffed1003765b6b R12: 0000000000000001
R13: dffffc0000000000 R14: ffff8881264e2b48 R15: 0000000000000100
FS:  0000000000000000(0000) GS:ffff8881a3c15000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4d179eaff0 CR3: 0000000030a7a000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 btrfs_put_ordered_extent+0x19f/0x470
 btrfs_finish_one_ordered+0x11d8/0x1fd0
 btrfs_work_helper+0x39c/0xc20
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
