Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: uvideo uvm_fault panic



> Date: Sat, 14 May 2022 15:14:50 +0000
> From: sc.dying%gmail.com@localhost
> 
> On 2022/05/14 13:47, Taylor R Campbell wrote:
> > Can you please try the two attached patches?
> > 
> > 1. uvideobadstream.patch should fix the _crash_ when you try to open a
> >    video stream on a device that the driver deemed to have a bad
> >    descriptor.  Try this one first, if you have time -- it prevents a
> >    malicious USB device from causing this kernel crash.
> 
> Yes, it fixes crash -- as it prevents attaching video(4)...
> 
> > 2. uvideosizeof.patch should fix the sizeof calculations so that the
> >    driver stops rejecting your device's descriptor.  This one should
> >    make your device work again.
> 
> It works well again.

Thanks, committed!


Home | Main Index | Thread Index | Old Index