Re: [syzbot] [fuse?] WARNING in fuse_request_end

From: Hillf Danton
Date: Sat May 11 2024 - 08:37:29 EST


On Sat, 11 May 2024 00:42:19 -0700
> syzbot found the following issue on:
>
> HEAD commit: dccb07f2914c Merge tag 'for-6.9-rc7-tag' of git://git.kern..
> git tree: upstream
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=119603c0980000

#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git dccb07f2914c

--- x/fs/fuse/dev.c
+++ y/fs/fuse/dev.c
@@ -1267,6 +1267,7 @@ static ssize_t fuse_dev_do_read(struct f

req = list_entry(fiq->pending.next, struct fuse_req, list);
clear_bit(FR_PENDING, &req->flags);
+ clear_bit(FR_SENT, &req->flags);
list_del_init(&req->list);
spin_unlock(&fiq->lock);

--