From: Pengfei Xu <pengfei.xu@intel.com>
To: Miklos Szeredi <mszeredi@redhat.com>
Cc: <linux-kernel@vger.kernel.org>, <heng.su@intel.com>
Subject: Re: [Syzkaller] INFO: task hung in fuse_lookup with v6.0 kernel in guest
Date: Wed, 19 Oct 2022 10:53:38 +0800 [thread overview]
Message-ID: <Y09msl1sHoA2Zj7k@xpf.sh.intel.com> (raw)
In-Reply-To: <CAOssrKfakpGguAV=102jpW4m+YfpRx=+cBBO1O43bt3iwJHiSA@mail.gmail.com>
Hi Miklos,
On 2022-10-18 at 11:23:17 +0200, Miklos Szeredi wrote:
> On Mon, Oct 17, 2022 at 11:17 AM Pengfei Xu <pengfei.xu@intel.com> wrote:
> >
> > Hi Miklos,
> >
> > Greeting!
> >
> > Platform: Tiger lake CPU platform.
> >
> > We found 1 "task hung in fuse_lookup" issue by syzkaller with v6.0 mainline
> > kernel in guest.
> >
> > Bisected and found the bad commit:
> > "
> > commit: 62dd1fc8cc6b22e3e568be46ebdb817e66f5d6a5
> > fuse: move fget() to fuse_get_tree()
> > "
> >
> > Reproduced code generated by syzkaller, binary, bisect log and all the dmesg
> > info are in attached package.
>
> Thanks for the report.
>
> I tried out the reproducer, and the deadlock can be triggered.
> Unfortunately killing the deadlocked processes is not enough, but it
> still should be possible to recover with "echo 1 >
> /sys/fs/fuse/connections/$FUSE_DEV/abort". In my tests this works,
> so I'm not sure there's anything to fix here.
Thanks for the solution: "echo 1 > /sys/fs/fuse/connections/$FUSE_DEV/abort"
>
> Is there a real life situation where this occurs, or is this just
> triggered with fuzzing?
It only could be reproduced by repro.c from syzkaller, and we have not
encountered this problem in real life yet.
So it's a low priority issue and it's not even clear if it's worth solving?
>
> I'm wondering why syzbot didn't try aborting using the "abort" file in
> sysfs, AFAICS it does know this trick.
Yes, maybe syzbot should improve it? :)
Thanks!
BR.
>
> Thanks,
> Miklos
>
prev parent reply other threads:[~2022-10-19 2:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Y00b31dX1mIfgnBP@xpf.sh.intel.com>
2022-10-18 1:37 ` [Syzkaller] INFO: task hung in fuse_lookup with v6.0 kernel in guest Pengfei Xu
2022-10-18 9:23 ` Miklos Szeredi
2022-10-19 2:53 ` Pengfei Xu [this message]
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=Y09msl1sHoA2Zj7k@xpf.sh.intel.com \
--to=pengfei.xu@intel.com \
--cc=heng.su@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mszeredi@redhat.com \
/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