Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2752199rwb; Fri, 16 Dec 2022 06:10:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf5NOpV8xbjbZwL4yvUj+09MIWfAjjLImLaQTEepgFJOx299vi/6qgzBMIeT/o9eAGEJ9MW+ X-Received: by 2002:a05:6a20:3a8a:b0:ac:f68:d0f8 with SMTP id d10-20020a056a203a8a00b000ac0f68d0f8mr34129565pzh.23.1671199842318; Fri, 16 Dec 2022 06:10:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671199842; cv=none; d=google.com; s=arc-20160816; b=BCStSzW3UvII1oXoJ6vpP+kWdHeweCJfxmlXMsftoZS1FFICbdTf+3BYr3//HZ0pGZ 1YPtCK9utZXvmRu1byxH7RZn0BzcDCjXjqZa+yt56Xo39kUITaY9hv8FBxn6MODvvW3q RfSL0No7qH143FvZzHImPYaAiTuTFCHyBkHdQSUciDwxvh63NHjrzVJQPy5oy8+n6EdS 5Xr5q0V10vfm5R2Mjf4NK7S2Ad45o+upKk/kCYqdOYj+Z6Lm+l2ov9arSrPFQIz0b0xD TwE4ukllPpgKwGc5w1LJOYCKaoSvWygXimHmT6GNtQZJf6wj14CsKLyrRt6pIVAuA4Oo 06WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=FnRfmSoVrweCHiDP2b0XcKWHIVQTBT4Xkvqu5EsIIQ0=; b=khWL7lejCj7XVEGqwf/imsYeSHX5jLrKLWMO4rFhoTOZ3vWShBhbsioG3TdfiGm/1h 4Hk5djdF8t5YmhifDTcrIpEejeyLLzJOJM/eTQyq+jm5pjsRahR/TvIX8ohA46r/b8d6 9KvsXLEivfSVI9Ly8wjlOkWEzb1t1C9ukDnL4ykb+7oNZSrd5DRNjrgIqhoQwB7JoZlA zfQSVPwCdwb/lgurj4HONGjt7Up9agwvkAJnWEwpRAbX75UOd16P6UKg82kB2Pr7L9E6 wL8mgdc+P/okp79L4D0iDgmpWthuKv4z1zLk2WwhRjbJQVKr3uE9Lnoy80bsppn4Mt3N PMYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=VOwauKxP; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v2-20020a632f02000000b0047949c9c08bsi2861398pgv.111.2022.12.16.06.10.21; Fri, 16 Dec 2022 06:10:42 -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=@google.com header.s=20210112 header.b=VOwauKxP; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229863AbiLPOJT (ORCPT + 99 others); Fri, 16 Dec 2022 09:09:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229632AbiLPOJR (ORCPT ); Fri, 16 Dec 2022 09:09:17 -0500 Received: from mail-vs1-xe35.google.com (mail-vs1-xe35.google.com [IPv6:2607:f8b0:4864:20::e35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3B5A2B62C for ; Fri, 16 Dec 2022 06:09:16 -0800 (PST) Received: by mail-vs1-xe35.google.com with SMTP id d185so2419131vsd.0 for ; Fri, 16 Dec 2022 06:09:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FnRfmSoVrweCHiDP2b0XcKWHIVQTBT4Xkvqu5EsIIQ0=; b=VOwauKxPWCtAmTi3Wi1n4svZrbY1EFqlnEPgFCNRcge0fMzBZ4PPgHSZMe1lB0S47S W+eJaRe5NkVfzYfu1zXvThwENTXqsx40U+O8K0rMWmg3MaxgcP5EHS3t+ZoQKhU/J+C/ Wp+eIcCdsTqgXxbkrBWkA3ssnd3cciVmALdtwQu1n40TDg1pupS5XEoNOIclfyjcstfw Db1iFNlwt1ujdTOFsGpC6COskmi2QiOHK+Y3WSGhO+X68RTW/QyPYhHsJnQ4WscNTKDw 2tO19hncdHNAEtoatz2T7zTdvB6wyAJKbkOqMejJ8Qm7POyhANbF6/QHY34tqWneQekz TbrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FnRfmSoVrweCHiDP2b0XcKWHIVQTBT4Xkvqu5EsIIQ0=; b=QNR5VS3/0s2gIBg1FyF0l40yOqCKb96OIKRdej7X8ssTklBdamjnD4LTIVnBp1eOUU pOg8BntYKnLkWI38j/FOOVG1w9asw66VrMHhFXHq0E5v+BwEBCkNBMsEji85yDk2+w2G fO6UBjh6QUk0T+rkFaDqhfavJ9aOZJF3+bjwHT5NvApEN7tVbimX/J1ZSaj8XY5Le1o9 7oqRzdvuDCN+dwtjH84Vjj7h8mrs/5HNdU+zve8BW0mOTWj56Av1ULjzLmBaa7K239A9 gtH9xz3fLXBAZDUCgD6Y56lc2HE2X/SZHhZ175p5nB2FxRbFHOCh3zB5y8uJGLTMKIiC 6KPg== X-Gm-Message-State: ANoB5pn2icni6ONg7N7gRTiHzgKT27c8AvuM7X/Pi7VElm3gWQhshFF7 kwvQ9/kf5pwr+Rpxg5xRdrRgK+g6+ZLe0jsxzH1kX/RoxhT7WZJB X-Received: by 2002:a67:be11:0:b0:3b1:27f1:ab21 with SMTP id x17-20020a67be11000000b003b127f1ab21mr18748024vsq.48.1671199755907; Fri, 16 Dec 2022 06:09:15 -0800 (PST) MIME-Version: 1.0 References: <0000000000006c411605e2f127e5@google.com> <000000000000b60c1105efe06dea@google.com> In-Reply-To: From: Aleksandr Nogikh Date: Fri, 16 Dec 2022 15:09:04 +0100 Message-ID: Subject: Re: kernel BUG in ext4_free_blocks (2) To: Lee Jones 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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, 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=3D5266d464285a03cee9dbfda7d2452a72c3c2= ae7c > > 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. [1] https://lore.kernel.org/all/20220713185904.64138-1-tadeusz.struk@linaro= .org/ [2] https://github.com/google/syzkaller/pull/3591 -- Aleksandr > > > #syz fix: ext4: block range must be validated before use in ext4_mb_cle= ar_bb() > > > > Syzkaller, go home, you're drunk. > > =3D:-) > > -- > Lee Jones [=E6=9D=8E=E7=90=BC=E6=96=AF] > > -- > You received this message because you are subscribed to the Google Groups= "syzkaller-android-bugs" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to syzkaller-android-bugs+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgi= d/syzkaller-android-bugs/Y5xsIkpIznpObOJL%40google.com.