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. CREATE(Triage):(User=admin) CVE-2022-27223 (https://nvd.nist.gov/vuln/detail/CVE-2022-27223)