# CVE-2026-31615: usb: gadget: renesas_usb3: validate endpoint index in standard request handlers

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-24T14:42:34.806Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 746bfe63bba37ad55956b7377c9af494e7e28929 before 7caaf76207f50c77abfd788380e19b2c23a94415; from 746bfe63bba37ad55956b7377c9af494e7e28929 before c4e5ae6db2328d2d9ed55d3005a36c13faab0752; from 746bfe63bba37ad55956b7377c9af494e7e28929 before 360aa6e71870a175a6d86af905be2ca171639eb3; from 746bfe63bba37ad55956b7377c9af494e7e28929 before 1b2bfedccc4fb8c9572e1ea464f905424c91de2a; from 746bfe63bba37ad55956b7377c9af494e7e28929 before adb8014599fdf0818d3d93f1f74e06cd0bdec08d; from 746bfe63bba37ad55956b7377c9af494e7e28929 before 44216e3dd4455b798899b50eedb0ec3831dff8e0; from 746bfe63bba37ad55956b7377c9af494e7e28929 before 37f430b2240655e6b0199a92aa1057e4d621be51; from 746bfe63bba37ad55956b7377c9af494e7e28929 before e3d42598f2995cdc07b7779874e7c5f8a1b773db; from 746bfe63bba37ad55956b7377c9af494e7e28929 before f880aac8a57ebd92abfa685d45424b2998ac1059; 4.5 (not affected: before 4.5; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.136 up to 6.6.*; from 6.12.83 up to 6.12.*; from 6.18.24 up to 6.18.*; from 6.19.14 up to 6.19.*; from 7.0.1 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 4.5 before 6.6.136; from 6.12 before 6.12.83; from 6.13 before 6.18.24; from 6.19 before 6.19.14; from 7.0 before 7.0.1

## References

- <https://git.kernel.org/stable/c/7caaf76207f50c77abfd788380e19b2c23a94415>
- <https://git.kernel.org/stable/c/c4e5ae6db2328d2d9ed55d3005a36c13faab0752>
- <https://git.kernel.org/stable/c/360aa6e71870a175a6d86af905be2ca171639eb3>
- <https://git.kernel.org/stable/c/1b2bfedccc4fb8c9572e1ea464f905424c91de2a> (patch)
- <https://git.kernel.org/stable/c/adb8014599fdf0818d3d93f1f74e06cd0bdec08d> (patch)
- <https://git.kernel.org/stable/c/44216e3dd4455b798899b50eedb0ec3831dff8e0> (patch)
- <https://git.kernel.org/stable/c/37f430b2240655e6b0199a92aa1057e4d621be51> (patch)
- <https://git.kernel.org/stable/c/e3d42598f2995cdc07b7779874e7c5f8a1b773db> (patch)
- <https://git.kernel.org/stable/c/f880aac8a57ebd92abfa685d45424b2998ac1059> (patch)

## Sources

- CVE List: [CVE-2026-31615](https://www.cve.org/CVERecord?id=CVE-2026-31615), CVE Terms of Use, modified 2026-06-14
- NVD: [CVE-2026-31615](https://nvd.nist.gov/vuln/detail/CVE-2026-31615), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31615 · Whole record: https://cve.day/CVE-2026-31615.json · Rebuilt by cve.day 2026-11-25T22:59:19.516Z
