Re: [syzbot] [media?] WARNING in smsusb_term_device

From: duoming
Date: Wed Mar 01 2023 - 06:29:58 EST


Hello,

On Sun, 26 Feb 2023 18:07:20 -0800 syzbot wrote:

> syzbot has bisected this issue to:
>
> commit ebad8e731c1c06adf04621d6fd327b860c0861b5
> Author: Duoming Zhou <duoming@xxxxxxxxxx>
> Date: Mon Jan 23 02:04:38 2023 +0000
>
> media: usb: siano: Fix use after free bugs caused by do_submit_urb
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1687af1cc80000
> start commit: 8232539f864c Add linux-next specific files for 20230225
> git tree: linux-next
> final oops: https://syzkaller.appspot.com/x/report.txt?x=1587af1cc80000
> console output: https://syzkaller.appspot.com/x/log.txt?x=1187af1cc80000
> kernel config: https://syzkaller.appspot.com/x/.config?x=4fe68735401a6111
> dashboard link: https://syzkaller.appspot.com/bug?extid=40ac6e73326e79ee8ecb
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13ba7cb0c80000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16734964c80000
>
> Reported-by: syzbot+40ac6e73326e79ee8ecb@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: ebad8e731c1c ("media: usb: siano: Fix use after free bugs caused by do_submit_urb")

Thanks for reporting this issue! I have sent a patch to fix it. The link is below:

https://patchwork.linuxtv.org/project/linux-media/patch/20230301091813.82543-1-duoming@xxxxxxxxxx/

Best regards,
Duoming Zhou