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.
https://security.netapp.com/advisory/ntap-20220419-0001/
https://lists.debian.org/debian-lts-announce/2022/07/msg00000.html
https://github.com/torvalds/linux/commit/7f14c7227f342d9932f9b918893c8814f86d2a0d
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.12