Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2230042rdb; Wed, 21 Feb 2024 00:40:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXknzfnzW9lXOiGf1Vq4dDOgEr/Xyqn5K0APdsRwMsuMCsRCF323YuWY1f8TbNwDXVu/8MRxp05DCWUihQmlEAr3WF2iyVVgVnmculs3Q== X-Google-Smtp-Source: AGHT+IEPiIvkENuQN+JbgKHug0FQCsH7Chi4wn1+zuqKnE1AIAgcQrDq43GSK7rwnOGERe2C5aS7 X-Received: by 2002:a05:620a:55a3:b0:787:240f:f438 with SMTP id vr3-20020a05620a55a300b00787240ff438mr17564123qkn.22.1708504843733; Wed, 21 Feb 2024 00:40:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708504843; cv=pass; d=google.com; s=arc-20160816; b=js0p2GU7q0rNkwa4JgEAojSmXlJqYSB7NE/MShFsUd7joNeBPuFO2pUUd10KzSeogJ lovMxNddqgTgdS+Zom7jdvTdZf8BUX9hBrm+dpXFRApk/q6OzeZCJPZBrT2REEV/2g1C uuIXNrsBelRm64BZBJgjNL5sB25xzsrn7E8Bv5Q/EC57XRDyGeAa2iubXu0/LABH5kFx sKNbzL1/vbXvuZZGNZu7tcJD86PrDE2lwmO2OSNPseVOPFYWkvH7SN/ec5lG7sw90tEk RtZHRccqWDkl5XDU7+X+rPm1BCYfSC8g0FjChOlxzKH5N1iuQOqgKVAZXxZbw1DtYhAF O3OQ== 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=eabD7sEvpBnzgdHQek2FogFVuvuA/ERN7zXlG+Jnhw0=; fh=1B0y3INLR+XNz/yl3D5vvkKbIHBkxErdHMwmp5x3PO0=; b=epz/SouNWi3ddsxfTfRhZ1ECYq4JKkJG82ankWrSNPEoau6CHYmvMmhOHHkXsEUTCs ml5pVNVjZhHB/y58HRXlzKX+7KrnKkruTaWLTmA8ZpWDyp4aGzm+3AN1o7d+B0C+nPKq WM1KGXiZgNky4/HhEhhcoHlPC0uoHOFmztvFF6N7VjlkBa/ru5m+kbgb9ESnWN4n2hWd ICfohu4fPXtZGi2LkRuEaeKzezxUA8G3b6YHvJPHgHlWQM9bjSclfOttKSfBc299ZrGN mWyDkoSsSVSoBEWmGIaMZ+XRvHyXtqRVo4ZJ2s/u82pnBy/uA16ZXHQr6jw4LtuF+kkk Kqdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B3depReg; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-74317-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74317-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v5-20020a05620a122500b0078717fbf06asi10306166qkj.459.2024.02.21.00.40.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 00:40:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74317-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B3depReg; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-74317-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74317-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 580691C2221B for ; Wed, 21 Feb 2024 08:40:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D24383CF40; Wed, 21 Feb 2024 08:40:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="B3depReg" 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 E90473B793; Wed, 21 Feb 2024 08:40:33 +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=1708504834; cv=none; b=JunIH0YVdaABl7hOHVDnsjLfiEVGwBhon/QUGHM0pR/6JCXwEPz5a9JvPhjMZZrl560JqHqt1sBL7TmdAyuyXCGhzES28cykLrv0R+Uv5ssJ97wcr2Ud3lQ0MtEk1/jeFMu9XI6EDa6QCRT9h8gSMPska4Cl3Hez/biOOfVmdb0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708504834; c=relaxed/simple; bh=7xitJWaFMoGdC6EmLXwVDyXLfZ/qyA8Ri94E+4oSwBo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e2joHhXrQFeIH7Pm1u/d0FDUL6kzPNEVymhtcB9IBIrCMDyUS+GiNceogfy2eNeTN2hTzXTCQUS1QTC75/E54l7WmH/eP6BuLBJrFgQLW4A9Gm0IhhO16+h/CrILGZBat5+zteZ1U+DzA3rTz9GQgMt4t9WdufVuns5zUkNbOMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=B3depReg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCBB3C433F1; Wed, 21 Feb 2024 08:40:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708504833; bh=7xitJWaFMoGdC6EmLXwVDyXLfZ/qyA8Ri94E+4oSwBo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B3depReg/IGMEtUNuDRiMZ2IiMTU9kg4eUCMLIafaOgPrEcPIb0N2BqxURQDkLZTW JNwXF2Hn8lBCQlv0hLLvPFkns39+Oe43La/4jxTbRtPmWe9D5fI8v1PoqsiUs9SpN+ K7I4WTktlu4X8t+TaPf7TXK8FOvSL2PshK62RxQA= Date: Wed, 21 Feb 2024 09:40:29 +0100 From: Greg KH To: "GONG, Ruiqi" Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Johannes Weiner , Michal Hocko , 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: <2024022119-bogged-action-c877@gregkh> References: <20240221081801.69764-1-gongruiqi1@huawei.com> 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: <20240221081801.69764-1-gongruiqi1@huawei.com> 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! greg k-h