CVE-2026-31615

MEDIUM

usb: gadget: renesas_usb3: validate endpoint index in standard request handlers

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0002
EPSS Percentile 4.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 (19)
Linux/Linux < 4.5
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 37f430b2240655e6b0199a92aa1057e4d621be51
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 44216e3dd4455b798899b50eedb0ec3831dff8e0
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - adb8014599fdf0818d3d93f1f74e06cd0bdec08d
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - e3d42598f2995cdc07b7779874e7c5f8a1b773db
Linux/Linux 4.5
Linux/Linux 6.12.83 - 6.12.*
Linux/Linux 6.18.24 - 6.18.*
Linux/Linux 6.19.14 - 6.19.*
Linux/Linux 6.6.136 - 6.6.*
... and 9 more
Published Apr 24, 2026
Tracked Since Apr 24, 2026