CVE-2026-31615

medium

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.

References

https://git.kernel.org/stable/c/e3d42598f2995cdc07b7779874e7c5f8a1b773db

https://git.kernel.org/stable/c/adb8014599fdf0818d3d93f1f74e06cd0bdec08d

https://git.kernel.org/stable/c/44216e3dd4455b798899b50eedb0ec3831dff8e0

https://git.kernel.org/stable/c/37f430b2240655e6b0199a92aa1057e4d621be51

Details

Source: Mitre, NVD

Published: 2026-04-24

Updated: 2026-04-24

Risk Information

CVSS v2

Base Score: 6.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium