Bug 2401481 (CVE-2023-53551) - CVE-2023-53551 kernel: usb: gadget: u_serial: Add null pointer check in gserial_resume
Summary: CVE-2023-53551 kernel: usb: gadget: u_serial: Add null pointer check in gseri...
Keywords:
Status: NEW
Alias: CVE-2023-53551
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-04 16:02 UTC by OSIDB Bzimport
Modified: 2025-10-07 13:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-04 16:02:56 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.