Re: [PATCH 1/2] usb: gadget: f_uac2: fix memory leak in UAC2_RATE_ATTRIBUTE store

From: Ming Qing

Date: Mon Jun 15 2026 - 07:00:29 EST


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.