Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4035529img; Tue, 26 Mar 2019 01:28:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxepFxGtBjTGnah1AZ3tBbEUeQG397yoj0jGO38Z3I4kG8s32x1wouedfJkEJaFZr8mA+H6 X-Received: by 2002:a65:654d:: with SMTP id a13mr28558735pgw.181.1553588886254; Tue, 26 Mar 2019 01:28:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553588886; cv=none; d=google.com; s=arc-20160816; b=dT1ZfoBqtApWNy7P8kYSy0x0t8TbjNtcZQnNuiPT1FjICEnjJe13KmYWKzl6wyL4PO zuULy3P53yF2dUF1kEx8eUO+OG6grYVlnau35KM9U5J+PbnDtfuXkVkicEwVD9guiqRa iczQihbd3qcB2IvJVHK1dKQQkuYVkAGRQ/uK060Srj75EdndKj2a1hTaQd1wpkg3HAuz mp1TQKr2fmyRWZGGiKL7V9Zw2o6qZzc5t1lKBim9YDBw9kOQkgQEDVR6B9VR/0EoaBxX UEsee9v1ULTSv4kPne/MN0W0x4Xz38wOkQq6Lzjs+cXowbaviQOYh4WF/HaS7x4iVBsB jV6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=eBP5A9a4aVJEwwaWqzyX57leFxlQKLpSpWq8pLzSaM0=; b=zkrb3Mh9s+uJ685LIgcY8AGjEcZiSvov/7hcw7hA8EeU4tcDOH4o41WtU8sUgKE6V8 sG49V+skz/9hF2vEf9f/7NH87rnBBNw39l1jXw0JZqEHhV1q32AES5OIrdF9KSWEDKNs XqTsj/JUGEMLh9tTZtfpZLLkc+OVQIeZtMkoApJEkhwLL1n2ZnlvGyH55NeX9wDlL1sx fU5cnZYaz4+U1CEGYxb3BIWeSkWE3vN09h22e2ahcC9NWI0Z+yR3//CITIT4JhA+2ysp W1qd8cMXDnC3+RWy5eFbb6C4mvt5MRqohFTXZzI3otSWKinZECqsLDn0KxQoqYSN9gTB ZXDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="lP/14vur"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si15635780pgp.378.2019.03.26.01.27.50; Tue, 26 Mar 2019 01:28:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="lP/14vur"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1731037AbfCZI1R (ORCPT + 99 others); Tue, 26 Mar 2019 04:27:17 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:42055 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730260AbfCZI1R (ORCPT ); Tue, 26 Mar 2019 04:27:17 -0400 Received: by mail-io1-f67.google.com with SMTP id c4so9987993ioh.9 for ; Tue, 26 Mar 2019 01:27:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eBP5A9a4aVJEwwaWqzyX57leFxlQKLpSpWq8pLzSaM0=; b=lP/14vurRBJbIOkUxlDxpE0ZVG6FIXfwA3GdGtzJuvQnZQDYAatN5L3NsrNm5Nc4L0 8q6M5dt7iA7eSimdXtUD260Bh+KwWCFm0IMKT+OTR0zit6DrhhAyDuWZ77dJvcAN4Atc +tbfEQSIp09HchqlLINhuXZP9NxHOuU4UpyjGJN10G6b24/cZ+9wbWdK1B/lqoos6V1I T4WNevYvsN0iQwv7uzxur6CmRNXceWIiU4tBfsaVbGsx+yUZYqbwK7Y/i6qaL+SgncS7 vSgjuPwCDpD8Mmo5NAvg2rnDZhWdZDFy6Q68oCvZF9P7AHPAo18p06tZ+qU00CUlSO6c yoVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eBP5A9a4aVJEwwaWqzyX57leFxlQKLpSpWq8pLzSaM0=; b=LM9S7j3MJ6qTyAOIUjkqX9gDp0KliE+tITe+KQfeEoLP8OBcwmB9siQktOisPMyC3f j4rPMGeYle0h0Z57HfMZJaJ4Lj1ICTsa6szLEvTFhW2nES1/Xtejo7cOOWvAanWgpFpz pgXxZsP1qfrBb2GeEa+TIK9eBWhZvPFmnHV1AS/hQW5A0YO6UJ8pVN2Nd7nqGLOsQjWc kNqIQ+lLuvFYLza4Hy2HZQed3fEQ/iYITjx5bbe1oI7x8eqvsqR//yNaW3Og3gIDw6GX f66AHi7LNClTxLNeffQJLw+uLZ6QSj0bZwbB/188oIXR8On9tjM0HAN7YfKUkEENpU4c nS+g== X-Gm-Message-State: APjAAAXX7CZaSqO9k+pVZKiUlzNJgQ5iYcGhAJDY20+gjazPMNjrTCZX q/yFtsNPZJRzhndbZpHeyW6zHc5p2qxbUv26l5IR3w== X-Received: by 2002:a6b:c3cc:: with SMTP id t195mr20048116iof.11.1553588835844; Tue, 26 Mar 2019 01:27:15 -0700 (PDT) MIME-Version: 1.0 References: <000000000000f302fc057ea3b499@google.com> <000000000000557b4c0584cdabed@google.com> <20190325121635.GA10590@splinter> In-Reply-To: <20190325121635.GA10590@splinter> From: Dmitry Vyukov Date: Tue, 26 Mar 2019 09:27:04 +0100 Message-ID: Subject: Re: WARNING in bpf_prog_kallsyms_add To: Ido Schimmel Cc: syzbot , "ast@kernel.org" , "daniel@iogearbox.net" , "davem@davemloft.net" , Jiri Pirko , "kuznet@ms2.inr.ac.ru" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "syzkaller-bugs@googlegroups.com" , "yoshfuji@linux-ipv6.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 25, 2019 at 1:16 PM Ido Schimmel wrote: > > + Dmitry > > On Sat, Mar 23, 2019 at 07:16:01PM -0700, syzbot wrote: > > syzbot has bisected this bug to: > > > > commit 7607dd35fc34893214284cca740d015154d20452 > > Author: Ido Schimmel > > Date: Mon Jul 17 12:15:30 2017 +0000 > > > > mlxsw: spectrum: Trap IPv4 packets with Router Alert option > > > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=14e0ac07200000 > > start commit: 645ff1e8 Merge branch 'for-linus' of git://git.kernel.org/.. > > git tree: upstream > > final crash: https://syzkaller.appspot.com/x/report.txt?x=16e0ac07200000 > > console output: https://syzkaller.appspot.com/x/log.txt?x=12e0ac07200000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=20271e14bc1c87f0 > > dashboard link: https://syzkaller.appspot.com/bug?extid=987e48d84abddbe2506d > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13c69d20c00000 > > > > Reported-by: syzbot+987e48d84abddbe2506d@syzkaller.appspotmail.com > > Fixes: 7607dd35fc34 ("mlxsw: spectrum: Trap IPv4 packets with Router Alert > > option") > > > > For information about bisection process see: https://goo.gl/tpsmEJ#bisection > > Dmitry, > > The bisection is probably wrong. Above mentioned commit is specific to > mlxsw which is not even present in the provided kernel config. > > I see that this also appears in the web interface [1] which might be > misleading to some people. Might be worthwhile to add a command for > syzbot that tells it that bisection is wrong? > > [1] https://syzkaller.appspot.com/bug?id=b658eb696c8279d9951a4ceea79efba8a1d12467 Hi Ido, Do you mean for the purposes of showing the results as "wrong" on the dashboard? Generally the idea is that people can leave any free form comments on the email thread associated with the bug (there is always a link from the dashboard back to the email thread). It's not possible to capture all possible situations in a set of fixed tags. All information on the dashboard may be incorrect in interesting ways. For example, consider bisection diverged at the very last steps, so one may check the bisection log and easily identify the commit that is most likely the root cause, but the official result is off-by-one. Or may the free stack in a use-after-free report is incorrect and then somebody may suggest the right stack. But having said that there is a proposal for custom tags for bugs (e.g. for priority, subsystem, etc): https://github.com/google/syzkaller/issues/608 And "bisection is wrong" may be a reasonable tag. I just don't want to jump to a first ad-hoc implementation right now. I want to at least try to thought out some consistent, extensible and useful design for tagging. I will add a note about bisection there. Another concern is that I suspect very few people will actually use it. Most people seem to tend to just drop a comment like "this is fixed" or "syzbot sucks" without actually caring about any formal bug state tracking... But even if nobody will use it for majority of bugs, somebody (me) still needs to design, implement, write tests, carefully deploy and maintain this thing... But thanks for the proposal!