Re: [PATCH 1/2] usb: gadget: f_uac2: fix memory leak in UAC2_RATE_ATTRIBUTE store
From: Greg KH
Date: Fri Jul 10 2026 - 09:04:08 EST
On Mon, Jun 15, 2026 at 06:52:01PM +0800, Ming Qing wrote:
> On Sun, Jun 14, 2026 at 5:39 PM +0800, Peter Korsgaard wrote:
> > FYI, I see the same issue is also fixed in the recently proposed
> > "[PATCH] usb: gadget: uac: validate rate list length before storing"
> >
> > https://lore.kernel.org/linux-usb/20260519143319.147494-1-a0yami@xxxxxxxxxxx/
>
> Yes, that includes the same buffer lifetime fix. I'm happy to split it up if that makes it easier to pick.
>
Please do, I just took that one now and this series does not apply.
thanks,
greg k-h