CVE-2023-52898

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-52898
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52898.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-52898
Downstream
Related
Published
2024-08-21T07:15:06Z
Modified
2025-08-09T19:01:27Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

xhci: Fix null pointer dereference when host dies

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

Usb core may call xhcifreedev() which frees the xhci->devs[slotid] virt device at the same time that xhcikillendpointurbs() 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

References

Affected packages