Description
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.
Published: 2026-05-01
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A NULL pointer dereference in the Linux USB cdns3 gadget driver causes a kernel crash when an endpoint is disabled or not yet configured. The bug is triggered by a call to __cdns3_gadget_ep_queue() when the ep->desc pointer is NULL, leading to an unhandled dereference and system shutdown. The impact is a denial of service; the system becomes unavailable until reboot.

Affected Systems

All Linux kernel installations that include the cdns3 USB gadget driver and have not yet incorporated the patch are vulnerable. No specific versions are listed, so any kernel embedding this driver before the fix is at risk.

Risk and Exploitability

The CVSS score is 5.5 and the EPSS score is not available, making the exploitation likelihood unclear. The bug can be triggered by an attacker with control over the USB gadget interface, which may be achievable locally or via compromised device configuration. Because the vulnerability leads to a kernel crash, it is not a remote code execution but a severe local denial of service. The vulnerability is not listed as a known exploited vulnerability in the KEV catalog.

Generated by OpenCVE AI on May 2, 2026 at 10:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that incorporates the patch (commit 14bf08ab2cdf…)
  • Reboot the system after updating to ensure the new code is loaded
  • Avoid calling ep_queue on endpoints that are not initialized; verify that all gadget endpoints are fully configured before use
  • If an immediate kernel update is not possible, disable or unload the cdns3 gadget module to prevent the fault

Generated by OpenCVE AI on May 2, 2026 at 10:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4561-1 linux-6.1 security update
Debian DSA Debian DSA DSA-6243-1 linux security update
History

Sat, 02 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 01 May 2026 14:45:00 +0000

Type Values Removed Values Added
Description 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.
Title usb: cdns3: gadget: fix NULL pointer dereference in ep_queue
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-01T14:14:46.288Z

Reserved: 2026-03-09T15:48:24.139Z

Link: CVE-2026-31755

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-01T15:16:38.460

Modified: 2026-05-01T15:24:14.893

Link: CVE-2026-31755

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-01T00:00:00Z

Links: CVE-2026-31755 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-02T10:30:40Z

Weaknesses