Received: by 10.223.148.5 with SMTP id 5csp7485102wrq; Thu, 18 Jan 2018 06:08:33 -0800 (PST) X-Google-Smtp-Source: ACJfBou5A2v8x1Rmd5SQmoxEqkCVdmR1Ng1zBrEwQTqARbsKu15J5jPldet0KP2Y5WMLiktiWrko X-Received: by 10.98.247.19 with SMTP id h19mr22201064pfi.77.1516284513156; Thu, 18 Jan 2018 06:08:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516284513; cv=none; d=google.com; s=arc-20160816; b=v7kJmdrp1CmrJWIwbc4XtxSut5Ehx43Tm0htJMTT9AYPMNuLjOy4PUsVJTV2z2tS5k 08nbKVOeQQ9e82olWECQcMEFThQ25inDCOZ3z0lf87zTAUuxaelqKXQDRNE6bZgu72I5 ad6S5NJN6KWad3PFHDrzet8oUjQ8jtIsz8brbD04ojXeTTWfeUFbeukgrW4rcScmoJZA RZ1Ayv8UrhFGJfxnhZbQ2IgBVZcuOpVwmkMp5xGcSXFL++cZ1qJi3v8Alap6T9QmeNah UaQO3A9cAWGtLmj0jekXIFquRj5w5z07kGqub06/xO6H2g+zA5gE8y3uQSX8ayIDTEXi jeSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=2bwCFCSMrNbgqcpk9vnusYcPgifdt5gcLbPoC/G+KpI=; b=QvqqXOw8vSsOmuR2oL2r5byQS2Wrhp81wOmrGBEM+fi4ZfzfLsoPKagbc5tk5MTkTB l20IjIHd5GHUv2poQxXa44L1W+h/KNERCOOg8GfGTP1UUuGvEpGZhpm7Uw63jhkgafXk oxnrW7Z76opKbPVLHHMijTunl2KFS/FXO+8L9Tb/je7U3cdpxWcvShj/Fu7px+vSZNH2 UMFNOV+1mrFyBy5rd935PRv+fDiM11YnxTQvj3O/jv6jjfXDdyAvFLQi/i05V74irIJV z/oK4ZWifPt9jHxuev4j2kHZjheJyBYp/HefRjvOvytXqrXdSvC86F/WyHAxztzOZJeQ EeEw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u142si6121897pgb.529.2018.01.18.06.08.18; Thu, 18 Jan 2018 06:08:33 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756503AbeAROFp (ORCPT + 99 others); Thu, 18 Jan 2018 09:05:45 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:44178 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756450AbeAROFl (ORCPT ); Thu, 18 Jan 2018 09:05:41 -0500 Received: from localhost (ipbcc1c85a.dynamic.kabel-deutschland.de [188.193.200.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C660C10A7; Thu, 18 Jan 2018 14:05:39 +0000 (UTC) Date: Thu, 18 Jan 2018 15:05:37 +0100 From: Greg Kroah-Hartman To: Dmitry Vyukov Cc: Theodore Ts'o , Alexei Starovoitov , Daniel Borkmann , Pavel Machek , LKML , netdev , syzkaller-bugs@googlegroups.com, Guenter Roeck Subject: Re: dangers of bots on the mailing lists was Re: divide error in ___bpf_prog_run Message-ID: <20180118140537.GA30059@kroah.com> References: <001a11405130ff1e9705629eb53c@google.com> <20180117093225.GB20303@amd> <20180117204735.GC6948@thunk.org> <20180118002111.b7ejjd2adunmkooj@ast-mbp.dhcp.thefacebook.com> <20180118010930.GE6948@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 18, 2018 at 02:01:28PM +0100, Dmitry Vyukov wrote: > On Thu, Jan 18, 2018 at 2:09 AM, Theodore Ts'o wrote: > > On Wed, Jan 17, 2018 at 04:21:13PM -0800, Alexei Starovoitov wrote: > >> > >> If syzkaller can only test one tree than linux-next should be the one. > > > > Well, there's been some controversy about that. The problem is that > > it's often not clear if this is long-standing bug, or a bug which is > > in a particular subsystem tree --- and if so, *which* subsystem tree, > > etc. So it gets blasted to linux-kernel, and to get_maintainer.pl, > > which is often not accurate --- since the location of the crash > > doesn't necessarily point out where the problem originated, and hence > > who should look at the syzbot report. And so this has caused > > some.... irritation. > > > Re set of tested trees. > > We now have an interesting spectrum of opinions. > > Some assorted thoughts on this: > > 1. First, "upstream is clean" won't happen any time soon. There are > several reasons for this: > - Currently syzkaller only tests a subset of subsystems that it knows > how to test, even the ones that it tests it tests poorly. Over time > it's improved to test most subsystems and existing subsystems better. > Just few weeks ago I've added some descriptions for crypto subsystem > and it uncovered 20+ old bugs. > - syzkaller is guided, genetic fuzzer over time it leans how to do > more complex things by small steps. It takes time. > - We have more bug detection tools coming: LEAKCHECK, KMSAN (uninit > memory), KTSAN (data races). > - generic syzkaller smartness will be improved over time. > - it will get more CPU resources. > Effect of all of these things is multiplicative: we test more code, > smarter, with more bug-detection tools, with more resources. So I > think we need to plan for a mix of old and new bugs for foreseeable > future. That's fine, but when you test Linus's tree, we "know" you are hitting something that really is an issue, and it's not due to linux-next oddities. When I see a linux-next report, and it looks "odd", my default reaction is "ugh, must be a crazy patch in some other subsystem, I _know_ my code in linux-next is just fine." :) > 2. get_maintainer.pl and mix of old and new bugs was mentioned as > harming attribution. I don't see what will change when/if we test only > upstream. Then the same mix of old/new bugs will be detected just on > upstream, with all of the same problems for old/new, maintainers, > which subsystem, etc. I think the amount of bugs in the kernel is > significant part of the problem, but the exact boundary where we > decide to start killing them won't affect number of bugs. I don't worry about that, the traceback should tell you a lot, and even when that is wrong (i.e. warnings thrown up by sysfs core calls that are obviously not a sysfs issue, but rather a subsystem issue), it's easy to see. > 3. If we test only upstream, we increase chances of new security bugs > sinking into releases. We sure could raise perceived security value of > the bugs by keeping them private, letting them sink into release, > letting them sink into distros, and then reporting a high-profile > vulnerability. I think that's wrong. There is something broken with > value measuring in security community. Bug that is killed before > sinking into any release is the highest impact thing. As Alexei noted, > fixing bugs es early as possible also reduces fix costs, backporting > burden, etc. This also can eliminate need in bisection in some cases, > say if you accepted a large change to some files and a bunch of > crashes appears for these files on your tree soon, it's obvious what > happens. I agree, this is an issue, but I think you have a lot of "low hanging fruit" in Linus's tree left to find. Testing linux-next is great, but the odds of something "new" being added there for your type of testing right now is usually pretty low, right? thanks, greg k-h