CVE-2023-53551

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

published October 4, 2025

CVSS
—
EPSS
0%
Percentile
4.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00157 · 4.4th percentile
Published
2025-10-04T15:16Z
EPSS history
Timeline
  • 04 OCT 15:16Z
    usb: gadget: u_serial: Add null pointer check in gserial_resume
    cvelistv5