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

Andrew Jeffery andrew at codeconstruct.com.au
Tue Jun 25 17:07:37 PDT 2024


On Tue, 2024-06-25 at 10:23 +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>

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



More information about the linux-arm-kernel mailing list