CVE-2023-53551

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

MEDIUM
5.5
CVSS Score
Published: October 4, 2025 at 03:16 PM UTC
Updated: June 17, 2026 at 06:45 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%

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.

Affected

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

5.11 ≤ v < 5.15.975.16 ≤ v < 6.1.155.8 ≤ v < 5.10.1715.8 ≤ v < 5.15.975.8 ≤ v < 6.1.155.8 ≤ v < 6.2.25.8 ≤ v < 6.36.2 ≤ v < 6.2.25.8aba3a8d01d623a5efef48ab8e78752d58d4c90c3
Vendor states this is fixed in 3b24c980dc07be4550a9d1450ed7057f882530e5 (fixed)
Vendor states this is fixed in 44e004f757a7ae13dfebaadbcfdb1a6f98c10377 (fixed)
Vendor states this is fixed in 5ec63fdbca604568890c577753c6f66c5b3ef0b5 (fixed)
Vendor states this is fixed in c5360eec648bd506afa304ae4a71f82e13d41897 (fixed)
Vendor states this is fixed in ec357cd3e8af614855d286dd378725cdc7264df6 (fixed)
Vendor states this is fixed in 5.10.171 (unaffected)
Vendor states this is fixed in 5.15.97 (unaffected)
Vendor states this is fixed in 5.8 (unaffected)
Vendor states this is fixed in 6.1.15 (unaffected)
Vendor states this is fixed in 6.2.2 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)

CVSS

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

Quick Info

StatusANALYZED
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