Re: [PATCH v1 0/2] nfsd: Fix cred refcount leak.

Chuck Lever
2026-01-25T03:21:10Z

From: Chuck Lever <chuck.lever@oracle.com>

On Sat, 24 Jan 2026 04:18:39 +0000, Kuniyuki Iwashima wrote:
> get_current_cred() is misused in nfsd_nl_listener_set_doit()
> and nfsd_nl_threads_set_doit(), leaking the cred refcount.
>
> Patch 1 & 2 fixes the leak in each function.
>
>
> Kuniyuki Iwashima (2):
> nfsd: Fix cred ref leak in nfsd_nl_threads_set_doit().
> nfsd: Fix cred ref leak in nfsd_nl_listener_set_doit().
>
> [...]

Applied to nfsd-testing, thanks!

[1/2] nfsd: Fix cred ref leak in nfsd_nl_threads_set_doit().
commit: c14b0c3b5966a1e2cf6a7f219c4f4b3fafeb89d0
[2/2] nfsd: Fix cred ref leak in nfsd_nl_listener_set_doit().
commit: 687b9b69fcda9de606e998fd2edccb8a14406e19

--
Chuck Lever