Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2275011rdb; Wed, 21 Feb 2024 02:34:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXJusJptyrNTDmuCYdzcLHDgd0huxzRFueRu7lldQFzDIzZal2fPf52fKsbeGv26IVNXUILF7cWxbcf8COf568QHcYMoDTj+kwYPPVq+Q== X-Google-Smtp-Source: AGHT+IF7vXFrzqKhnLzJwUJ1lBfb8RwHz2d1zK8DwwcTdX3ncRXfc04497ZGSwXpC/bT/uEYdbjq X-Received: by 2002:aa7:c896:0:b0:564:21fd:2710 with SMTP id p22-20020aa7c896000000b0056421fd2710mr7343880eds.37.1708511647582; Wed, 21 Feb 2024 02:34:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708511647; cv=pass; d=google.com; s=arc-20160816; b=cCp0rtPtiQzvfJA3KvSVMjCVq2x7z0IxMBTQl083JXS0CyMKvOZ3zEwH6YtFafYYcr sKE2f7/z+NjLWU5SyeLTiz4Ar0L5XZMV2Ftqyl0Y4N8gbZUMXT9wj6vHgYSG9uYgeKwz h83IIXM61RPH/CVUuGLw/Yu1ZgrfQjxP5IyY0FRed6FyHMmPh8vSL6wq50ScCaPVbi7A yGbe9GNAfDS1q17cBCfBA9HRT1oW+K6qbbnS9Dd1ohMzH0QKmqRoCB2idJQzsSdgCSSU a0ZLwe8gclJPoMfaLimfbqhSGw+MeG01wYVhq/3k7eNu9ZvEqDeVSO8K+GZ9Gp7PsuI+ MttQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XPXVrLuIRt27POaMZsP3ej6BHQU5UmpLmZfkUJmn1rU=; fh=mm9mPVLp3sq2hAM4xQXZ6rTG+V9A2724WHZVC9jILjA=; b=eYeSV5a1XSBWx0IRwdBy9P24YhX0jyspnzTGlQ3455x8nAqP7Fh151vHPj1AEA3r7n yObvUkb+j/v6gDFo781jXVg27v5jx9txnar/5yiwdnKE+hlbRl6L/XaBUrDbNV3faAfY mGum/4VAgzzM05Uo5fK1cJ6xmx0QQ+g8tbMkx2GfXYwCZzrEwsvGQxt/6eKSSypSvizT R6AsPCWzX/vkan6BysLLbcmTTkjRqRe2vkPdTXMiK6X649A2sNVQveRmLJ4oxSzz1f30 5XbOlrv/cgZCAoukLfghRaDfGlpPzLU0/oVKh8a0p7sNzJhfCYW8NB5jXGZko0fbAO+Y apfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=C73AFeeK; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-74535-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74535-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dj26-20020a05640231ba00b005610b045ec0si4360144edb.533.2024.02.21.02.34.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 02:34:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74535-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=C73AFeeK; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-74535-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74535-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 548E71F239D7 for ; Wed, 21 Feb 2024 10:34:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C40395C9C; Wed, 21 Feb 2024 10:33:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="C73AFeeK" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E06413D7A; Wed, 21 Feb 2024 10:33:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708511639; cv=none; b=SRvLb2v955WECo/VNqSgdkRPoXaEsaKUb7wm9Ripbs/say02/AzROxI0utbl4OCsoDqt10GYJlDeG2Pmwf6Glp5GcmQa8YF+txfwhXaahlXnz3kWzmAB1/MiLlG5njalj3bVEtUOaCkfz9OUdVX2eW1d6sfODb9f2lLSLqrSscY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708511639; c=relaxed/simple; bh=BOPSX0/N/WnBv1zcyAER1JjpAJ3iH3Gs6X63CUetxWg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qJCJj+/GFw9QNTZuOzK8Mvb01j68keW/c4C4RdvSOKMILVPCqyIKkBjkrUzHgiicWrh+QBnyxKTnhKr4ORkILbUe5J0FHpAf6if/aEwd06qsviw9W/M0wfkMPx08eCtrrYqQs3nVoSKy9UL4N8TNraAbKs4MJuDlF/QIIqs6Xgc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=C73AFeeK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1FE2C433C7; Wed, 21 Feb 2024 10:33:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708511638; bh=BOPSX0/N/WnBv1zcyAER1JjpAJ3iH3Gs6X63CUetxWg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C73AFeeKkCoRVPJGqiRkIGzoxp4r26M9sOXnk+gDOX3bMVNFu/3CbMu6amn/EjjJF JW18d1eHmrQet7XbcdlFI4HZGyzr7wqo7jwYt3PobKeVRcrvSTW1/PENAFzlzbUWD0 5X7ix4EZs1sYPNTV7RG6a3RAx2dR/rcCPyvN6w90= Date: Wed, 21 Feb 2024 11:33:55 +0100 From: Greg KH To: Michal Hocko Cc: "GONG, Ruiqi" , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Johannes Weiner , Roman Gushchin , Shakeel Butt , Muchun Song , cgroups@vger.kernel.org, linux-mm@kvack.org, Wang Weiyang , Xiu Jianfeng Subject: Re: [PATCH stable] memcg: add refcnt for pcpu stock to avoid UAF problem in drain_all_stock() Message-ID: <2024022134-tackiness-earmuff-59ef@gregkh> References: <20240221081801.69764-1-gongruiqi1@huawei.com> <2024022119-bogged-action-c877@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Feb 21, 2024 at 09:48:05AM +0100, Michal Hocko wrote: > On Wed 21-02-24 09:40:29, Greg KH wrote: > > On Wed, Feb 21, 2024 at 04:18:01PM +0800, GONG, Ruiqi wrote: > > > commit 1a3e1f40962c445b997151a542314f3c6097f8c3 upstream. > > > > > > There was a kernel panic happened on an in-house environment running > > > 3.10, and the same problem was reproduced on 4.19: > > > > Now queued up, thanks! > > Give it some more time Greg, http://lkml.kernel.org/r/ZdW2gMajIw_cUN2-@tiehlicka Oops, now dropped, thanks! greg k-h