[PATCH v2] usb: gadget: aspeed_udc: validate endpoint index for ast udc

Andrew Jeffery andrew at codeconstruct.com.au
Mon Jun 24 16:55:24 PDT 2024


On Mon, 2024-06-24 at 09:53 +0800, Ma Ke wrote:
> We should verify the bound of the array to assure that host
> may not manipulate the index to point past endpoint array.
> 
> Found by static analysis.
> 
> Signed-off-by: Ma Ke <make24 at iscas.ac.cn>

Probably best to do a v3 with a changelog as Greg's email suggests (and
for the v3 changelog entry, mention that you added the changelog).

Acked-by: Andrew Jeffery <andrew at codeconstruct.com.au>




More information about the linux-arm-kernel mailing list