CVE-2023-53356 Details
Description
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.
A null pointer dereference vulnerability has been identified in the Linux kernel's USB gadget u_serial functionality. This issue arises when the gserial_disconnect function clears the gser->ioport, and subsequently, if gserial_suspend is called, it attempts to access the now-cleared gser->ioport. This access leads to a null pointer dereference. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed by adding a null pointer check in the gserial_suspend function to prevent access to a cleared gser->ioport. Additionally, a static spinlock has been introduced to ensure that gser->ioport does not become null after the check has been applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2788a3553f7497075653210b42e2aeb6ba95e28e | kernel.org | Patch |
| https://git.kernel.org/stable/c/2f6ecb89fe8feb2b60a53325b0eeb9866d88909a | kernel.org | Patch |
| https://git.kernel.org/stable/c/374447e3367767156405bedd230c5d391f4b7962 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a8ea7ed644cbf6314b5b0136b5398754b549fb8f | kernel.org | Patch |
| https://git.kernel.org/stable/c/e60a827ac074ce6bd58305fe5a86afab5fce6a04 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.8, < 5.10.188 >= 5.11, < 5.15.121 >= 5.16, < 6.1.39 >= 6.2, < 6.4.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 14, 2026 | CVE Modified | CISA-ADP |
| Dec 11, 2025 | Initial Analysis | [email protected] |
| Sep 17, 2025 | New CVE Received | kernel.org |