Received: by 10.223.148.5 with SMTP id 5csp7254976wrq; Thu, 18 Jan 2018 03:05:54 -0800 (PST) X-Google-Smtp-Source: ACJfBotLj63kSJqJeF/oSFJtbjsZWDDWsUskQGn1hcHRyf44go/oqgpkgLSX850vB2arLu9hRz9B X-Received: by 10.99.179.10 with SMTP id i10mr35799345pgf.41.1516273554562; Thu, 18 Jan 2018 03:05:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516273554; cv=none; d=google.com; s=arc-20160816; b=uExIRXg2NO6QjUhPds5+9z2HvzftLbsguq31/unWF2s4n8QkQLY6cLjczG6JjT3qVo 3zhwSUSMGLEPteNLzvf810oU0C6Qdy0zy06Yo8JjzwFE36BGhraV0drd11WTLAH/g//W JHTgjNlq2TvLiQgVAMj/q2iMoRzoohaxXAw44WXY2si9BpXsqFuxF/Toz2UYhc43jC8J sT9J3o3Pc4hruTYDKDZDiJFO6FCh0X+Cm4m9I5QIJtM42xbEommgpobVDWx9/1RdkRqC 5me9RxwtAFGTnP+W6yVJrfd1SGlJfE74uf2rsC1GU0rJEQud5dsU1qtvVgKCDMs3TITK iYEA== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=5Sa8THbR338tkiGDR8nn/anZnsks6TgOr1WN6EKUsDQ=; b=Qamn4fSnwWLyLxRZLRi6u2DDulIcvq3tGd271vrwgBRhXBwDuhNv9H8lQY72Xfkl1u 6176yqIwv37nPaPY4ED3BttvBQIlWVA8b3piVvJ8CzCiwh/QWRbGZJNG9AwrV0bfsxlg sfTgOyjegWehV37a3k6AIdE3raDOqOSW3SXTbR7YX4DKpaMCvHECIu2W/aXPdGoXVtKS Kg7y8bGKYnAvVJGLR8FLzUqrlolzq6Dbk3XzLlYQLJCQ/H7XE8rgNThmXWvfQ4j6z3yN oTf15zFlZrdjAct39GX0MODo1ZbgQwBxKcbuyy7UUyr398M6Vd144XDyAzPQ3jI+0jAe vNuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=OCrZKOnF; 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 r64si6545300pfk.217.2018.01.18.03.05.40; Thu, 18 Jan 2018 03:05:54 -0800 (PST) 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=OCrZKOnF; 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 S1755900AbeARK53 (ORCPT + 99 others); Thu, 18 Jan 2018 05:57:29 -0500 Received: from mail-pg0-f43.google.com ([74.125.83.43]:41166 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755015AbeARK5W (ORCPT ); Thu, 18 Jan 2018 05:57:22 -0500 Received: by mail-pg0-f43.google.com with SMTP id 136so13263934pgd.8 for ; Thu, 18 Jan 2018 02:57:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5Sa8THbR338tkiGDR8nn/anZnsks6TgOr1WN6EKUsDQ=; b=OCrZKOnFBHctK/50YEt/8NPGipCBH2gk/98cgfj1ZlKzCVT1wMh/0HlFTsMoe3TtH6 HSwzXduog1fa38WRDRuVQedn/bKUEBJuRQGkMyRcOr4Gq6WM8aB9SF4vnYGXBGvgUh9u o/wTazFoTFAnWqEcxkdXMJgjtSjewwWX+ADTt+XWuhxB2SOTIxEgivLYALjkYDc3kzOT HRGCBIHeLPtY5clwMoEGs8Um8YP2++0O5Fc5ed8loykYWyeI6LO2IkBHlPK0sSQG+6Kb 59w3/mcg8oYiDUa58A5pK9gfBf4eeUl50ZTZrlZaDEXhcJ5LhgAzqwy7HtaJwbKmZT0/ EEqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5Sa8THbR338tkiGDR8nn/anZnsks6TgOr1WN6EKUsDQ=; b=s13Groi/6PCiNdqTAWW4GpoNYJdeW/u0YRycRyjT+9UcowF8C+0RdyuJonx+yMa8ky UFIMnRN3xSUQz/qqhhS88HXHMBqOcBTurGD2gJio6jj2Zo/Yj07RKXtwSK46ui22vTlV Aux93RFPEX4MkOCPfe2jXPjChXyVVHwyaBhT+qe2uaxwuqn2H+hwTDjwffAiYipPa2L4 Mlzl5w39qEfOmz7kOJcN8B6XjazQALQlSiVnLAsh1mocSVEjLrnZompE1JQWGdifCAjY YwuYeNOIDoNfDQDjZ5EtPMBTrDXyjqrPtEJUUvPNob7QLrE+Yh5F5P4NKzVkxNUQtajP eWZw== X-Gm-Message-State: AKGB3mIycszfnxr69VxJZw27nsfEnfRoF1UTjVZcJ7NsdMyXQFT8W4uM GaZqyLG4rupapjEC+a9qYw+hBU/9E0q3jduqPoqkdA== X-Received: by 10.99.42.83 with SMTP id q80mr35500964pgq.183.1516273041776; Thu, 18 Jan 2018 02:57:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.236.140.151 with HTTP; Thu, 18 Jan 2018 02:57:01 -0800 (PST) In-Reply-To: <20180117101125.yk7bgpa3ezrodmxz@khazad-dum.debian.net> References: <001a11405130ff1e9705629eb53c@google.com> <20180117093225.GB20303@amd> <20180117101125.yk7bgpa3ezrodmxz@khazad-dum.debian.net> From: Dmitry Vyukov Date: Thu, 18 Jan 2018 11:57:01 +0100 Message-ID: Subject: Re: dangers of bots on the mailing lists was Re: divide error in ___bpf_prog_run To: Henrique de Moraes Holschuh Cc: Pavel Machek , syzbot , Alexei Starovoitov , Daniel Borkmann , LKML , netdev , syzkaller-bugs@googlegroups.com, "Theodore Ts'o" 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 Wed, Jan 17, 2018 at 11:11 AM, Henrique de Moraes Holschuh wrote: > On Wed, 17 Jan 2018, Dmitry Vyukov wrote: >> On Wed, Jan 17, 2018 at 10:32 AM, Pavel Machek wrote: >> > On Fri 2018-01-12 17:58:01, syzbot wrote: >> >> syzkaller hit the following crash on >> >> 19d28fbd306e7ae7c1acf05c3e6968b56f0d196b >> > >> > What an useful way to describe kernel version. >> > >> > Could we get reasonable subject line? 4.15-rc7: prefix would be nice >> > if it is on mainline, >> >> Yes, I guess. I am all for useful improvements. >> What exactly is reasonable subject line? And how it can be extracted >> for an arbitrary kernel tree? > > It can't, I guess. But maybe you could extract it from syzbot > information about the context of that patch? > > Maybe tagging it with the git tree you fetched when getting it over git, > and mail from[1]+subject+message-id when getting it over email? > > [1] processing of related headers to handle mailing lists and > retransmits is required, e.g. ressent-*, etc. But this is relatively > easy to do as well. > > A map to generate subject prefixes from key git trees or MLs could > enhance that even further, to get at least mainline:, *-next:, etc. Hi Henrique, Re report format. Ted also provided some useful feedback here: https://groups.google.com/d/msg/syzkaller/5hjgr2v_oww/fn5QW6dvDQAJ I've made a bunch of changes yesterday and today. This includes rearranging lines in the email, rearranging attachment order, removing some clutter, providing short repo alias (upstream, linux-next, net, etc), providing commit date and title. syzbot will not also prefer to report crashes on upstream tree, rather than on other trees. Re subject line, I don't think prefixing subject with tree will work. What you see as a single crash actually represents from tens to tens of thousands crashes on some set of trees. And that set grows over time. That can be one set of trees when the bug is first reported, and then another subset of trees when a reproducer is found. It's obviously a bad idea to send a email per crash (every few seconds), and even per crash/tree. To alleviate this, syzbot will now say e.g. "So far this crash happened 185 times on linux-next, mmots, net-next, upstream". So that you can see that it's not only, say, linux-next problem. syzbot just mailed another report with all of these changes which you can see here: https://groups.google.com/forum/#!msg/syzkaller-bugs/u5nq3PdPkIc/F4tXzErxAgAJ Thanks