Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp564985imm; Fri, 15 Jun 2018 02:33:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKILdGO6uNHsstrTSEGyBCxG/gDNtTZ9Y7DKy4gq1kDonOr4XTVhk7Uk2fM0BcpFA3O1+YNo X-Received: by 2002:a65:5348:: with SMTP id w8-v6mr880377pgr.247.1529055199142; Fri, 15 Jun 2018 02:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529055199; cv=none; d=google.com; s=arc-20160816; b=RLs3XZ1jJ4rDjT4j1+RsOjIwiO5xM5PfqkiQ9/TrtV2CAsMhphOE9cOmACzpUfMK6L gIWqGaIL5SEm/3NOjuT1ltEz5hi4cwEqAH08l/+eUeuEdK7GZOE2iAvJAlyv1SLiowzj SAIc7xBT7s12CsN4DPlhDTPMc5xCVzSb6CGTsk4jx8kFBvGi3RgRyM3jAsfCKesNeWnf fL/qvhIHff7XWH4BwkKAnirPPRCbKsLyT6t1sCefMpCAs7htEaT+BwpZ/tqzKv8FDI2I CuPHsGjkpPgaIClZCnusUfNZI8cUFfZchrnSvJ0Qs0RosGU2ocYZpp5DhOVJoahvfMK+ o/lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=791lWx9WuligOApTeSk8sUZpQR6eN7a4aZ/8qmtuzxk=; b=S8n1p/1g/qiUxYiQ3FEpsK6lGJDyV4cwLY5GzRi0irMut9FK5oCc5D1IyvRchjXYJX pNdQ71K+dxKamLUdwxDNaTyVS4MxNOQK372TPuGiQqs9l0yk95OBBR7TrvxJBaz4A96e TBta5I3X1FsaVTaKXWx8gnaPRrQwlifCllyt6lDzUQj+wtIPcGyHq9j4B54KGfuya0Zo bqH5VVPcg1Z4B+eBb4IwwIQgPzS3bTaFaoZyxCH/QPm/f2SNN+xl/JovtjUzNOMLAlTy DEx4N/UUAukHB05cBs047KWRzw+wkJrdyH0i16LmTc/ev22Wp/dUmaHgKsIHymFakKTF VY4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="L0UmO/sf"; 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 g3-v6si7193785plp.506.2018.06.15.02.33.03; Fri, 15 Jun 2018 02:33:19 -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="L0UmO/sf"; 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 S1755930AbeFOJcg (ORCPT + 99 others); Fri, 15 Jun 2018 05:32:36 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:46270 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755645AbeFOJce (ORCPT ); Fri, 15 Jun 2018 05:32:34 -0400 Received: by mail-pf0-f196.google.com with SMTP id q1-v6so4607142pff.13 for ; Fri, 15 Jun 2018 02:32:34 -0700 (PDT) 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; bh=791lWx9WuligOApTeSk8sUZpQR6eN7a4aZ/8qmtuzxk=; b=L0UmO/sfoakJvp4GsBRV3W7sdcGYDgc0BvVaYmOFnavz1tJ8DugJ6/b9peWpMdYnZh tceE4TeHgKLREBkCmvYwtC72ukm7SqJwh979Bi1eNhnDu4N5sLFftfaqMvqxr4ipJ4MU BzqAgIHHJNR84j3spbfbMbScE9eTgb0hAHNe4jk+lMlkzktNBGLYHIr1z3COYmizVrGD TqXU9bCzX5nDrY1JuJku8rL8u3X5ENTNOD88BqhDP0TwB2udfqqEPdhoH80Y+pkzrs3K hWr7ht3P9EZi97I+2NWbYGEtyEI8DJhxNB6LCg81JyVWv5KDhu3LAQpYUMhWNX1IyEFg caMg== 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; bh=791lWx9WuligOApTeSk8sUZpQR6eN7a4aZ/8qmtuzxk=; b=SCy/XWBA3RoquuzR5X9KXavqSMhzt936ufYi9o86Gko4fB2g1pArJ3ekYI4PIFKao7 HWE5bhUcorrGaYYWUuQzFQqrApQ+T+piyxd6gbq73tz9jbbzSnygm5NC9Apc3PiWtvWI SFRfK5J/Ok8DYmDMpPi3xjponGwDmYcUbhqyXObTHb47S6S+P9ehEQEzgAqo1TIodI2i q9Wdess08zQpRRHosjy9lRwS1t5pilNc7wCRzd+SypfpBL+ipvfJBTD5QNZkuHABzVAr Z1jeQvdllRV4TdaclbGWKb3lMbmeutvmc3263l9ODE20/9UFbr06SMJgdKFGCssJh+RY WCPw== X-Gm-Message-State: APt69E2Hc+dmHRagRP14Re7Lbg8B0dMk+he6gbMK+LpLJEZDWnwnQXk4 lbWbjrI7ElD1/rt5EKGixIgLwEy2RuUZIRDOr/bH6Q== X-Received: by 2002:a63:721c:: with SMTP id n28-v6mr882273pgc.96.1529055153932; Fri, 15 Jun 2018 02:32:33 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:de2:0:0:0:0 with HTTP; Fri, 15 Jun 2018 02:32:13 -0700 (PDT) In-Reply-To: <20180611133345.GE5020@thunk.org> References: <20180522123107.GC3751@bfoster.bfoster> <20180522222620.GW23861@dastard> <20180522225208.GB658@sol.localdomain> <20180523074425.GM14384@magnolia> <20180523162015.GA3684@sol.localdomain> <20180523234114.GA3434@thunk.org> <20180526202436.GC4613@thunk.org> <20180611133345.GE5020@thunk.org> From: Dmitry Vyukov Date: Fri, 15 Jun 2018 11:32:13 +0200 Message-ID: Subject: Re: Bugs involving maliciously crafted file system To: "Theodore Y. Ts'o" , Dmitry Vyukov , Eric Sandeen , Eric Biggers , "Darrick J. Wong" , Dave Chinner , Brian Foster , LKML , linux-xfs , syzkaller-bugs , Tetsuo Handa , syzkaller 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, Jun 11, 2018 at 3:33 PM, Theodore Y. Ts'o wrote: > On Mon, Jun 11, 2018 at 03:07:24PM +0200, Dmitry Vyukov wrote: >> >> These can't be weaponized to execute code, but if a BUG_ON is >> triggerable over a network, or from VM guest, then it's likely more >> critical than a local code execution. That's why I am saying that >> automated evaluation is infeasible. > > I can't imagine situations where a BUG_ON would be more critical than > local code execution. You can leverage local code execution to ah > remote privilege escalation attack; and local code execution can (with > less effort) be translated to a system crash. Hence, local code > execution is always more critical than a BUG_ON. Well, if one could bring all of Google servers remotely, lots of people would consider this as more critical as _anything_ local. >> Anyway, bug type (UAF, BUG, task hung) is available in the bug title >> on dashboard and on mailing lists, so you can just search/sort bugs on >> the dashboard. What other interface you want on top of this? > > I also want to be able to search and filter based on subsystem, and > whether or not there is a reproducer. Sometimes you can't even figure > out the subsytem from the limited string shown on the dashboard, > because the original string didn't include the subsystem to begin > with, or the the subsytem name was truncated and not included on the > dashboard. How is this problem solved in kernel development for all other bug reports? >> On a related note, perhaps kernel community needs to finally start >> using bugzilla for real, like with priorities, assignees, up-to-date >> statuses, no stale bugs, etc. All of this is available in bug tracking >> systems for decades... > > I do use bugzilla and in fact if syzbot would automatically file a > bugzilla.kernel.org report for things that are in the ext4 subsystem, > that would be really helpful. > > As far as no stale bugs, etc., many companies (including Google) > aren't capable of doing that with their own internal bug tracking > systems, because management doesn't give them enough time to track and > fix all stale bugs. You seem to be assuming/demanding things of the > kernel community that are at least partially constrained by resource > availability --- and since you've used constrained resources as a > reason why Syzbot can't be extended as we've requested to reduce > developer toil and leverage our available resources, it would perhaps > be respectful if you also accepted that resource constraints also > exist in other areas, such as how much we can keep a fully groomed bug > tracking system. I mentioned this only because you asked for this. Whatever tracking system and style we go with, bug states need to maintained and bugs need to be nursed. If we extend syzbot dashboard with more traditional bug tracking system capabilities, but then nobody cares to maintain order, it also won't be useful and nobody will be able to easily select the current tasks to work on. So that's a prerequisite for what you are asking for. Well, you use bugzilla, but somebody else uses something else. This fragmentation is kernel development practices does not allow to build further automation on top. We can't do a personal solution for each developer. For now the greatest common divisor seems to be freeform emails on mailing lists... A good example is "I submitted 7 kernel bugs to bugzilla, but nobody answered me" email thread from today: https://groups.google.com/forum/#!topic/syzkaller/OnbMQbbE4gQ