Re: [PATCH] usb: gadget: f_uac1_legacy: validate bRequest index in generic_{set,get}_cmd

From: Ivy Lopez

Date: Sun Sep 20 2026 - 02:53:56 EST


On Thu, Sep 17, 2026 at 08:18:44 AM UTC, Liu Chao wrote:
> Fixes: d355339eecd9 ("usb: gadget: function: make current f_uac1 implementation legacy")
> Cc: stable@xxxxxxxxxxxxxxx
> Reviewed-by: Weibin Liu <liuwb@xxxxxxxxxxxx>
> Signed-off-by: Liu Chao <liuc63@xxxxxxxxxxxx>

d355339eecd9 is just a file rename. The actual origin is c47d7b09891a
("USB: audio: add USB audio class definitions", 2009-06-03), which
added struct usb_audio_control with data[5] and these two functions
unbounded in the same commit. That's the tag to use.

Fix itself is correct, I'll add Reviewed-by once it's reposted with
the right tag.

ivy