[GIT PULL] nfsd fixes for 5.19

From: Chuck Lever III
Date: Fri Jun 10 2022 - 20:17:46 EST


Hi Linus-

The following changes since commit 08af54b3e5729bc1d56ad3190af811301bdc37a1:

NFSD: nfsd_file_put() can sleep (2022-05-26 10:50:51 -0400)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git tags/nfsd-5.19-1

for you to fetch changes up to da9e94fe000e11f21d3d6f66012fe5c6379bd93c:

SUNRPC: Remove pointer type casts from xdr_get_next_encode_buffer() (2022-06-08 12:39:37 -0400)

----------------------------------------------------------------
Notable changes:
- There is now a backup maintainer for NFSD

Notable fixes:
- Prevent array overruns in svc_rdma_build_writes()
- Prevent buffer overruns when encoding NFSv3 READDIR results
- Fix a potential UAF in nfsd_file_put()

----------------------------------------------------------------
Chuck Lever (7):
NFSD: Fix potential use-after-free in nfsd_file_put()
SUNRPC: Trap RDMA segment overflows
SUNRPC: Fix the calculation of xdr->end in xdr_get_next_encode_buffer()
SUNRPC: Optimize xdr_reserve_space()
SUNRPC: Clean up xdr_commit_encode()
SUNRPC: Clean up xdr_get_next_encode_buffer()
SUNRPC: Remove pointer type casts from xdr_get_next_encode_buffer()

Jeff Layton (1):
MAINTAINERS: reciprocal co-maintainership for file locking and nfsd

MAINTAINERS | 2 ++
fs/nfsd/filecache.c | 9 +++++----
include/linux/sunrpc/xdr.h | 16 +++++++++++++++-
net/sunrpc/xdr.c | 37 +++++++++++++++++++++++--------------
net/sunrpc/xprtrdma/svc_rdma_rw.c | 4 ++--
5 files changed, 47 insertions(+), 21 deletions(-)

--
Chuck Lever