In drivers/usb/gadget/udc/udc-xilinx.c in the Linux kernel before 5.16.12, the endpoint index is not validated and might be manipulated by the host for out-of-array access.
| Software | From | Fixed in |
|---|---|---|
| debian / debian_linux | 9.0 | 9.0.x |
| linux / linux_kernel | 5.16 | 5.16.12 |
| linux / linux_kernel | 5.11 | 5.15.26 |
| linux / linux_kernel | 5.5 | 5.10.103 |
| linux / linux_kernel | 4.20 | 5.4.182 |
| linux / linux_kernel | 4.15 | 4.19.232 |
| linux / linux_kernel | 4.10 | 4.14.269 |
| linux / linux_kernel | 3.18 | 4.9.304 |