mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
NFS: Fix filehandle bounds checking in nfs_fh_to_dentry()
[ Upstream commitef93a685e0] The function needs to check the minimal filehandle length before it can access the embedded filehandle. Reported-by: zhangjian <zhangjian496@huawei.com> Fixes:20fa190272("nfs: add export operations") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
78382f219e
commit
763810bb88
1 changed files with 9 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue