CVE-2023-52898

xhci: Fix null pointer dereference when host dies

No CVSS score yet EPSS 0.24%

Published 21 Aug 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-52898

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-52898 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:

xhci: Fix null pointer dereference when host dies

Make sure xhci_free_dev() and xhci_kill_endpoint_urbs() do not race and cause null pointer dereference when host suddenly dies.

Usb core may call xhci_free_dev() which frees the xhci->devs[slot_id] virt device at the same time that xhci_kill_endpoint_urbs() tries to loop through all the device's endpoints, checking if there are any cancelled urbs left to give back.

hold the xhci spinlock while freeing the virt device

Exploitation

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

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 11ec7588a10d4bc2e1e385ac565d2166d375fba1, before 6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1
affected from 11ec7588a10d4bc2e1e385ac565d2166d375fba1, before 133b902378e4acbd824c29dd0d48570ad596e368
affected from 11ec7588a10d4bc2e1e385ac565d2166d375fba1, before 081105213ff6f661c114781d469233c7d0e09c2e
affected from 11ec7588a10d4bc2e1e385ac565d2166d375fba1, before c462ac871f49753eca86bb960f573b993976a5ea
affected from 11ec7588a10d4bc2e1e385ac565d2166d375fba1, before ea2ee5e9991caf74e0604f994c1831a5867055b2
affected from 11ec7588a10d4bc2e1e385ac565d2166d375fba1, before a2bc47c43e70cf904b1af49f76d572326c08bca7
Other versions: unaffected
Linux
affected 4.15
unaffected before 4.15
unaffected from 4.19.271 up to and including 4.19.*
unaffected from 5.4.230 up to and including 5.4.*
unaffected from 5.10.165 up to and including 5.10.*
unaffected from 5.15.90 up to and including 5.15.*
unaffected from 6.1.8 up to and including 6.1.*
unaffected 6.2 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-52898 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52898

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-52898
trivy image --scanners vuln IMAGE | grep CVE-2023-52898

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-52898 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.