From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 B82B16F08C for ; Mon, 29 Jan 2024 18:29:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.211.166.137 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706552994; cv=none; b=Y+5hRs3KcQUojKr/Q5CNlNlXE8Vvgio9sy2ubcxTWA2gHyd+kO5w2m5ox+vPNxtpI1fxspD9T6d2y3DUqVjfNNJ5O7PPfIKSJxQ5uEWJpUgVmZBRyHo3arxBkHdHC/GmY9eG6QiSUbaeE+uMjA21zKufnZPbXvlRQfJYSp58C98= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706552994; c=relaxed/simple; bh=C5reL8/AQXoUw1TSxfQy5hhY18bwgr15t49YsMn+zT0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=h9duQaAmRLdEJ9sx1Z+ZKPH3x6mBVYx5e38JuDEj/KnQIz8L9NLL46LVeAdXO7HgCK6dfWktMFEwcS1hjsM8do/fWyVdr9Cjabhme1OQbrmAEwHbsKRbqdyZTSDfETHSMwnZc9ziO088hvPAjppAQmkwSbZS2ulODlXPkYHF6lk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=TlTdSeJM; arc=none smtp.client-ip=140.211.166.137 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="TlTdSeJM" Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 3F1FD41781 for ; Mon, 29 Jan 2024 18:29:52 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3F1FD41781 Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=TlTdSeJM X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -4.398 X-Spam-Level: Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TTIKsITGnXnv for ; Mon, 29 Jan 2024 18:29:50 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by smtp4.osuosl.org (Postfix) with ESMTPS id 50A02416FA for ; Mon, 29 Jan 2024 18:29:50 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 50A02416FA DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=L15BcID6N2m2SSuhv58XpXjWm9YJ1v+eDodM3DQBG/I=; b=TlTdSeJMNlBeus/2VdtzaSVjyR ZFIM0+AuNPyNvc4rwhbOFnptVPGtnvZvwMEa6hbE5/7DQJ1WioyE6L65sSpFSzKzwaqvlrk4Q0A5J Q3QkOEJ+ESxun57sjoygJ9hE75u247qblK3KtHj76S0selNxypbHHUUoebVVMvG52CV8gSbXT73hm ceRRXtkXKZrywY216Rd2bzHPkbaTNlBdbxCZN3ZG80hHZkz6rut6DJyMO97S3GPaiK/z8WM44A92v 8qBNw7mFeSOlIj0qohYunggZdda7u3R71zj6Z+SAi8RQYkitHzbrx1gqa7JYpVlQojxYkqo5sIX3V njpB4acA==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUWO8-00000007Oe2-32RT; Mon, 29 Jan 2024 18:29:44 +0000 Date: Mon, 29 Jan 2024 18:29:44 +0000 From: Matthew Wilcox To: Dave Kleikamp Cc: Manas Ghandat , Linux-kernel-mentees@lists.linuxfoundation.org, jfs-discussion@lists.sourceforge.net, linux-kernel@vger.kernel.org, syzbot+411debe54d318eaed386@syzkaller.appspotmail.com, Sasha Levin Subject: Re: [PATCH] jfs: fix shift-out-of-bounds in dbJoin Message-ID: References: <20231011143937.31996-1-ghandatmanas@gmail.com> <551e1e86-f990-487a-ad88-53799df0882a@oracle.com> Precedence: bulk X-Mailing-List: linux-kernel-mentees@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <551e1e86-f990-487a-ad88-53799df0882a@oracle.com> On Mon, Jan 29, 2024 at 09:00:56AM -0600, Dave Kleikamp wrote: > On 1/29/24 8:55AM, Matthew Wilcox wrote: > > On Mon, Jan 29, 2024 at 08:39:18AM -0600, Dave Kleikamp wrote: > > > On 1/28/24 2:49PM, Matthew Wilcox wrote: > > > > On Wed, Oct 11, 2023 at 08:09:37PM +0530, Manas Ghandat wrote: > > > > > Currently while joining the leaf in a buddy system there is shift out > > > > > of bound error in calculation of BUDSIZE. Added the required check > > > > > to the BUDSIZE and fixed the documentation as well. > > > > > > > > This patch causes xfstests to fail frequently. The one this trace is > > > > from was generic/074. > > > > > > Thanks for catching this. The sanity test is not right, so we need to revert > > > that one. > > > > Unfortunately, my overnight test run with this patch reverted crashed > > again with the same signature. I also reverted the parent commit, > > and when that crashed I also reverted the parent of that. Which also > > crashed. > > > > So maybe there's something else that makes this unstable. Or maybe my > > bisect went wrong. Or _something_. Anyway, I'm going to spend much of > > today hammering on generic/074 with various kernel versions and see what > > I can deduce. > > > > So far I see no evidence that v6.7 crashes with g/074. And I know that > > next-20240125 does crash with g/074. I'm pretty sure that v6.8-rc1 also > > crashes with g/074, but will confirm that. > > I'll try to beat on it too and see what I find. > > Sasha, maybe hold up on to all the jfs patches for the time being. I have it reproducing easily on cca974daeb6c. I ran it a lot on e0e1958f4c36 and have not reproduced it. So I'm going back to my earlier assertion that cca974daeb6c is bad. Now, maybe other commits are also bad?