Commit 4a057848 authored by Alexey Gladkov's avatar Alexey Gladkov Committed by Zheng Zengkai
Browse files

Fix user namespace leak

stable inclusion
from stable-5.10.80
commit 0e1709b2a07ad18742808a7088468b0b3477aa96
bugzilla: 185821 https://gitee.com/openeuler/kernel/issues/I4L7CG

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0e1709b2a07ad18742808a7088468b0b3477aa96



--------------------------------

[ Upstream commit d5f458a9 ]

Fixes: 61ca2c4a ("NFS: Only reference user namespace from nfs4idmap struct instead of cred")
Signed-off-by: default avatarAlexey Gladkov <legion@kernel.org>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Reviewed-by: default avatarWeilong Chen <chenweilong@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 75fa8916
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment