public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Syzkaller] INFO: task hung in fuse_lookup with v6.0 kernel in guest
       [not found] <Y00b31dX1mIfgnBP@xpf.sh.intel.com>
@ 2022-10-18  1:37 ` Pengfei Xu
  2022-10-18  9:23 ` Miklos Szeredi
  1 sibling, 0 replies; 3+ messages in thread
From: Pengfei Xu @ 2022-10-18  1:37 UTC (permalink / raw)
  To: linux-kernel, mszeredi; +Cc: heng.su

Hi,

I received the email that:"BOUNCE linux-kernel@vger.kernel.org: Message too
long (>6000000 chars)".

To avoid missing the attached log, I put all the info in below link:
https://github.com/xupengfe/syzkaller_logs/tree/main/221017_task_hung_in_fuse_lookup

It's reproduced in v6.0 mainline guest on TGL-H platform.
The dmesg that reproduces the issue with the v6.0 kernel in the guest is also
in the link above.

Thanks!
BR.


On 2022-10-17 at 17:09:51 +0800, Pengfei Xu 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.
> 
> Hope it's helpful.
> 
> Thanks!
> BR.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Syzkaller] INFO: task hung in fuse_lookup with v6.0 kernel in guest
       [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
  1 sibling, 1 reply; 3+ messages in thread
From: Miklos Szeredi @ 2022-10-18  9:23 UTC (permalink / raw)
  To: Pengfei Xu; +Cc: linux-kernel, heng.su

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.

Is there a real life situation where this occurs, or is this just
triggered with fuzzing?

I'm wondering why syzbot didn't try aborting using the "abort" file in
sysfs, AFAICS it does know this trick.

Thanks,
Miklos


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Syzkaller] INFO: task hung in fuse_lookup with v6.0 kernel in guest
  2022-10-18  9:23 ` Miklos Szeredi
@ 2022-10-19  2:53   ` Pengfei Xu
  0 siblings, 0 replies; 3+ messages in thread
From: Pengfei Xu @ 2022-10-19  2:53 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: linux-kernel, heng.su

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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-19  2:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox