CVE-2023-53356

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

MEDIUM
5.5
CVSS Score
Published: September 17, 2025 at 02:56 PM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1215.16 ≤ v < 6.1.395.8 ≤ v < 5.10.1885.8 ≤ v < 5.15.1215.8 ≤ v < 6.1.395.8 ≤ v < 6.4.45.8 ≤ v < 6.56.2 ≤ v < 6.4.45.8aba3a8d01d623a5efef48ab8e78752d58d4c90c3
Vendor states this is fixed in 2788a3553f7497075653210b42e2aeb6ba95e28e (fixed)
Vendor states this is fixed in 2f6ecb89fe8feb2b60a53325b0eeb9866d88909a (fixed)
Vendor states this is fixed in 374447e3367767156405bedd230c5d391f4b7962 (fixed)
Vendor states this is fixed in a8ea7ed644cbf6314b5b0136b5398754b549fb8f (fixed)
Vendor states this is fixed in e60a827ac074ce6bd58305fe5a86afab5fce6a04 (fixed)
Vendor states this is fixed in 5.10.188 (unaffected)
Vendor states this is fixed in 5.15.121 (unaffected)
Vendor states this is fixed in 5.8 (unaffected)
Vendor states this is fixed in 6.1.39 (unaffected)
Vendor states this is fixed in 6.4.4 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card