Re: general protection fault in open_rio

From: Alan Stern
Date: Tue Sep 24 2019 - 10:33:14 EST


On Tue, 24 Sep 2019, Andrey Konovalov wrote:

> On Tue, Sep 24, 2019 at 4:19 PM syzbot
> <syzbot+dbd38fbb686a9681143a@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > Hello,
> >
> > syzbot found the following crash on:
> >
> > HEAD commit: d9e63adc usb-fuzzer: main usb gadget fuzzer driver
> > git tree: https://github.com/google/kasan.git usb-fuzzer
> > console output: https://syzkaller.appspot.com/x/log.txt?x=1602b303600000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=f4fa60e981ee8e6a
> > dashboard link: https://syzkaller.appspot.com/bug?extid=dbd38fbb686a9681143a
> > compiler: gcc (GCC) 9.0.0 20181231 (experimental)
> >
> > Unfortunately, I don't have any reproducer for this crash yet.
> >
> > IMPORTANT: if you fix the bug, please add the following tag to the commit:
> > Reported-by: syzbot+dbd38fbb686a9681143a@xxxxxxxxxxxxxxxxxxxxxxxxx

> Most probably the same bug:
>
> https://syzkaller.appspot.com/bug?extid=745b0dff8028f9488eba
>
> #syz dup: KASAN: invalid-free in disconnect_rio (2)

Even more to the point, a patch was recently posted to the mailing list
to remove the rio500 driver entirely:

https://marc.info/?l=linux-usb&m=156925553004947&w=2

Alan Stern