CVE-2023-52898

published 21 Aug 2024 · updated 11 May 2026

xhci: Fix null pointer dereference when host dies

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 081105213ff6f661c114781d469233c7d0e09c2e, Kernel 133b902378e4acbd824c29dd0d48570ad596e368, Kernel 6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1 and 3 more.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.15, >=11ec7588a10d4bc2e1e385ac565d2166d375fba1 <081105213ff6f661c114781d469233c7d0e09c2e, >=11ec7588a10d4bc2e1e385ac565d2166d375fba1 <133b902378e4acbd824c29dd0d48570ad596e368, >=11ec7588a10d4bc2e1e385ac565d2166d375fba1 <6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1, >=11ec7588a10d4bc2e1e385ac565d2166d375fba1 <a2bc47c43e70cf904b1af49f76d572326c08bca7, >=11ec7588a10d4bc2e1e385ac565d2166d375fba1 <c462ac871f49753eca86bb960f573b993976a5ea, >=11ec7588a10d4bc2e1e385ac565d2166d375fba1 <ea2ee5e9991caf74e0604f994c1831a5867055b2081105213ff6f661c114781d469233c7d0e09c2e, 133b902378e4acbd824c29dd0d48570ad596e368, 6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1, a2bc47c43e70cf904b1af49f76d572326c08bca7, c462ac871f49753eca86bb960f573b993976a5ea, ea2ee5e9991caf74e0604f994c1831a5867055b2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52898 severity on Zeptric[![CVE-2023-52898](https://zeptric.io/badge/cve/CVE-2023-52898.svg)](https://zeptric.io/cve/CVE-2023-52898)