CVE-2023-52898

Source
https://cve.org/CVERecord?id=CVE-2023-52898
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52898.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52898
Downstream
Related
Published
2024-08-21T06:10:38.365Z
Modified
2026-03-20T12:32:51.819756Z
Summary
xhci: Fix null pointer dereference when host dies
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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52898.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
11ec7588a10d4bc2e1e385ac565d2166d375fba1
Fixed
6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1
Fixed
133b902378e4acbd824c29dd0d48570ad596e368
Fixed
081105213ff6f661c114781d469233c7d0e09c2e
Fixed
c462ac871f49753eca86bb960f573b993976a5ea
Fixed
ea2ee5e9991caf74e0604f994c1831a5867055b2
Fixed
a2bc47c43e70cf904b1af49f76d572326c08bca7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52898.json"