Received: by 10.223.148.5 with SMTP id 5csp6609280wrq; Wed, 17 Jan 2018 16:22:36 -0800 (PST) X-Google-Smtp-Source: ACJfBosD3M7cg3zoOxuJ+PnBf+T7rxfni5pApogWzU/AyKH3n8T09rMVDus7cSXqN2qUqYo9284h X-Received: by 10.98.103.209 with SMTP id t78mr28474634pfj.53.1516234956855; Wed, 17 Jan 2018 16:22:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516234956; cv=none; d=google.com; s=arc-20160816; b=SdBa3yYhzDycRKwkkcq6HQCi6zsWEK5udiTnS+9QpHCUCcim6zRnbFi185NdcK3p0r YNZnmsYEdGmkD64aAxxqNJNA0dKPWh2Tzkc+j3hxueQ84QNuV+EAH5iqpplsYq2zrB0Y TmQF+pQBNglM7VxnrMIh33dWDmlatK40wIMMU46m7s9h1xhPWWo0mwmTZyXljPh5RdJk JkmE1KJ3ABcOtQnHI4Ak9+bha4fMAZFioxfxyDFfQlUHLgn59EQiocjJcUSk+5Zmvymd gyKkgHnjKz1h5FwYCSGlXmkF/M8O1BEddVhBddRadu8uYmSc7srS6SSAZk5YHFbhVr42 LDGg== 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:to :from:date:dkim-signature:arc-authentication-results; bh=JRp5E8CNRDf9wjhdHXMCrxAG/m1zjS6H1MWAbwPV+u8=; b=ADZnlF0fIcYrqPbQyN12b+oP3s5+7jC1wBJqWV3JxBwol8BxreRV4BExSafHV0Bg0g gRA11kPYOzjWwG+gZB04JA5qNhz315uVpRzz1OZI0icE7KV+b+RCUyN367reBsiOOVR0 MoYLQUX0eLlC0XhsIYU2JGso+vPvD38ikksCFRWsiXiHrFkweXRLwdlNZmMEmJ6G5FMS vgUFFeiTcs/wX4NKoB2bsoK+ilW50+KB4PeJRNkwUdAjBikiFzWrCYbCWPJrYhK4cs2o jV35uDsJcZdcAlBOHoraayJjxy6uUzKMcRR0Z08AH1X6h0fV2mOY4WrE8Qxt23a5a8Xe fwmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZD/le3YM; 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=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14si4785122pgs.302.2018.01.17.16.22.22; Wed, 17 Jan 2018 16:22:36 -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=@gmail.com header.s=20161025 header.b=ZD/le3YM; 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=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754499AbeARAVS (ORCPT + 99 others); Wed, 17 Jan 2018 19:21:18 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:41350 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753208AbeARAVQ (ORCPT ); Wed, 17 Jan 2018 19:21:16 -0500 Received: by mail-pf0-f193.google.com with SMTP id j3so12812879pfh.8; Wed, 17 Jan 2018 16:21:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=JRp5E8CNRDf9wjhdHXMCrxAG/m1zjS6H1MWAbwPV+u8=; b=ZD/le3YMMkkaFHT5TczhflG+sVnFvD3tCyH/PW3ZlWL1PpFeusL1qp+9Ozl4fy8yxZ 2gbmLSr7Ebm8rwdZEma8v8ke1gzL3AlflrCibsrRBaSiBMZizqCEhBKZVFhXst68Jn6r xYk4e4lXZIsxkFNtBP5vsD3Yul5lntS2EBV/mPUq/cxPmprnta1jgyCyEFjI77/e4nr6 shMn70OFixsb2oi6LrOtMB9ZDwCIue2ucVVBtuD4mX58IluG0eb3IoD32LlBd8PibcCk 0A2xYlyeHb0WeHfMGZadHaKuigE9q23Yo/nLnyeJ0L4rZkS6Y4YkInJT7UJT1yi9nYZL G6yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=JRp5E8CNRDf9wjhdHXMCrxAG/m1zjS6H1MWAbwPV+u8=; b=dDG0SIE12cbHi1OZgJ3VD0PEO8Gg7eC5ZA5Zac3qAUMgWwqXAVkHU1JPFC9+2t2dg9 3aVxDDHJvJZmBm79GiEA+diRVksLxczaQHGJHOs/tj5vSplWNJszQyRixUY/wwg0obJQ XU29JpEYA6iRQuYmM1u0Apjp8cB2/e8aFVJPoBgOg3L/zpD5Q1sdrOaqiBQYNSQnNyME r5ID9KWX43DmJ9C2ea2JKex3Yq5JMc92LOBz88iVrBkpaLB2pIc0P37aBwNoi+wg8bnK axc1lsp+0e/1DXlvErCLMukQdbNEIQ3OjzoQ5z5zWeDeG7H3LftFc5AC+ARsDFhEzOCw Xo9A== X-Gm-Message-State: AKwxytcrnD2zAFZc019DOtE/4qmRy8cc+OjZMfVJmX7v91r9kbRgi9TP Uw8hetJ12teXEQAHt5Spgds= X-Received: by 10.98.214.7 with SMTP id r7mr28416099pfg.213.1516234876080; Wed, 17 Jan 2018 16:21:16 -0800 (PST) Received: from ast-mbp.dhcp.thefacebook.com ([2620:10d:c090:200::6:c1e9]) by smtp.gmail.com with ESMTPSA id z85sm10858976pfk.110.2018.01.17.16.21.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2018 16:21:15 -0800 (PST) Date: Wed, 17 Jan 2018 16:21:13 -0800 From: Alexei Starovoitov To: Theodore Ts'o , Dmitry Vyukov , Daniel Borkmann , Pavel Machek , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: dangers of bots on the mailing lists was Re: divide error in ___bpf_prog_run Message-ID: <20180118002111.b7ejjd2adunmkooj@ast-mbp.dhcp.thefacebook.com> References: <001a11405130ff1e9705629eb53c@google.com> <20180117093225.GB20303@amd> <20180117204735.GC6948@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180117204735.GC6948@thunk.org> User-Agent: NeoMutt/20170421 (1.8.2) 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 03:47:35PM -0500, Theodore Ts'o wrote: > On Wed, Jan 17, 2018 at 12:09:18PM +0100, Dmitry Vyukov wrote: > > On Wed, Jan 17, 2018 at 10:49 AM, Daniel Borkmann wrote: > > > Don't know if there's such a possibility, but it would be nice if we could > > > target fuzzing for specific subsystems in related subtrees directly (e.g. > > > for bpf in bpf and bpf-next trees as one example). Dmitry? > > > > Hi Daniel, > > > > It's doable. > > Let's start with one bpf tree. Will it be bpf or bpf-next? Which one > > contains more ongoing work? What's the exact git repo address/branch, > > so that I don't second guess? > > As a suggestion, until the bpf subsystem is free from problems that > can be found by Syzkaller in Linus's upstream tree, maybe it's not > worth trying to test individual subsystem trees such as the bpf tree? > After all, there's no point trying to bisect our way checking to see > if the problem is with a newly added commit in a development tree, if > it turns out the problem was first introduced years ago in the 4.1 or > 3.19 timeframe. > > After all, finding these older problems is going to have much higher > value, since these are the sorts of potential security problems that > are worth backporting to real device kernels for Android/ChromeOS, and > for enterprise distro kernels. So from an "impact to the industry" > perspective, focusing on Linus's tree is going to be far more > productive. That's a win for the community, and it's a win for those > people on the Syzkaller team who might be going up for promo or > listing their achievements at performance review time. :-) all correct, but if there is capacity in syzkaller server farm to test bpf and bpf-next trees it will be huge win for everyone as well. For example in the recent speculation fix we missed integer overflow case and it was found by syzkaller only when the patches landed in net tree. We did quick follow up patch, but it caused double work for us and all stable maintainers. I think finding bugs in the development trees is just as important as bugs in Linus's tree, since it improves quality of patches before they reach mainline. If syzkaller can only test one tree than linux-next should be the one. There is some value of testing stable trees, but any developer will first ask for a reproducer in the latest, so usefulness of reporting such bugs will be limited.