Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp766707rdb; Mon, 29 Jan 2024 19:02:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhAYKVxDQclMLgmSADhI5fl8ek0On8P9vFm94K1UR4KGPkAM1zBNNfl0lendxtmxB9OmD7 X-Received: by 2002:a9d:6b04:0:b0:6e1:1496:67a3 with SMTP id g4-20020a9d6b04000000b006e1149667a3mr9245467otp.60.1706583769712; Mon, 29 Jan 2024 19:02:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706583769; cv=pass; d=google.com; s=arc-20160816; b=v2sBhHGoFZNqKjD8hiXyl8yXdqRDIO92uXA3YqcsLoydpG0ZY+ck1JI8pJsEF/YozB kSgdWtjBplE5KAp85M6DPNLh71QrS+Wk5QeCl9rA1WNLK07vGOeWPc2cgxP6YSaroOAK p/Uzin+Gb0vYB41COPf94yt/aorKZsGv+eJMzckLDXrVEI//dhI527zAg+2uiu7maWOJ trDWUwpg86vnmcF28gel5RAiQgASa2K+hpZb6b2WV+tqoL0ql3Jn+fUOLqGP400ogQKz frI8ikIhFzQI8c322ElzWhHmuSTo1NTfRsobTsIFV0Dnu8uDv17UVLQTJ95x0v4P0hcn YJuQ== 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=JCXBqSej7X9xmvzctrfkV79cun5I2fkyVI7US30JjdE=; fh=05gNuGBf8LxZAFlXkTbdPfOKLlf+O2E9jSfVqiO/QQ4=; b=Hvg/IcRRKAYFAw/Riv2/+mpH84qbyunMC7CepfGNpLOGUQpyg7I9nCapqbcizhYbMb rjxaCsSRqcgH+nOXIZdEn+b+k34lzaehL3kXJJsVzJkUsEChePoaQgQw797DBwF6rFxj rUSHoZxUzUK74GQPVwEyaQSHatKtwZz+f3Wemi9ZLOvS6Pq1XHkbMiF1VvvGBawLXJWa C1D9jo0RtYZ8KcF0jhHpTt86iNH3zlN3UXF7+XwNMUlxtobrOyAPm4JigTT+qluYP1EU tjNTLrefeZwOaUjcCjxQR9tGwaGF6n2QaHkrCLD7fYxqb067HPh12vr11CUJnb1fwaPJ 8XbQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=mFuXXzit; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-43553-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43553-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p29-20020a63741d000000b005d48e659692si6457362pgc.753.2024.01.29.19.02.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 19:02:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43553-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=@infradead.org header.s=casper.20170209 header.b=mFuXXzit; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-43553-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43553-linux.lists.archive=gmail.com@vger.kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A41B82853CF for ; Mon, 29 Jan 2024 22:13:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DDE3159595; Mon, 29 Jan 2024 22:13:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="mFuXXzit" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 C6243159572 for ; Mon, 29 Jan 2024 22:13:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706566412; cv=none; b=cQbcf6TF8QKaKdKXdwjl4a0IpxC4rANEBp8WwzunyWRJkNv3HUXKxNd1rEOE2e5guLUXqcK43jvM36n7HMREigMi51rr4FKKwWabfIfKzUucuLikU9IVZlY0N7DQuYKrc0l5l9V6cLjIAMbJ00HlQ1qBXhgJfwejzytfYOsG7eE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706566412; c=relaxed/simple; bh=+UBZjeypPym8/ohCgDx7XPk3dKBYj0DKy9qt8tmB0c8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=W63xnWSXyN15Te1Y92Hz8DC/Qi4RoCcWJUnQV0UrRKAU4aQtvWW0QHF/xexBpII/A0UPOby0gClvVuJUfM5v3yMGDbDV9zss+s61bHXs3DC+3xbVeBUXLIK2zs2FKnSHOadEcJWhyZNpdjzVaI/8y3bHLkgy5I9XpBI9D6FD8/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=mFuXXzit; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org 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=JCXBqSej7X9xmvzctrfkV79cun5I2fkyVI7US30JjdE=; b=mFuXXzitjEl/D4S9MwNvPSNvyP 4Zh9bQ56Tivc6zdM3tycSmZ40z9HLNru8T8m8ZVEDTGHaJiA9wgXMvBl0c9B/SVlY+zCehUbpIH+n GgiIAVCSy5ViY3Qez4hJx2+cZB3bPhngceltE5+kzpWf8EpnXvfTu4uih72uTFCcKqkLOHM+FWY4e bQSzjnjiiXu0xmKfhzDFZ+hUALCv9fKZ696W1uj8eZQW/QgQmv9SdBGUtT2Ex7nmh2D6u3NDcUvvD 9pDr27IRWQlHXdaSRd9HUyvHK8THCcXGvImArL4HtmDtlJgsbyZ1jfIijH4rkNA3KKOHpOSbtpXNd 4y41i2Fg==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUZsW-000000080xV-08D6; Mon, 29 Jan 2024 22:13:20 +0000 Date: Mon, 29 Jan 2024 22:13:19 +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> <37af8f84-98bc-4733-bd9c-102b62fdd028@oracle.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: <37af8f84-98bc-4733-bd9c-102b62fdd028@oracle.com> On Mon, Jan 29, 2024 at 03:17:27PM -0600, Dave Kleikamp wrote: > On 1/29/24 12:29PM, Matthew Wilcox wrote: > > 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? > > I was able to reproduce it too, but not after reverting that one. I believe > it is the only one causing problems. > > I only asked Sasha to hold the other ones as a precaution until we were more > confident that this one was the problem. I can't reproduce any problem with v6.8-rc1 + this one reverted. So I'm not sure what my overnight soak test found. I'll try a few other things ...