Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1174374lqj; Mon, 3 Jun 2024 12:27:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVPYbniOTOhnlxBgDtft/uhRYpfjTb5AdobWAA1Knmw+cvy8Gv2a+p8mgdcKyV5Dl9S7PwvTfavB1pKEWLjjanqgac91lIksfiDaCbR6g== X-Google-Smtp-Source: AGHT+IG/haJwa8Wz/vRRCn1+PMcPnK2XryGIaXmLbHvZhgru/ogLGo9atn8wdrBa0mQM/lvjCV3Z X-Received: by 2002:a05:6a21:2723:b0:1a7:7ac1:a3ba with SMTP id adf61e73a8af0-1b26f297255mr8843308637.53.1717442873393; Mon, 03 Jun 2024 12:27:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717442873; cv=pass; d=google.com; s=arc-20160816; b=Th2MAhafmn9Ud7RvReY+X240NeArkAjZqak9dSd8v3x1X9hx1lxWRXr9rynPbyA8o2 KaaGwjcPVcsu2Bl8r3cNH9Su/OpDCMNXlyQFvtt/n0eUN3Nc5WJlvA02JlBdJrq39Eq4 OC933NVJBpR3TZCcox2QmGUKiVLA/CR2DPfQSNLEzSBxw7by7Q0LmfcdUACITVbm4uj/ M/xcSsEBkEglJlsvBfDJ1h+6JiW10htvJxcGQcmkxQbRqXPKiz7enthiCPIh1VxeyTVG wBBPZVhNbv3VF+W/XAhB0Uk0rcWsyUeIGLBSPi9gnJ6T4DsJceCpQSjI6iXDc5JGLIcA l9Yw== 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=noF10pCDRK/dJImm3NQkYvsew29diU58F+L0dfPmzEw=; fh=nOGGuSlWVb9I07Xduhe9VrzLVPS8nAjDIHBZ/vhmZSk=; b=E4Fl8Ae7Xv+LMpizS24LvtfTWfR3pwowqgg5Jq4yG4Smq+VKpSz391J+38CEnxT3Dr D0f6RbiyBV4Po98v6+bijqsMr2sk3ycyryz/IKOHK/ad4LTZqKrumFLHwc5YjdGKHV3W Rf8RjHH0ZMRSLMf7a7BaF+y9cJc97lSnE3awomF+DN7A18/FYhts4MYFZaO5HfnsrAUn p1ujWLI39XAt3Z/hLENAXiFOElqg5xM2sdHnNWrWm9LfFoJPa3pZyIiaWrPEseYoj/ZD 8Zcxc9fBcsFjuVwSQycYJ1kuHezAmisWWLvkieco3SHW43LB8B/RultfVUP/Lxum7mnm uMQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=cGwbRZmi; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-199635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6cdf9456b65si63030a12.547.2024.06.03.12.27.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 12:27:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=cGwbRZmi; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-199635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B6EDC2890B1 for ; Mon, 3 Jun 2024 19:23:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2068F1386D2; Mon, 3 Jun 2024 19:23:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="cGwbRZmi" Received: from out-185.mta0.migadu.com (out-185.mta0.migadu.com [91.218.175.185]) (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 9CE0F23A0 for ; Mon, 3 Jun 2024 19:23:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.185 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717442588; cv=none; b=nCLKqd9msNU6WG4ROwPgC5vCEYAKOjloqLgS7TIK/1GjaTQBuLRnkfTSjp/lIRJKcv/6G4XKJfvoj1+2jYEm1hk58D1EY7pSPHbEzpH07GLLB184bTuog2qQJ1lr9Bwv2SBog5uR7dc3+8hktMcmMLUttBM6GGR9jOamT5XTuFg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717442588; c=relaxed/simple; bh=tCD7rk+TtcL9XJe2ohfT59ATEbHKkJKQ9F/BSCYgZhc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=U6n50ETmTnAO6/C70iOyGdWhrMzu2oXa4/Db+Q6yPPPEmikSRdlvGvf3UhjY4rA3vxs916xHzaaQfiiGqbA4gdA+o6RXAomHm292b8nPiIcsj/JcDC4gS1h6S1IUxzlZjpw9BtQ6OOvW+x66xPJMkmAzIHKPLIsRqKyCymGqbqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=cGwbRZmi; arc=none smtp.client-ip=91.218.175.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: arch0.zheng@gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1717442583; h=from:from:reply-to:subject:subject: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=noF10pCDRK/dJImm3NQkYvsew29diU58F+L0dfPmzEw=; b=cGwbRZmiF4OqO07Knc0n/bOwCeAVfxMqx+CVF1plc7U8qsxiPIrkLpulsp9CqQyIZEUU1h KzVM/scchz7En6X6FFcMKhzoUQmnuxzyZu9tUpnSM4P6RJSSHLgf6t6ZaWVEx3asFqGZly DlUitqiCtE19n83YFN7IIfxMEU16i7I= X-Envelope-To: syzbot+981b8efffb3d71c46bef@syzkaller.appspotmail.com X-Envelope-To: akpm@linux-foundation.org X-Envelope-To: david@fromorbit.com X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: linux-mm@kvack.org X-Envelope-To: muchun.song@linux.dev X-Envelope-To: syzkaller-bugs@googlegroups.com X-Envelope-To: zhengqi.arch@bytedance.com X-Envelope-To: shakeel.butt@linux.dev X-Envelope-To: hannes@cmpxchg.org Date: Mon, 3 Jun 2024 12:22:57 -0700 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Roman Gushchin To: Qi Zheng Cc: syzbot , akpm@linux-foundation.org, david@fromorbit.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, muchun.song@linux.dev, syzkaller-bugs@googlegroups.com, zhengqi.arch@bytedance.com, shakeel.butt@linux.dev, Johannes Weiner Subject: Re: [syzbot] [mm?] UBSAN: shift-out-of-bounds in do_shrink_slab Message-ID: References: <0000000000003051770619cec4f8@google.com> <9a7718e0-e30b-4b87-a0ed-dfcea389eaed@gmail.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: <9a7718e0-e30b-4b87-a0ed-dfcea389eaed@gmail.com> X-Migadu-Flow: FLOW_OUT On Mon, Jun 03, 2024 at 11:25:42AM +0800, Qi Zheng wrote: > Hi, > > I think this bug was introduced by commit 6be5e186fd65 > ("mm: vmscan: restore incremental cgroup iteration"), and > can be fixed by commit 9c8805439853 ("mm: vmscan: reset sc->priority on > retry"). I'm almost sure it's the same issue. Thanks