Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.4, < 5.15.203 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/14bf08ab2cdfcdfd3f13e799d06692a1b3e0745fPatch
- https://git.kernel.org/stable/c/390536cc6af4ca5566bc3bf1f8b704700380cd2cPatch
- https://git.kernel.org/stable/c/3d1433fe34b224b90259e207e5389e95b504ef04Patch
- https://git.kernel.org/stable/c/7f6f127b9bc34bed35f56faf7ecb1561d6b39000Patch
- https://git.kernel.org/stable/c/9ab9b0e5fcdac325f950fc8b6caa08a9e22a0db9Patch
- https://git.kernel.org/stable/c/d61446dfc9d387775bb1b95b081953201b9222afPatch
- https://git.kernel.org/stable/c/fb2ad0c1334a3eccfe4ed203f9eef5a4879226f6Patch
FAQ
What is CVE-2026-31755?
CVE-2026-31755 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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->d...
How severe is CVE-2026-31755?
CVE-2026-31755 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-31755?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.