CVE-2026-31755: usb: cdns3: gadget: fix NULL pointer dereference in ep_queue
In the Linux kernel, the following vulnerability has been resolved:
usb: cdns3: gadget: fix NULL pointer dereference in ep_queue
When the gadget endpoint is disabled or not yet configured, the ep->desc
pointer can be NULL. This leads to a NULL pointer dereference when
__cdns3_gadget_ep_queue() is called, causing a kernel crash.
Add a check to return -ESHUTDOWN if ep->desc is NULL, which is the
standard return code for unconfigured endpoints.
This prevents potential crashes when ep_queue is called on endpoints
that are not ready.
Security readout for executives and security teams
Plain-English summary
CVE-2026-31755 is a Linux kernel crash bug in the Cadence USB3 gadget driver. If an endpoint is not configured or has been disabled, the kernel can dereference a NULL pointer and crash. This is primarily an availability risk for systems using the affected USB gadget functionality.
Executive priority
Treat as a targeted availability issue. Prioritize patching where Linux devices rely on USB gadget/device-mode functionality, especially embedded products or appliances. It is less urgent for systems without the affected driver path, and no active exploitation is reported in the provided sources.
Technical view
The issue is in the Linux kernel cdns3 gadget path, specifically __cdns3_gadget_ep_queue(). When ep->desc is NULL for an unconfigured or disabled endpoint, ep_queue can trigger a NULL pointer dereference. The upstream fix adds a NULL check and returns -ESHUTDOWN for unconfigured endpoints.
Likely exposure
Exposure appears limited to Linux systems using the cdns3 USB gadget driver and affected kernel builds. General Linux servers not using this USB gadget path may not be practically exposed. Confirm against vendor kernels, backports, and the listed stable commits.
Exploitation context
The sources describe a kernel crash condition, not privilege escalation or data exposure. CISA KEV status is false in the provided bundle, and no cited source reports active exploitation. Practical exploitability depends on access to trigger gadget endpoint queueing on affected systems.
Researcher notes
The record lacks CVSS, CWE, and detailed attack prerequisites. The fix behavior is clear: guard ep->desc and return -ESHUTDOWN. Researchers should focus on configuration-dependent reachability and vendor kernel backports rather than assuming all Linux deployments are equally exposed.
Mitigation direction
Update to a kernel containing the referenced stable cdns3 gadget fix.
Use distribution security advisories to identify backported fixed kernel packages.
If updates are delayed, review whether cdns3 USB gadget functionality can be disabled.
Prioritize embedded, appliance, and USB device-mode Linux systems first.
Validation and detection
Inventory Linux systems using Cadence cdns3 USB gadget support.
Compare running kernel packages with vendor fixed releases or referenced stable commits.
Check whether the cdns3 gadget driver is present and enabled.
Review kernel crash logs for NULL dereference in cdns3 gadget endpoint queueing.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2026-31755 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
0ADP providers
9Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
May 1, 2026, 14:14 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.