NFSv4.2: Don't error when exiting early on a READ_PLUS buffer overflow
stable inclusion from stable-5.10.5 commit 8bcfa178f92a1f7266d86205f9de134fd46f6e1e bugzilla: 46931 -------------------------------- [ Upstream commit 503b934a ] Expanding the READ_PLUS extents can cause the read buffer to overflow. If it does, then don't error, but just exit early. Signed-off-by: NTrond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录