[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201008130021.79829-1-wenyang@linux.alibaba.com>
Date: Thu, 8 Oct 2020 21:00:21 +0800
From: Wen Yang <wenyang@...ux.alibaba.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Sasha Levin <sashal@...nel.org>
Cc: Wen Yang <wenyang@...ux.alibaba.com>,
"Eric W . Biederman" <ebiederm@...ssion.com>,
stable@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Stable backport request for fixing the issue of not being able to create a new pid_ns
After the process exits, the following three dentries still refer to the pid:
/proc/<pid>
/proc/<pid>/ns
/proc/<pid>/ns/pid
https://bugzilla.kernel.org/show_bug.cgi?id=208613
According to the commit f333c700c610 ("pidns: Add a limit on the number of
pid namespaces"), if the pid cannot be released, it may result in the
inability to create a new pid_ns.
Please backport the following patches to the kernel stable trees (from 4.9.y
to 5.6.y):
7bc3e6e55acf ("proc: Use a list of inodes to flush from proc")
26dbc60f385f ("proc: Generalize proc_sys_prune_dcache into proc_prune_siblings_dcache")
f90f3cafe8d5 ("proc: Use d_invalidate in proc_prune_siblings_dcache")
Signed-off-by: Wen Yang <wenyang@...ux.alibaba.com>
Cc: Eric W. Biederman <ebiederm@...ssion.com>
Cc: stable@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Powered by blists - more mailing lists