Re: [Bug] Deadlock between rfkill_fop_write() and nfc_unregister_device()

From: Johannes Berg
Date: Tue Dec 17 2024 - 07:10:03 EST


On Tue, 2024-12-17 at 20:01 +0800, Sam Sun wrote:
> On Tue, Dec 17, 2024 at 7:33 PM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> >
> > On Tue, 2024-12-17 at 11:46 +0100, Johannes Berg wrote:
> > > On Tue, 2024-12-17 at 17:33 +0800, Sam Sun wrote:
> > > > Dear developers and maintainers,
> > > >
> > > > We originally encountered a task hung while using our modified
> > > > syzkaller. It was tested against the latest upstream kernel. We
> > > > analyzed the root cause and pinpoint the kernel crash log to the
> > > > following two tasks.
> > > >
> > >
> > > This issue has been known a very long time and should be fixed in NFC,
> > > but I guess nobody is around to do it.
> > >
> > > https://syzkaller.appspot.com/bug?extid=bb540a4bbfb4ae3b425d
> > >
> >
> > I think this one is also the same:
> >
> > https://syzkaller.appspot.com/bug?extid=9ef743bba3a17c756174
> >
> > and that's much older still.
> >
>
> Thanks for your quick reply! I am sorry that I didn't double-check the
> call stack of historical bugs reported by Syzbot. I will be careful
> next time.
>

No worries. Maybe someone who feels responsible for NFC will wake up ;-)

johannes