CVE-2023-53356: usb: gadget: u_serial: Add null pointer check in gserial_suspend
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.
Security readout for executives and security teams
Plain-English summary
This Linux kernel flaw can let a local low-privileged user or process crash an affected system by hitting a USB gadget serial race. It does not indicate data theft or privilege escalation, but it can cause high availability impact where the vulnerable code is reachable.
Executive priority
Treat as a moderate availability risk. It is not currently evidenced as exploited or remote, but systems relying on Linux USB gadget serial should be patched through normal kernel maintenance with priority over low-impact hygiene updates.
Technical view
CVE-2023-53356 is a CWE-476 null pointer dereference in Linux USB gadget u_serial. If gserial_disconnect clears gser->ioport before gserial_suspend later uses it, the kernel can dereference null. The fix adds a null check and static spinlock protection.
Likely exposure
Exposure is most relevant to Linux systems using or enabling USB gadget serial functionality. The CVSS vector is local, low complexity, low privilege, no user interaction, with availability-only impact. General-purpose servers without reachable USB gadget serial paths are likely lower risk.
Exploitation context
The provided bundle does not show active exploitation, and KEV is false. Evidence supports a local denial-of-service condition, not remote compromise. No public exploit status is cited in the supplied sources.
Researcher notes
The source bundle ties the issue to a race between disconnect and suspend handling in u_serial. Affected-version evidence is limited to CVE metadata and stable commit references, so distribution backport status must be validated with the relevant vendor.
Mitigation direction
Apply vendor kernel updates containing the referenced stable fixes.
Prioritize Linux hosts using USB gadget serial functionality.
If patching is delayed, reduce local access to affected systems.
Check vendor guidance for branch-specific fixed kernel versions.
Monitor for kernel oops or panic events involving u_serial.
Validation and detection
Inventory Linux kernel versions across affected assets.
Identify systems with USB gadget serial code enabled or reachable.
Confirm installed kernels include the relevant stable fix commit.
Review crash logs for u_serial or gserial_suspend null dereferences.
Track vendor advisories for distribution-specific backports.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.