Re: [syzbot] [fuse?] INFO: task hung in fuse_conn_destroy (2)

From: Edward Adam Davis

Date: Sat Apr 18 2026 - 23:52:12 EST


#syz test

diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index 25c5c853a791..7c130656c4f6 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -2291,6 +2291,9 @@ static long fuse_dev_ioctl_clone(struct file *file, __u32 __user *argp)
return -ENOMEM;

new_fud = fuse_file_to_fud(file);
+ if (fuse_dev_chan_get(new_fud))
+ return -EINVAL;
+
if (!fuse_dev_install_with_pq(new_fud, fud->chan, pq))
return -EINVAL;