Fix user namespace leak
authorAlexey Gladkov <legion@kernel.org>
Thu, 14 Oct 2021 16:02:30 +0000 (18:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Nov 2021 18:17:02 +0000 (19:17 +0100)
commit5204722a964270804d42ebda3312df807882750f
tree7d2f5c196802f57a0784330cb0ccf56defd05b9a
parentd9bd9732cad66f9b13ff71d8a56959defb65f307
Fix user namespace leak

[ Upstream commit d5f458a979650e5ed37212f6134e4ee2b28cb6ed ]

Fixes: 61ca2c4afd9d ("NFS: Only reference user namespace from nfs4idmap struct instead of cred")
Signed-off-by: Alexey Gladkov <legion@kernel.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/nfs4idmap.c