diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-09-01 21:10:05 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-09-26 20:02:26 +0200 |
commit | 00b4492686e0497fdb924a9d4c8f6f99377e176c (patch) | |
tree | 9eca05370c89e05c5616625dd2de3e31d26e634d /fs/nfsd/nfs3proc.c | |
parent | SUNRPC: Fix svcxdr_init_encode's buflen calculation (diff) | |
download | linux-00b4492686e0497fdb924a9d4c8f6f99377e176c.tar.xz linux-00b4492686e0497fdb924a9d4c8f6f99377e176c.zip |
NFSD: Protect against send buffer overflow in NFSv2 READDIR
Restore the previous limit on the @count argument to prevent a
buffer overflow attack.
Fixes: 53b1119a6e50 ("NFSD: Fix READDIR buffer overflow")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfs3proc.c')
0 files changed, 0 insertions, 0 deletions