Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2232651rdb; Wed, 21 Feb 2024 00:48:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU2Vh9gen/oUlUoY/n54ghLyzbbPpC9NXofbJoBssVoaHrMU00BFtmQ+2/m/6BTUfR2y6c2z4zVKZjwmsXz35NNtMDZovywDnxJTktQYg== X-Google-Smtp-Source: AGHT+IEiKNZ1/EHNr8cvvxhgheIRtoIbrdV488Qioxr04hOdUVIgohM0feWT0aU4Ju6qREHDS2YK X-Received: by 2002:a17:906:4896:b0:a3e:74d5:c00f with SMTP id v22-20020a170906489600b00a3e74d5c00fmr5658179ejq.65.1708505302531; Wed, 21 Feb 2024 00:48:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708505302; cv=pass; d=google.com; s=arc-20160816; b=P4z7YHpwSBTeSNXK3XHNxclS5oPK89RpGmEaKH6F7ZLcl0aOwOy0uBi5OSCJU3UT9d WFqGDKNc+cxJGyMOtHhqrQL6cISXE5OK4HULTfBRaBgpdrGRGeCzdIMFqyvfKpsv3vJF 8DZvaEmTVBSqOndOifpov8FTKeyyns2YCSYSZ3tka+xlx2rET89qW9uonsNpGjZVVvtj fLSO3k+cDJVllQz3O6eYN4zcTHVdp9FfWJ8dzocey6JBl+MgY7xH5D5zf6S/rP/BR9LP gUvaukpQ8wQCfPjTUDF+rjVXJJY/cBEe7xdn3I1Q5rz36viaw7BqUATs547N6OFkGX9m BnBA== 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:dkim-signature; bh=w5816RGw/j39WoE2zZEO5USdo6xNlHTN6koZRBrJLA4=; fh=Y1528ZQYFouIUnASI1OYspJy34s6CNQBV0+Nlv5gTXw=; b=ZHS8Zp6AHzqo87khPEz/W8/Y4Jed0oGZK+SKEpgXxIJCzXw4irgzU+GeKKQWpwoTl2 tK30wYH2gvK+CMmvak/VRC5L+uILvNbbuPAkTT3Yv1nqxd8xwV1G3rz3uZHJmjEDbXxE UgH/OtlOmTITtzWn2POjFquYW8GYU4A8gF0y8wQKlG/R+J263OF9MIntiWmmFH1ubt+h rZQW0sFgA82f2G92pupzjbj5qazh9lzpUFBQjY/KMqfzs+0VT3GTSPgocLTo3Tf+IWs9 twdsXa7z0C0JU/dUxE22lmXvXVubAvHRfbcdURWfgqlsbBRIEvPRW+Qr7bZFfnsfwprK H+Yw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=MuyQoYny; dkim=pass header.i=@suse.com header.s=susede1 header.b=CODpCW6j; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-74324-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74324-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x12-20020a170906710c00b00a3f4c64033esi180278ejj.207.2024.02.21.00.48.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 00:48:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74324-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=@suse.com header.s=susede1 header.b=MuyQoYny; dkim=pass header.i=@suse.com header.s=susede1 header.b=CODpCW6j; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-74324-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74324-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com 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 4A3A61F23D52 for ; Wed, 21 Feb 2024 08:48:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 81C573CF54; Wed, 21 Feb 2024 08:48:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="MuyQoYny"; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="CODpCW6j" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E07CA3CF40; Wed, 21 Feb 2024 08:48:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708505289; cv=none; b=OCdibsMdemeKGZR4NK4kfZhbrIabVfb4EES8ozpECzTxE11brA+avSJ8v0HgIRJPJDb2wbN7aF10RG9tI4t4ZXWN7APmItOXqGoxqr15PrKOM8PsTNilSXEbzK2xeBJ0iWpZA29c5Q+XrCYajW5VQgoW4yZq3/hvXwxgFRQ/clc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708505289; c=relaxed/simple; bh=YcCWbDSlo7QLQYDoEPSoFM5eNkpT500njQPZDVtQJfg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nonYF+hkn2mXqAFPs3dbmNnqSs/ihBuMXTh3f2dTASCYDvwQ1HsTIKhK4yF3rC0yncNk6Gz6coHoUl2d3hUt5xYfK1AfIG35kRWQQwPXohtArLDtQ5hDQStDiMUlHp3pT+rSsElNoEQn2Ak0SOd8IVvcrkuWKU/ZvFW1P1IXrfc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=MuyQoYny; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=CODpCW6j; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id E9F361FB49; Wed, 21 Feb 2024 08:48:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1708505286; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=w5816RGw/j39WoE2zZEO5USdo6xNlHTN6koZRBrJLA4=; b=MuyQoYnyj/envEa0nOPFxjsn+4YSQNLlyILD/KTntO0aSdNlDQP6FmZRlV6oVufRBC1JYZ 4Cj+0MIhEYDw84L0e3Uo979m1rehsouGxST6gJlvxa1Z5+Zad+bA4sw6YVoyuLae2TFPFr udiUJ2/dBQSqCbNuhhDpWpZn9uoKRJY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1708505285; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=w5816RGw/j39WoE2zZEO5USdo6xNlHTN6koZRBrJLA4=; b=CODpCW6j5L1rhcIplo+vpU9LKXAfzhjSDF8F/BcR3U2FU0xS6zz+MGmCoZo1h2fRXyGyw3 plc8Eub//Xns6msMCt/0SsT7Hc4802BwVFcquNOH2RLZnszntMPb4G+02ANqfHGnxMcIqo Ppmk9SUDRD1xJqajqaDQEy2wkr9cOZw= Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id CB050139D0; Wed, 21 Feb 2024 08:48:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id i6bxL8W41WXwKwAAD6G6ig (envelope-from ); Wed, 21 Feb 2024 08:48:05 +0000 Date: Wed, 21 Feb 2024 09:48:05 +0100 From: Michal Hocko To: Greg KH 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: 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: <2024022119-bogged-action-c877@gregkh> Authentication-Results: smtp-out2.suse.de; none X-Spamd-Result: default: False [-0.58 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; RCPT_COUNT_TWELVE(0.00)[12]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.98)[86.99%] X-Spam-Level: X-Spam-Flag: NO X-Spam-Score: -0.58 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 -- Michal Hocko SUSE Labs