CVE-2026-31615: usb: gadget: renesas_usb3: validate endpoint index in standard request handlers
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: renesasusb3: validate endpoint index in standard request handlers
The GETSTATUS and SET/CLEARFEATURE 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: aspeedudc: validate endpoint index for ast udc") for the aspeed driver.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.137.1-1 - Compensating control
In the Linux kernel USB gadget renesas_usb3 driver, validate the host-supplied wIndex endpoint number against the number of endpoints the device has in the GET_STATUS and SET/CLEAR_FEATURE standard request handlers before dereferencing the endpoint pointer.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-31615?
CVE-2026-31615 has a medium severity rating with a CVSS score of 5.5.
How do I fix CVE-2026-31615?
You can fix CVE-2026-31615 by applying the patch that is available for the Linux kernel.
What type of vulnerability is CVE-2026-31615?
CVE-2026-31615 is categorized as a Null Pointer Dereference vulnerability.
Which systems are affected by CVE-2026-31615?
CVE-2026-31615 affects the Linux kernel and specifically the usb: gadget: renesas_usb3 component.
When was CVE-2026-31615 published?
CVE-2026-31615 was published on April 24, 2026.