CVE-2023-52898

xhci: Fix null pointer dereference when host dies

published August 21, 2024

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

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

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00240 · 14.3th percentile
Published
2024-08-21T06:10Z
EPSS history
Timeline
  • 21 AUG 06:10Z
    xhci: Fix null pointer dereference when host dies
    cvelistv5