CVE-2026-31755

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*

History

11 Nov 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: cdns3: gadget: corrección de desreferencia de puntero NULL en ep_queue Cuando el endpoint del gadget está deshabilitado o aún no configurado, el puntero ep -> desc puede ser NULL. Esto provoca una desreferencia de puntero NULL cuando se llama a __cdns3_gadget_ep_queue(), causando un fallo del kernel. Se añade una comprobación para devolver -ESHUTDOWN si ep -> desc es NULL, que es el código de retorno estándar para endpoints no configurados. Esto evita posibles fallos cuando se llama a ep_queue en endpoints que no están listos.

04 Jul 2026, 12:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/3cf0580a09d417eab41ce914a11f9cde3a121871 -

08 May 2026, 18:45

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/14bf08ab2cdfcdfd3f13e799d06692a1b3e0745f - () https://git.kernel.org/stable/c/14bf08ab2cdfcdfd3f13e799d06692a1b3e0745f - Patch
References () https://git.kernel.org/stable/c/390536cc6af4ca5566bc3bf1f8b704700380cd2c - () https://git.kernel.org/stable/c/390536cc6af4ca5566bc3bf1f8b704700380cd2c - Patch
References () https://git.kernel.org/stable/c/3d1433fe34b224b90259e207e5389e95b504ef04 - () https://git.kernel.org/stable/c/3d1433fe34b224b90259e207e5389e95b504ef04 - Patch
References () https://git.kernel.org/stable/c/7f6f127b9bc34bed35f56faf7ecb1561d6b39000 - () https://git.kernel.org/stable/c/7f6f127b9bc34bed35f56faf7ecb1561d6b39000 - Patch
References () https://git.kernel.org/stable/c/9ab9b0e5fcdac325f950fc8b6caa08a9e22a0db9 - () https://git.kernel.org/stable/c/9ab9b0e5fcdac325f950fc8b6caa08a9e22a0db9 - Patch
References () https://git.kernel.org/stable/c/d61446dfc9d387775bb1b95b081953201b9222af - () https://git.kernel.org/stable/c/d61446dfc9d387775bb1b95b081953201b9222af - Patch
References () https://git.kernel.org/stable/c/fb2ad0c1334a3eccfe4ed203f9eef5a4879226f6 - () https://git.kernel.org/stable/c/fb2ad0c1334a3eccfe4ed203f9eef5a4879226f6 - Patch
First Time Linux linux Kernel
Linux
CWE CWE-476

01 May 2026, 15:24

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-01 15:16

Updated : 2026-11-11 21:10


NVD link : CVE-2026-31755

Mitre link : CVE-2026-31755

CVE.ORG link : CVE-2026-31755


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference