CVE-2023-53356

published 17 Sep 2025 · updated 11 May 2026

usb: gadget: u_serial: Add null pointer check in gserial_suspend

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2788a3553f7497075653210b42e2aeb6ba95e28e, Kernel 2f6ecb89fe8feb2b60a53325b0eeb9866d88909a, Kernel 374447e3367767156405bedd230c5d391f4b7962 and 2 more.

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: Add null pointer check in gserial_suspend Consider a case where gserial_disconnect has already cleared gser->ioport. And if gserial_suspend gets called afterwards, it will lead to accessing of gser->ioport and thus causing null pointer dereference. Avoid this by adding a null pointer check. Added a static spinlock to prevent gser->ioport from becoming null after the newly added null pointer check.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.8, >=aba3a8d01d623a5efef48ab8e78752d58d4c90c3 <2788a3553f7497075653210b42e2aeb6ba95e28e, >=aba3a8d01d623a5efef48ab8e78752d58d4c90c3 <2f6ecb89fe8feb2b60a53325b0eeb9866d88909a, >=aba3a8d01d623a5efef48ab8e78752d58d4c90c3 <374447e3367767156405bedd230c5d391f4b7962, >=aba3a8d01d623a5efef48ab8e78752d58d4c90c3 <a8ea7ed644cbf6314b5b0136b5398754b549fb8f, >=aba3a8d01d623a5efef48ab8e78752d58d4c90c3 <e60a827ac074ce6bd58305fe5a86afab5fce6a042788a3553f7497075653210b42e2aeb6ba95e28e, 2f6ecb89fe8feb2b60a53325b0eeb9866d88909a, 374447e3367767156405bedd230c5d391f4b7962, a8ea7ed644cbf6314b5b0136b5398754b549fb8f, e60a827ac074ce6bd58305fe5a86afab5fce6a04

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-53356 severity on Zeptric[![CVE-2023-53356](https://zeptric.io/badge/cve/CVE-2023-53356.svg)](https://zeptric.io/cve/CVE-2023-53356)