CVE-2023-53551

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

No CVSS score yet EPSS 0.16%

Published 4 Oct 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-53551

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53551 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.44% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from aba3a8d01d623a5efef48ab8e78752d58d4c90c3, before c5360eec648bd506afa304ae4a71f82e13d41897
affected from aba3a8d01d623a5efef48ab8e78752d58d4c90c3, before 3b24c980dc07be4550a9d1450ed7057f882530e5
affected from aba3a8d01d623a5efef48ab8e78752d58d4c90c3, before ec357cd3e8af614855d286dd378725cdc7264df6
affected from aba3a8d01d623a5efef48ab8e78752d58d4c90c3, before 44e004f757a7ae13dfebaadbcfdb1a6f98c10377
affected from aba3a8d01d623a5efef48ab8e78752d58d4c90c3, before 5ec63fdbca604568890c577753c6f66c5b3ef0b5
Other versions: unaffected
Linux
affected 5.8
unaffected before 5.8
unaffected from 5.10.171 up to and including 5.10.*
unaffected from 5.15.97 up to and including 5.15.*
unaffected from 6.1.15 up to and including 6.1.*
unaffected from 6.2.2 up to and including 6.2.*
unaffected 6.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53551 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53551

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53551
trivy image --scanners vuln IMAGE | grep CVE-2023-53551

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53551 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.