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

Medium 5.5 Published Updated

A missing validation in the Renesas USB3 gadget driver allows a null pointer dereference, potentially causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31615?

CVE-2026-31615 is a medium-severity vulnerability in Linux kernel, published on 24 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2026-31615?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31615?

Apply the vendor's patch.

Is CVE-2026-31615 being exploited?

There is no known exploitation of CVE-2026-31615 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-83729, BELL-CVE-2026-31615, DEBIAN-CVE-2026-31615, GHSA-gggw-8cq2-45cp, ROOT-OS-DEBIAN-11-CVE-2026-31615, ROOT-OS-DEBIAN-12-CVE-2026-31615 and 3 more.

Is CVE-2026-31615 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free