linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pengfei Xu <pengfei.xu@intel.com>
To: Dave Chinner <david@fromorbit.com>
Cc: Eric Sandeen <sandeen@sandeen.net>, <dchinner@redhat.com>,
	<djwong@kernel.org>, <heng.su@intel.com>,
	<linux-xfs@vger.kernel.org>, <linux-fsdevel@vger.kernel.org>,
	<lkp@intel.com>, <nogikh@google.com>
Subject: Re: [Syzkaller & bisect] There is "soft lockup in __cleanup_mnt" in v6.4-rc3 kernel
Date: Fri, 26 May 2023 12:55:23 +0800	[thread overview]
Message-ID: <ZHA7uzlUEy5QILxm@xpf.sh.intel.com> (raw)
In-Reply-To: <ZG785SwJtvR4pO/6@dread.disaster.area>

Hi Dave,

On 2023-05-25 at 16:15:01 +1000, Dave Chinner wrote:
> On Thu, May 25, 2023 at 01:44:31PM +0800, Pengfei Xu wrote:
> > On 2023-05-24 at 22:51:27 -0500, Eric Sandeen wrote:
> > > On 5/24/23 9:59 PM, Pengfei Xu wrote:
> > > > Hi Dave,
> > > > 
> > > > Greeting!
> > > > 
> > > > Platform: Alder lake
> > > > There is "soft lockup in __cleanup_mnt" in v6.4-rc3 kernel.
> > > > 
> > > > Syzkaller analysis repro.report and bisect detailed info: https://github.com/xupengfe/syzkaller_logs/tree/main/230524_140757___cleanup_mnt
> > > > Guest machine info: https://github.com/xupengfe/syzkaller_logs/blob/main/230524_140757___cleanup_mnt/machineInfo0
> > > > Reproduced code: https://github.com/xupengfe/syzkaller_logs/blob/main/230524_140757___cleanup_mnt/repro.c
> > > > Reproduced syscall: https://github.com/xupengfe/syzkaller_logs/blob/main/230524_140757___cleanup_mnt/repro.prog
> > > > Bisect info: https://github.com/xupengfe/syzkaller_logs/blob/main/230524_140757___cleanup_mnt/bisect_info.log
> > > > Kconfig origin: https://github.com/xupengfe/syzkaller_logs/blob/main/230524_140757___cleanup_mnt/kconfig_origin
> > > 
> > > There was a lot of discussion yesterday about how turning the crank on
> > > syzkaller and throwing un-triaged bug reports over the wall at stressed-out
> > > xfs developers isn't particularly helpful.
> > > 
> > > There was also a very specific concern raised in that discussion:
> > > 
> > > > IOWs, the bug report is deficient and not complete, and so I'm
> > > > forced to spend unnecessary time trying to work out how to extract
> > > > the filesystem image from a weird syzkaller report that is basically
> > > > just a bunch of undocumented blobs in a github tree.
> > > 
> > > but here we are again, with another undocumented blob in a github tree, and
> > > no meaningful attempt at triage.
> > > 
> > > Syzbot at least is now providing filesystem images[1], which relieves some
> > > of the burden on the filesystem developers you're expecting to fix these
> > > bugs.
> > > 
> > > Perhaps before you send the /next/ filesystem-related syzkaller report, you
> > > can at least work out how to provide a standard filesystem image as part of
> > > the reproducer, one that can be examined with normal filesystem development
> > > and debugging tools?
> > > 
> >   There is a standard filesystem image after
> > 
> > git clone https://gitlab.com/xupengfe/repro_vm_env.git
> > cd repro_vm_env
> > tar -xvf repro_vm_env.tar.gz
> > image is named as centos8_3.img, and will boot by start3.sh.
> 
> No. That is not the filesystem image that is being asked for. The
> syzkaller reproducer (i.e. what you call repro.c) contructs a
> filesystem image in it's own memory which it then mounts and runs
> the test operations on.  That's the filesystem image that we need
> extracted into a separate image file because that's the one that is
> corrupted and we need to look at when triaging these issues.
> Google's syzbot does this now, so your syzkaller bot should also be
> able to do it.
> 
> Please go and talk to the syzkaller authors to find out how they
> extract filesystem images from the reproducer, and any other
> information they've also been asked to provide for triage
> purposes.
> 
  Thanks Dave Chinner's patient suggestion!
  Thanks syzkaller maintainer Aleksandr Nogikh's guidance!
  I put the generated filesystem image file0.gz for mounting in link:
https://github.com/xupengfe/syzkaller_logs/raw/main/230524_140757___cleanup_mnt/file0.gz
  And could "gunzip file0.gz" to get file0.

  Thanks!
  BR.

> -Dave.
> -- 
> Dave Chinner
> david@fromorbit.com

  parent reply	other threads:[~2023-05-26  4:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25  2:59 [Syzkaller & bisect] There is "soft lockup in __cleanup_mnt" in v6.4-rc3 kernel Pengfei Xu
2023-05-25  3:51 ` Eric Sandeen
2023-05-25  5:44   ` Pengfei Xu
2023-05-25  6:15     ` Dave Chinner
2023-05-25 17:55       ` Theodore Ts'o
2023-05-26  6:43         ` Pengfei Xu
2023-05-26 17:42         ` Dave Hansen
2023-05-26 20:54           ` Theodore Ts'o
2023-05-26 21:20             ` Dave Hansen
2023-05-26  4:55       ` Pengfei Xu [this message]
2023-05-25 14:17     ` 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=ZHA7uzlUEy5QILxm@xpf.sh.intel.com \
    --to=pengfei.xu@intel.com \
    --cc=david@fromorbit.com \
    --cc=dchinner@redhat.com \
    --cc=djwong@kernel.org \
    --cc=heng.su@intel.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=nogikh@google.com \
    --cc=sandeen@sandeen.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).