Commit e8e86b7e authored by Dan Carpenter's avatar Dan Carpenter Committed by Yongqiang Liu
Browse files

NFSD: prevent integer overflow on 32 bit systems

stable inclusion
from stable-4.19.238
commit 3a2789e8ccb4a3e2a631f6817a2d3bb98b8c4fd8
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5A6BA


CVE: NA

--------------------------------

commit 23a9dbbe upstream.

On a 32 bit system, the "len * sizeof(*p)" operation can have an
integer overflow.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
parent b29abe13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment