VYPR
Unrated severityNVD Advisory· Published Sep 17, 2025· Updated Jan 14, 2026

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

CVE-2023-53356

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 products

1
  • Linux/Linuxv5
    Range: 5.8

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.