Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4055857imm; Mon, 11 Jun 2018 06:21:52 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJnNXkia/9LXEVzYhN+zqzSc2lsoOlXVfJ5PdyIHvGh+1W1RbWqgnjLvam8qcOyXreGntZM X-Received: by 2002:a17:902:b40f:: with SMTP id x15-v6mr18859254plr.270.1528723312617; Mon, 11 Jun 2018 06:21:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528723312; cv=none; d=google.com; s=arc-20160816; b=iRT8YfPLoCj6Ujb36+8h8+YCzRZs0kHN5oaTpfTfWmdkuSBwvG1xWMLQNrrx5GSJzr 026UZNQDkfBcodPCnjwtv3arzAMv2VHhNzbwmw9mQCcAZaTW3YLHF1YMQhsTWQT8zpZf Nbg+0KvH2J5iJFlOlqolSZwAbXd6LEriHy3EdTQemY8rBTygexXTNnSEb6lscgfGty2w d/ZR3+IJUznCIcIc+Jrrn6xRR5eYEaRrG1+/S2bfUiMLmrLxY8jhruCghTG9m4SWiVp3 qGDxR9VEle3jRhm/ZNC+KfqRR7+w7t00aGHdgT0NlMqPLLEahMh/rbV0NT92R7x1QtU4 Jb8g== 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=YDXzzHPunYZlZ+11kl6UWuDDvzKkQwM3cVI3NtsIphU=; b=ZsUzJizRG+/TRx5+SOKiiu2ORl2MTGt/m3wrwGz5GVK+CvS6M8xX7mSFl07rWsW4YY +EpsYjGal1AJuItdJHpPMwkwclUFOH7CIem6NMaBkEYDa95InNr91OGxY0BsF8JLqKCE QvssKylaFCfIwRqOETnGsMqYXYxeKGBoGtHTYGAE/02rJ4zVYmlpAFCAUd5Gg0/gCRwJ CxkFl1KjkzZkglEV/WkBYD+rGp9TaV1yPqRG8qaBiz8W5gj7v7hroFEE4xXWgrN+Axmk IRi5kGYqSqqbRqJBx7O1x9sgV31Px8jbEn4HWp5BDd++n3etG0YGje2RqryheJEIO9Db i6rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KeBV12qE; 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 g7-v6si10989286plo.214.2018.06.11.06.21.38; Mon, 11 Jun 2018 06:21:52 -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=KeBV12qE; 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 S933244AbeFKNVJ (ORCPT + 99 others); Mon, 11 Jun 2018 09:21:09 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:40281 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932842AbeFKNVH (ORCPT ); Mon, 11 Jun 2018 09:21:07 -0400 Received: by mail-pl0-f65.google.com with SMTP id t12-v6so12311994plo.7 for ; Mon, 11 Jun 2018 06:21:07 -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 :cc; bh=YDXzzHPunYZlZ+11kl6UWuDDvzKkQwM3cVI3NtsIphU=; b=KeBV12qE8d9i0PKJhmHeSuZ9XYVu7AiRTVvIrrcjHyV3dtSEtl+C86XSjJPYMwGbLd bzTSTYts2+cBCU5cEGF6aJzIyLu8rDdH0dTvnocsdnG1ie5mVkGTsIn31tpHbnbqQLr+ ua2ASns1FdgcMm+hCwCK92q92NfoI3Dz5yUqeVCyA2K6KEe/PRzRohKROJGiD8t+S2e1 5ibKs2XYC0gfG+yQCR0+GG/JPQ4qyczoG28uzRd30LEuYYetyQyMtK3v8gux/w3yJ8vW VrgClV4L1SNBIhi8vt4nAFB9Neo+ZGwJvTx8Nhrtha/P7fuPlbZoGwAsmfLhCphzlRtZ Wauw== 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=YDXzzHPunYZlZ+11kl6UWuDDvzKkQwM3cVI3NtsIphU=; b=aRwyoWTIMMOnr86hnmvc/cLc7WRFJAtBsNiGGlkkDlYtMji+PrRB3nNvOMO1fxfLOj ryLgOZZUE43r+XWjteGgfLSjP+m6l2WzhaUhnGjkAESZZpn5ikPKxX9yYMzDa7Ks4iCB 22oRK5sBbi7jYuGbXvFhArJcg9trPx9pIfzt7iEMpcLbVzQ3bdRW5Z/Z/IiTA2mUGDyi 7SiLFF6yH34ezZQdYYQnavkFsT5kX3tZS1qyhTdfBoCnYWbnaH+zrc7fleQXwmk/KxR2 /R3Quug34KEdZ5rrzGwnpsMSfs9lt5A0zhC1zBh7DM52+boJytVit5B0cz2OweK8/eKl wGsA== X-Gm-Message-State: APt69E0AcYtclbbftd5FsV/0hJnaExzjhHXElDDx5okouJMSEMn8yUGl BeQZaLrznniDx6nWzj4f5ELsSVpTrlbq3uFWhqX7zw== X-Received: by 2002:a17:902:5a4c:: with SMTP id f12-v6mr18727454plm.85.1528723266460; Mon, 11 Jun 2018 06:21:06 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:de2:0:0:0:0 with HTTP; Mon, 11 Jun 2018 06:20:45 -0700 (PDT) In-Reply-To: References: <000000000000457b2d056cbb0044@google.com> <20180522123107.GC3751@bfoster.bfoster> <20180522222620.GW23861@dastard> <20180522225208.GB658@sol.localdomain> <20180523074425.GM14384@magnolia> <20180523162015.GA3684@sol.localdomain> From: Dmitry Vyukov Date: Mon, 11 Jun 2018 15:20:45 +0200 Message-ID: Subject: Re: INFO: task hung in xlog_grant_head_check To: Eric Sandeen Cc: Eric Biggers , "Darrick J. Wong" , Dave Chinner , Brian Foster , syzbot , LKML , linux-xfs , syzkaller-bugs 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, May 23, 2018 at 8:01 PM, Eric Sandeen wrote: > On 5/23/18 11:20 AM, Eric Biggers wrote: > > ... > > > I'd revise that to "have to fix /some/ of them anyway." > > What I'm personally hung up on are the bugs where the "exploit" involves > merely > mounting a crafted filesystem that in reality would never (until the heat > death > of the universe) corrupt itself into that state on its own; it's the > "malicious > image" case, which is quite different than exposing fundamental bugs like > the > SB_BORN race or or the user-exploitable ext4 flaw you mentioned in your > reply. > Those are more insidious and/or things which can be hit by real users in > real life. > > I don't know if I can win the "malicious images aren't a critical security > threat" battle, but I do think they are at least a different class of flaws, > because as Dave said, mount is supposed to be a privileged operation. > In a perfect world we'd fix them anyway, but I don't know that our resource > pool can keep up with your google-scale bot and still make progress in other > critical areas. > > Anyway, the upshot is that we're probably just not going to care much about > V4 > filesystem oops-or-hang-on-mount bugs. Those problems are solved (largely) > with > V5 filesystem format. Maybe I /will/ propose a system-wide tunable to > disallow > V4 for those who are worried about such things. > > To Darrick's points about more collaboration, I still wish that our requests > for more traditional fs fuzzer reporting (i.e. a filesystem image) weren't > met > with such resistance.Tailoring your bug reports to the needs of the > developer > community you're interacting with seems like a pretty reasonable thing to > do. > > As an aside, I wonder how much coverage of the V5 format code syzkaller > /has/ > achieved; that would be another useful datapoint google could provide - if > syzkaller is in fact traversing the V5 codepaths and isn't turning anything > up, that'd be pretty useful to know. Hi Eric, The current syzbot kernel code coverage is available here: https://storage.googleapis.com/syzkaller/cover/upstream.html#9c73bb525fc1def86e67f5039ab97d8f48062621