Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2759245rwb; Fri, 16 Dec 2022 06:15:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf5xuCmJh6f7UhJM+U/Vk20kkd+ofRsTrMynfcpc+ViqE8voxIFpDtecWD22QfuRvQkuTOcc X-Received: by 2002:a17:90a:a012:b0:219:b034:941c with SMTP id q18-20020a17090aa01200b00219b034941cmr32823288pjp.18.1671200101517; Fri, 16 Dec 2022 06:15:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671200101; cv=none; d=google.com; s=arc-20160816; b=y9foNMRzYC3m9RxL6Wy+lHeww/464LmDjtvZNTfgen4Bf1+PVK4rBsuoUmhWLasLwh CSvRVD5K1zCAYs2E7Frnym0UuNnN4L2LVPmPtl6QMimxjTVczpEUqpXrD1YVdke9ZZuV fz5VFMmWZo+xDjA1pTltgMP1vE2l9TeDhs4p1fFxDyKvcSnRs4bw6zADwvLNLR0OWjy1 BVnqWIxMFVCUOTfyhVIQODSmyX+53dfZI4ho1OgVpkC8p+AqSfrvMvui0cL9X/to1wwl fhZVouug52AFXqXe79lHTv3/iWoVBGviIIJINArk8HTpgZ69rsnCTdGX42K8lSWqJove GdOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FaYngC064D8cbbjcyn32Dqb4vsx11rGoMI/ZwUymdOI=; b=JMoe7MWaIJs3twyl9pacHZQAyj/2ltSx+fYbYb8KGXT7ZP13Uko2QRHvIuyfEm6i5g CvdBRqN4Rb+WSU0fNIo6P49dZvPOhNl/576vabIeNYjwWb+dl3RyRjMHQECL6KpeTDN4 D7JY+1XGgMKX+r4TwDmBJlzv7u+DxLJajEepfZ1vqSDaLkHrkBlqf+nwidclI1yndyyR 20Dql4sXwFEcb6vWNxRUbKMtrjSIFC0Z3DAA449rFCOVVkc9xn7km9MbUkVIk5rHMm/1 phJAJR/k4wOMuzfQylWoPCoEGMP1u12YEC2No054BPWNRc/jZ/Gaq+r14bGoas0WQi4n TTJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pBeXgzD6; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id np13-20020a17090b4c4d00b0021a05416404si2956015pjb.67.2022.12.16.06.14.48; Fri, 16 Dec 2022 06:15:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pBeXgzD6; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230389AbiLPOND (ORCPT + 99 others); Fri, 16 Dec 2022 09:13:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230521AbiLPOM5 (ORCPT ); Fri, 16 Dec 2022 09:12:57 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5BAA11441; Fri, 16 Dec 2022 06:12:56 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4FB5E6212A; Fri, 16 Dec 2022 14:12:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D55F3C433EF; Fri, 16 Dec 2022 14:12:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671199975; bh=26Mosu5Cz2UgSpReY99um0xG14PZU5nCcjyyW+3e/+Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pBeXgzD69ynXqAnQcwRVH03m6ilshVHImvxwy1hVGGmGVcmm5HFxswB2u+OcQkebe 4mtDusbv5FElPGUJN9VEdqhGdXqqwchF1NO6rPe3dARiRlKielSmB3oFkJAu9rfBhs tY5oB87UzO1gm8IpbokJXghg1Om1NaWAV9bKmRy59+wXfxpPKto2wkMJc6UUndQ9Uy NgoU8/OMEL6krpUoIKnZ2c3t5tFz03UDSJnfOxSVSl0lrhqSoMghiSe22zt3+fO6vg nrmQgfxRFoLcAmT5XgjS8WDkwZga+LMXEfbmmnXtVUPQY5RFkhuBuGRAiK2QDvATJk GU8qlzzt0PdjQ== Date: Fri, 16 Dec 2022 14:12:49 +0000 From: Lee Jones To: Aleksandr Nogikh Cc: Theodore Ts'o , syzbot , adilger.kernel@dilger.ca, gregkh@linuxfoundation.org, lczerner@redhat.com, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, sashal@kernel.org, stable@vger.kernel.org, syzkaller-android-bugs@googlegroups.com, tadeusz.struk@linaro.org Subject: Re: kernel BUG in ext4_free_blocks (2) Message-ID: References: <0000000000006c411605e2f127e5@google.com> <000000000000b60c1105efe06dea@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, 16 Dec 2022, Aleksandr Nogikh wrote: > On Fri, Dec 16, 2022 at 2:01 PM Lee Jones wrote: > > > > On Thu, 15 Dec 2022, Theodore Ts'o wrote: > > > > > On Thu, Dec 15, 2022 at 08:34:35AM -0800, syzbot wrote: > > > > This bug is marked as fixed by commit: > > > > ext4: block range must be validated before use in ext4_mb_clear_bb() > > > > But I can't find it in any tested tree for more than 90 days. > > > > Is it a correct commit? Please update it by replying: > > > > #syz fix: exact-commit-title > > > > Until then the bug is still considered open and > > > > new crashes with the same signature are ignored. > > > > > > I don't know what is going on with syzkaller's commit detection, but > > > commit 1e1c2b86ef86 ("ext4: block range must be validated before use > > > in ext4_mb_clear_bb()") is an exact match for the commit title, and > > > it's been in the upstream kernel since v6.0. > > > > > > How do we make syzkaller accept this? I'll try this again, but I > > > don't hold out much hope. > > > > I don't see the original bug report (was it posted to a lore > > associated list?), so there is no way to tell what branch syzbot was > > fuzzing at the time. My assumption is that it was !Mainline. > > Syzbot is actually reacting here to this bug from the Android namespace: > > https://syzkaller.appspot.com/bug?id=5266d464285a03cee9dbfda7d2452a72c3c2ae7c > > > Although this does appear to be a Stable candidate, I do not see it > > in any of the Stable branches yet. So I suspect the answer here is to > > wait for the fix to filter down. > > > > In the mean time, I guess we should discuss whether syzbot should > > really be posting scans of downstream trees to upstream lists. > > In this particular case, syzbot has captured all the recipients from > the patch email [1], because that email Cc'd > syzbot+15cd994e273307bf5cfa@syzkaller.appspotmail.com. To syzbot, all > these people were involved in the original bug discussion, and so it > notified them about the problem. > > FWIW I've sent a PR[2] to make the "I can't find it in any tested > tree" message include the link to the syzkaller dashboard. Hopefully > it will help resolve such confusions faster. That's helpful, thank you. -- Lee Jones [李琼斯]