[Bug 259071] Read past EoF in NFS client and fusefs

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 Nov 2021 18:18:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259071

--- Comment #16 from Alan Somers <asomers@FreeBSD.org> ---
Update: I just reproduced the problem with sshfs, and the cause looks to be
exactly the same as on NFS.  It's a race between fuse_vnop_lookup and
fuse_vnop_setattr.  fuse_vnop_getattr, fuse_vnop_getpages, and fuse_vnop_bmap
aren't vulnerable, because they have the vnode locked for the entire time. 
fuse_vfsop_vget, used by the NFS server, does look vulnerable.

-- 
You are receiving this mail because:
You are the assignee for the bug.