CVE-2023-53551 Details
Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: Add null pointer check in gserial_resume Consider a case where gserial_disconnect has already cleared gser->ioport. And if a wakeup interrupt triggers afterwards, gserial_resume gets called, which will lead to accessing of gser->ioport and thus causing null pointer dereference.Add a null pointer check to prevent this. Added a static spinlock to prevent gser->ioport from becoming null after the newly added 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 a subsequent wakeup interrupt triggers the gserial_resume function. The resume function then attempts to access the cleared ioport, leading to a null pointer dereference. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed in the Linux kernel stable tree by adding a null pointer check in the gserial_resume function to prevent access to a cleared ioport. Additionally, a static spinlock has been introduced to manage access to the ioport, ensuring it 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.
No SSVC data is available for this CVE.
References 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/3b24c980dc07be4550a9d1450ed7057f882530e5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/44e004f757a7ae13dfebaadbcfdb1a6f98c10377 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5ec63fdbca604568890c577753c6f66c5b3ef0b5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c5360eec648bd506afa304ae4a71f82e13d41897 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ec357cd3e8af614855d286dd378725cdc7264df6 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.8, < 5.10.171 >= 5.11, < 5.15.97 >= 5.16, < 6.1.15 >= 6.2, < 6.2.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Mar 21, 2026 | Modified Analysis | [email protected] |
| Feb 12, 2026 | Initial Analysis | [email protected] |
| Oct 4, 2025 | New CVE Received | kernel.org |