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