Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp2198627pxu; Fri, 9 Oct 2020 10:14:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylXbuNefnmaoArB00HMwBSVuvVjhqCJWy69MjiZwSgct592BUI+5igAoPtP0IjAG5COo/B X-Received: by 2002:a17:906:2712:: with SMTP id z18mr15764116ejc.380.1602263680777; Fri, 09 Oct 2020 10:14:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602263679; cv=none; d=google.com; s=arc-20160816; b=WsgnYlon/e0n0zCT9fAAlLYHEePJB9qgjcawN61pHtZB67H1TrceInj57yZ+hwiDO9 xkgDguJ0p8+LUPXmWWlzzhN1eFLeMeeiABjKfk5isdGsSZynz+PxJ1W+M1lqpwnNeILG vzQ0bWZCRb9vAwGzAXLvrwrHNovpmIbbOjbMQ+AMu8SxTJuZAuq/81Ba8HeRoNq4jZEJ /MeRPBLhm9vu1HhINwZN6YJWzp2ZkrT0D9Ss3zfnnGdNlyGYG32wZf8bvXd9fDiZUCmQ v4+z0jmnmjFqUCbLuPxZKw+ksDGz8HZB5KrVXzj02q9IZumSuBlx3D4RVdfs59u8uC84 jOsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HetW78kN5cNMjgdvqy3zBh0bu6+PDaic6QyfUuf9LS8=; b=fjZ5YkFxntM5Pg9u7Jp111OGNg/HfDndxUMCHiQUZq7bB5NO+C8A+7w6C6PNqudpp/ 3ePotxXtCrwUzNeMgumfYOuyE2SGyeKnqdBH3kj2nwGUXs390nWQAY6yep9MjXYNBJJc VK95wgW/aAXy5kBXGNeiZj6gfyNLqL6l0KcObgVm11cYUMOa9mHtAf7QXiFiT4imcZGF rQDweFrBCDymuAM2c3ldytLG6ZG1LKc39lVm5RhffRhBr7GeoDBVKgBrqMWoimOGlata tonFmf3jr3iKUNc70O3idm3O/3Qg/pCtPHT/uNoL6WCT+AoIb1/KcV4HShU/IlydKLdv nsog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AFe+vqsB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n21si6149313ejj.497.2020.10.09.10.14.05; Fri, 09 Oct 2020 10:14:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AFe+vqsB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733073AbgJIJWw (ORCPT + 99 others); Fri, 9 Oct 2020 05:22:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:56238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731262AbgJIJWw (ORCPT ); Fri, 9 Oct 2020 05:22:52 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BF27C20782; Fri, 9 Oct 2020 09:22:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602235370; bh=9QDbQhMPmGQEhEsMut7dl1bPrUJtCAztPvmny1cCtMA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AFe+vqsB3QPkMjrCCaRz9Q4xFhFIVVNGBHQDq1oKY3HO0BlgLsTHZG7Kisx9QL9PV Lm8FML7/l5jjyWi8yGKq+SJFyKul92+40Ik9P2sm/Wnzmg3iomhBBcCTwM7eCTnqDG 6EQEOhrtJMvQOpxT8t4HyI6J30/V80gCyLNGFHP8= Date: Fri, 9 Oct 2020 11:23:36 +0200 From: Greg Kroah-Hartman To: Wen Yang Cc: Sasha Levin , "Eric W . Biederman" , stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Stable backport request for fixing the issue of not being able to create a new pid_ns Message-ID: <20201009092336.GA415570@kroah.com> References: <20201008130021.79829-1-wenyang@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201008130021.79829-1-wenyang@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 08, 2020 at 09:00:21PM +0800, Wen Yang wrote: > After the process exits, the following three dentries still refer to the pid: > /proc/ > /proc//ns > /proc//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 > Cc: Eric W. Biederman > Cc: stable@vger.kernel.org > Cc: linux-kernel@vger.kernel.org How well did you test these backports? I see at least one fix for them that you missed, odds are there might have been more. Please verify that the above list of patches _really_ is what you want to have applied, and that you have tested it properly. thanks, greg k-h