All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Eric Sandeen <sandeen@sandeen.net>
Cc: linux-xfs <linux-xfs@vger.kernel.org>, wen.xu@gatech.edu
Subject: Re: New rash of fuzzer bugs on kernel.org bugzilla
Date: Fri, 13 Apr 2018 09:36:05 +1000	[thread overview]
Message-ID: <20180412233605.GC5572@dastard> (raw)
In-Reply-To: <0bdeb0e5-fd1d-a4d8-1a1a-f9371b829026@sandeen.net>

On Thu, Apr 12, 2018 at 03:42:41PM -0500, Eric Sandeen wrote:
> behold:
> 
> https://bugzilla.kernel.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&component=XFS&email1=wen.xu%40gatech.edu&emailreporter1=1&emailtype1=substring&known_name=XFS%20bugs&list_id=983189&product=File%20System&query_based_on=XFS%20bugs&query_format=advanced
> 
> the return of the fuzzer.
> 
> If you were looking for something to do on xfs and wanted a
> self-contained reproducible bug with a testcase, well, there you
> go!
> 
> (I'm not sure who gets email from kernel.org bugzilla; I'd
> encourage anyone who works on xfs to keep an eye on the kernel.org
> bugzilla one way or another - but anyway, figured I'd highlight
> these.)

Nobody, I think. I'm betting it's still trying to send to the old
list, or maybe even xfs-masters....

> Wen, I think we need to find ways for you to help us help you, as
> well.  Turning a crank on a fuzzer and sending the bugs off to us
> for triage will only go so far and so fast, as we have limited
> resources as well.
> 
> One of the most recent bugs filed, which you say does not
> reproduce on 4.16 but does on 4.15 - honestly, we work on
> upstream.  Distros and others need to look after older kernels if
> they care.  If /you/ care, then I'd propose bisecting to find
> which commit made the problem go away, and propose it for -stable
> if it looks clearly like a bugfix, and cc: the list.  If you
> really don't care, then I'd say close the bug and only file
> against current upstream kernels.
> 
> As for the rest, in general, there are other things that can
> help:
> 
> Use CONFIG_FRAME_POINTER so that backtraces are readable
> Be sure to include the full relevant dmesg, everything after the mount message
> Include your full config so we know which debugging options are on or off
> Put some effort into your "poc.c" so you can say /which/ action triggered the flaw.
> Run with a debug kernel to catch use after free, etc.

FWIW, I'm not that interested in fuzzing v4 filesystems. We know
they have problems with undetected bit errors and are lacking in
information on disk to detect a lot of error types. Hence there's
only so much we can do to harden them.

As such, I'm much more interested in fuzzers that find problems on
v5 filesystems, because they have more substantial validation checks
and random bit errors are caught by CRC validation. V4 formats are
essentially a legacy format at this point, so while they may point
out problems in the format and the limitations of v4 format
verification, those issues might not even exist on v5 format
filesystems....

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

  reply	other threads:[~2018-04-12 23:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-12 20:42 New rash of fuzzer bugs on kernel.org bugzilla Eric Sandeen
2018-04-12 23:36 ` Dave Chinner [this message]
2018-04-13  2:06   ` Eric Sandeen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180412233605.GC5572@dastard \
    --to=david@fromorbit.com \
    --cc=linux-xfs@vger.kernel.org \
    --cc=sandeen@sandeen.net \
    --cc=wen.xu@gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.