Hi Dan, On Wed, Apr 23, 2025 at 11:22:30AM +0300, Dan Carpenter wrote: > The "port_id" is used as an array index into the struct fpc202_priv > priv->addr_caches[] array in fpc202_write_dev_addr(). It's a 2 by 2 > array so if "port_id" is FPC202_NUM_PORTS (2) then it's one element > out of bounds. Change the > to >= to fix this bug. > > Fixes: 1e5c9b1efa1c ("misc: add FPC202 dual port controller driver") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxxx> Thanks, Andi