usb: gadget: renesas_usb3: validate endpoint index in standard request handlers (Linux Linux)

CVE-2026-31615
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 746bfe63bba37ad55956b7377c9af494e7e28929 < 7caaf76207f50c77abfd788380e19b2c23a94415 ; affected 746bfe63bba37ad55956b7377c9af494e7e28929 < c4e5ae6db2328d2d9ed55d3005a36c13faab0752 ; affected 746bfe63bba37ad55956b7377c9af494e7e28929 < 360aa6e71870a175a6d86af905be2ca171639eb3 ; affected 746bfe63bba37ad55956b7377c9af494e7e28929 < 1b2bfedccc4fb8c9572e1ea464f905424c91de2a ; affected 746bfe63bba37ad55956b7377c9af494e7e28929 < adb8014599fdf0818d3d93f1f74e06cd0bdec08d ; affected 746bfe63bba37ad55956b7377c9af494e7e28929 < 44216e3dd4455b798899b50eedb0ec3831dff8e0
Linux · Linuxaffected 4.5 ; unaffected 0 < 4.5 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.136 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD