Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp588574rwr; Wed, 26 Apr 2023 03:46:52 -0700 (PDT) X-Google-Smtp-Source: AKy350YjJ80arfVfUJG4i5YDaBbAVjV0obJEOyvShCqlM/5IrsgvVzyRAViIj0KX2Yyr2aYHh4Eq X-Received: by 2002:a05:6a21:798:b0:c6:c0c1:b1fe with SMTP id mg24-20020a056a21079800b000c6c0c1b1femr22205871pzb.57.1682506012045; Wed, 26 Apr 2023 03:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682506012; cv=none; d=google.com; s=arc-20160816; b=VyDFOIAO8OmgnPh6ZuDH91bI0iwcsQ0aGvgt50NB9ijbGoONoZiXdOY/s7nTQ+GOot Xb16PEKYdHbhbbGu8LZ3e0aXMA5czviVUnenHZoDyh+78fpLxGeB1R5imCWjrLcBQo2q GN4k6NqWDxpcgIMShd4St/vKPFIHJSSqz1OMCttfVPH9HnBiozNFiGfX4RF6BauwYCOC wPWB6tau6r+qRstpsrl9r3VchrsFWMboC0zc1J95xspSCQ9xFLftfNQ1DJE9ZgmMfNGk a54KmjAkoVVpxgG9DZkncYCIgzWpz7BBe56TnGaYI+w5r+JvsGKQ6Em+s/HvxwHbCkUA QG/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1l22hRUUq/IeT+lj7j9mcQyEj+B5z+NRQ6K59AKwb4M=; b=wOY8SzXdkvXDAtZ9pgUMtdmyxU9AIse3wUn7suH/doYHloNQHYyWPf+kjDXX+Kv5g+ Gk/b2v9KUPdfHIdEm8YfNZqlpAopCy2SpzXVHuWK4RQ/7zc8cy1wBf6CcqjdUtBeyZ7X gv3pZfMpt/wOYwMIj29CwNgaskh83OIEaI48l/R8c2BQTRJubm4WY9ualcEdMpznQl0M L0r+CcWHkzvH6xK0MLzeM8Jm8D5ZgWq1WlGE4EoUmgSp5rPSnkWMOfkw8P+LnYowqxXC V9Yg/kjgeTc6GyT8Njo+cI59o0Ecw9CTAAo50VfLVjvfscUN4aHDiaTZAVG7+vzEdR04 4FeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=dQ4cunzU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 u11-20020a6540cb000000b0051b5c9dd1fdsi14970912pgp.685.2023.04.26.03.46.38; Wed, 26 Apr 2023 03:46:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=20221208 header.b=dQ4cunzU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S240497AbjDZKng (ORCPT + 99 others); Wed, 26 Apr 2023 06:43:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240509AbjDZKn1 (ORCPT ); Wed, 26 Apr 2023 06:43:27 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CDC14C03 for ; Wed, 26 Apr 2023 03:43:23 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4ecb7fe8fb8so7307e87.0 for ; Wed, 26 Apr 2023 03:43:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1682505801; x=1685097801; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=1l22hRUUq/IeT+lj7j9mcQyEj+B5z+NRQ6K59AKwb4M=; b=dQ4cunzURjxkU0Leg7LAnW10B6iCwcl0niLLMCTpkjxaqk9CfBvAZ1HgYEeuNEf5Df zZ184SgUKghynTw2tZX+ypOybCxdyCKNL7DMU9IjJu/PdtY2ux8Z/c/xxwn9U7NV4+x8 dbDsyMs04VHMB/zNnOJP4wUr69uff9Qqm/M2aWU00bT2qFUwxtFouULN9tFgPzMneHyv lVGDvP5erVVVmurehevtjGrXnOk0JRJsNeS0ZcaQFAOhgyLAM7167hxcZoAYKmlGkLH6 KJ9Wkxb5NWiCh8R/jpMyPupA7BUJu+0Opr7z9XpWThO1NjmwZjfbmqdUc5nQgVBLootZ T22g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682505801; x=1685097801; h=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=1l22hRUUq/IeT+lj7j9mcQyEj+B5z+NRQ6K59AKwb4M=; b=SUJx427MNo2mrpSRVvGw7c6SseJE2hozEYo9Bqzk8I8VkjIUwzi/zKzYv5XXYZ/b8X kcfDfkk85H053IW+LD0ITXqhIfSzZSPB1bUNk/64R7VHvPrShdIRgR7njd+WOfIkLbdd GeIzAIkAVAG4ES9T2r/Y0vV5N7ZKRXRlrg/HZo8/i6G5FHmEIFJTI6XmTXDaiNFOZBu2 KD0Joguvqo8fFbn+azly4MQ3TBvcVkfO/Er0LI/Igv3/BaXsDt2rl6x4Qaz7s5KS5xIB 45+kcj0sRi6vIZoNgic7WLheCME0tylirgCvM4IJJVwnSBDir8bP+eAJpXcB8Ex9w6y4 eomg== X-Gm-Message-State: AC+VfDz0Z1DUBQL8rQwhpLgsUzUz8yjiUaGGdES26AIA2oZsp6Pzj81W VX9F6ISk7OOhyoDtO6NOjYIWoHRZtkncbeCC+Y/d+w== X-Received: by 2002:a05:6512:b08:b0:4e8:3fc8:4f80 with SMTP id w8-20020a0565120b0800b004e83fc84f80mr177986lfu.4.1682505801347; Wed, 26 Apr 2023 03:43:21 -0700 (PDT) MIME-Version: 1.0 References: <00000000000079eebe05fa2ea9ad@google.com> In-Reply-To: From: Dmitry Vyukov Date: Wed, 26 Apr 2023 12:43:08 +0200 Message-ID: Subject: Re: [syzbot] upstream boot error: BUG: unable to handle kernel NULL pointer dereference in __dabt_svc To: Miguel Ojeda Cc: syzkaller@googlegroups.com, alex.gaynor@gmail.com, andriy.shevchenko@linux.intel.com, bjorn3_gh@protonmail.com, boqun.feng@gmail.com, bpf@vger.kernel.org, gary@garyguo.net, linux-kernel@vger.kernel.org, linux@rasmusvillemoes.dk, ojeda@kernel.org, pmladek@suse.com, rostedt@goodmis.org, rust-for-linux@vger.kernel.org, senozhatsky@chromium.org, syzkaller-bugs@googlegroups.com, wedsonaf@gmail.com, Joe Perches Content-Type: text/plain; charset="UTF-8" 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, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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-kernel@vger.kernel.org On Wed, 26 Apr 2023 at 12:30, Miguel Ojeda wrote: > > In which of the dozens of kernel testing systems? ;) > > And also in heads of thousands of kernel developers and users? > > All of them use get_maintainer.pl. > > I am aware, but `get_maintainer.pl` is fine as it is -- we still want > to know about things that touch things that mention Rust in general, > so that we can possibly be helpful to others, especially early on. > > However, if a bot is testing the kernel with Rust actually disabled at > runtime, what I am saying is that the chance that it has something to > do with Rust is quite low, especially if matched via `K:` rather than > `F:`. Thus my request. > > Now, it could be nice to have some logic like that in > `get_maintainer.pl` encoded for all bots to filter things out based on > the kernel config and the type of match; but otherwise, yes, the bots > would need to add the logic. > > Cc'ing Joe in case this is already possible in `get_maintainer.pl` or > whether there could be a better approach. I understand your intentions and they make sense. But adding this logic to syzbot won't help thousands of users of get_maintainer.pl and dozens of other testing systems. There also will be a bit of get_maintainer.pl inside of syzbot code, so now all kernel developers will need to be aware of it and also submit changes to syzbot when they want to change maintainers logic. I think this also equally applies to all other users of K:. And a number of them had similar complaints re how K; works. I am thinking if K: should actually apply just to patches and be ignored for source files? If there are files that belong to "rust" (or "bpf" or any other user of K:), then I think these should be just listed explicitly in the subsystem (that should be a limited set of files that can be enumerated with wildcards). It's also reasonable to apply K: to patches. But if a random source file happened to mention "rust" somewhere once, I am not sure you want to be CCed on all issues in that file. Does it sound reasonable?