NFSD: copy the whole verifier in nfsd_copy_write_verifier
authorChuck Lever <chuck.lever@oracle.com>
Tue, 14 Feb 2023 15:07:59 +0000 (10:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:25 +0000 (09:33 +0100)
commit349eb7df66079bb70d3d89e3c5974f5202bff202
tree98b6c29d09abb256f782cae4eb771b766569751e
parent6851b4203e7677012951ecfff972b4edbb1cde46
NFSD: copy the whole verifier in nfsd_copy_write_verifier

[ Upstream commit 90d2175572470ba7f55da8447c72ddd4942923c4 ]

Currently, we're only memcpy'ing the first __be32. Ensure we copy into
both words.

Fixes: 91d2e9b56cf5 ("NFSD: Clean up the nfsd_net::nfssvc_boot field")
Reported-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfsd/nfssvc.c