Re: [PATCH] usb: gadget: u_serial: fix null-ptr-deref in gs_start_io
From: Greg KH
Date: Thu Sep 26 2024 - 08:25:40 EST
On Thu, Sep 26, 2024 at 01:17:53PM +0200, Hubert Buczyński wrote:
> > Commit ffd603f21423 ("usb: gadget: u_serial: Add null pointer check in
> > gs_start_io") fixed this issue. Please try adding it into your builds.
> >
> > Regards,
> > Prashanth K
>
> Thanks for the quick response. Indeed, the commit ffd603f21423
> ("usb: gadget: u_serial: Add null pointer check in gs_start_io")
> solves the problem. Sorry for not checking the newest version.
>
> I wonder whether it should also be applied to the LTS v5.15.167.
> The bug is still present there.
Then submit it for inclusion as per the stable kernel rules!
thanks,
greg k-h