Skip to content

nfsd: Fix cred refcount leak.

Kuniyuki Iwashima linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nfsd: Fix cred ref leak in nfsd_nl_threads_set_doit().fs/nfsd/nfsctl.c+1 -10 replies
2/2nfsd: Fix cred ref leak in nfsd_nl_listener_set_doit().fs/nfsd/nfsctl.c+1 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

Patch[email protected]Jeff Layton
SeriesR-b
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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().

 fs/nfsd/nfsctl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.52.0.457.g6b5491de43-goog