CVE-2026-31615
MEDIUMusb: gadget: renesas_usb3: validate endpoint index in standard request handlers
Title source: cnaDescription
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: renesas_usb3: validate endpoint index in standard request handlers The GET_STATUS and SET/CLEAR_FEATURE handlers extract the endpoint number from the host-supplied wIndex without any sort of validation. Fix this up by validating the number of endpoints actually match up with the number the device has before attempting to dereference a pointer based on this math. This is just like what was done in commit ee0d382feb44 ("usb: gadget: aspeed_udc: validate endpoint index for ast udc") for the aspeed driver.
References (9)
Core 9
Core References
Scores
CVSS v3
5.5
EPSS
0.0013
EPSS Percentile
2.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (34)
linux/Kernel
4.5.0 - 5.10.258linux
linux/Kernel
5.11.0 - 5.15.209linux
linux/Kernel
5.16.0 - 6.1.175linux
linux/Kernel
6.13.0 - 6.18.24linux
linux/Kernel
6.19.0 - 6.19.14linux
linux/Kernel
6.2.0 - 6.6.136linux
linux/Kernel
6.20.0 - 7.0.1linux
linux/Kernel
6.7.0 - 6.12.83linux
Linux/Linux
< 4.5
Linux/Linux
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 37f430b2240655e6b0199a92aa1057e4d621be51
... and 24 more
Published
Apr 24, 2026
Tracked Since
Apr 24, 2026