CVE-2026-31615
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of service disruption.
- Exploit odds
- 0.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.1% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.1% · EPSS, next 30 days
- Weakness
- CWE-476 · NULL pointer dereference
- Record status
- Modified
Affected
- Linux Kernel < 6.6.136
- Linux Kernel < 6.12.83
- Linux Kernel < 6.18.24
- Linux Kernel < 6.19.14
- Linux Kernel < 7.0.1
Attack profile CVSS 3.1 · 5.5
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-31615.md and follow it. Check whether this project is affected by CVE-2026-31615. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/1b2bfedccc4fb8c9572e1ea464f905424c91de2a
- https://git.kernel.org/stable/c/37f430b2240655e6b0199a92aa1057e4d621be51
- https://git.kernel.org/stable/c/44216e3dd4455b798899b50eedb0ec3831dff8e0
- https://git.kernel.org/stable/c/adb8014599fdf0818d3d93f1f74e06cd0bdec08d
- https://git.kernel.org/stable/c/e3d42598f2995cdc07b7779874e7c5f8a1b773db
- https://git.kernel.org/stable/c/f880aac8a57ebd92abfa685d45424b2998ac1059
References
- https://git.kernel.org/stable/c/1b2bfedccc4fb8c9572e1ea464f905424c91de2a
- https://git.kernel.org/stable/c/360aa6e71870a175a6d86af905be2ca171639eb3
- https://git.kernel.org/stable/c/37f430b2240655e6b0199a92aa1057e4d621be51
- https://git.kernel.org/stable/c/44216e3dd4455b798899b50eedb0ec3831dff8e0
- https://git.kernel.org/stable/c/7caaf76207f50c77abfd788380e19b2c23a94415
- https://git.kernel.org/stable/c/adb8014599fdf0818d3d93f1f74e06cd0bdec08d
- https://git.kernel.org/stable/c/c4e5ae6db2328d2d9ed55d3005a36c13faab0752
- https://git.kernel.org/stable/c/e3d42598f2995cdc07b7779874e7c5f8a1b773db
- https://git.kernel.org/stable/c/f880aac8a57ebd92abfa685d45424b2998ac1059