[GIT PULL] More NFSD fixes for 7.1-rc

From: Chuck Lever

Date: Tue May 26 2026 - 15:47:02 EST


The following changes since commit 4f8ef58c10bfe5f86a643c7c8331b37e69e3dae1:

NFSD: Fix infinite loop in layout state revocation (2026-05-10 12:41:08 -0400)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git tags/nfsd-7.1-2

for you to fetch changes up to 0b474240327cebeff08ad429e8ed3cfc6c8ee816:

lockd: fix TEST handling when not all permissions are available. (2026-05-21 17:08:47 -0400)

----------------------------------------------------------------
nfsd-7.1 fixes:

Issues reported with v7.1-rc:
- Tighten bounds checking for sunrpc cache hash tables
- Don't report key material in the ftrace log

Issues that need expedient stable backports:
- Fix lockd's implementation of the NLM TEST procedure

----------------------------------------------------------------
Chuck Lever (2):
sunrpc: prevent out-of-bounds read in __cache_seq_start()
NFSD: Report whether fh_key was actually updated

NeilBrown (1):
lockd: fix TEST handling when not all permissions are available.

fs/lockd/lockd.h | 2 +-
fs/lockd/svc4proc.c | 9 +++++++--
fs/lockd/svclock.c | 4 +---
fs/lockd/svcproc.c | 15 ++++++++++++---
fs/lockd/svcsubs.c | 31 +++++++++++++++++++++----------
fs/nfsd/nfsctl.c | 18 ++++++++++++++----
fs/nfsd/trace.h | 16 +++++++---------
net/sunrpc/cache.c | 3 +++
8 files changed, 66 insertions(+), 32 deletions(-)