{"id":"CVE-2023-52898","summary":"xhci: Fix null pointer dereference when host dies","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nxhci: Fix null pointer dereference when host dies\n\nMake sure xhci_free_dev() and xhci_kill_endpoint_urbs() do not race\nand cause null pointer dereference when host suddenly dies.\n\nUsb core may call xhci_free_dev() which frees the xhci-\u003edevs[slot_id]\nvirt device at the same time that xhci_kill_endpoint_urbs() tries to\nloop through all the device's endpoints, checking if there are any\ncancelled urbs left to give back.\n\nhold the xhci spinlock while freeing the virt device","modified":"2026-04-02T09:43:28.677156Z","published":"2024-08-21T06:10:38.365Z","related":["SUSE-SU-2024:3190-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3227-1","SUSE-SU-2024:3408-1","SUSE-SU-2024:3483-1","SUSE-SU-2024:4100-1","SUSE-SU-2025:0034-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52898.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/081105213ff6f661c114781d469233c7d0e09c2e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/133b902378e4acbd824c29dd0d48570ad596e368"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2bc47c43e70cf904b1af49f76d572326c08bca7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c462ac871f49753eca86bb960f573b993976a5ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ea2ee5e9991caf74e0604f994c1831a5867055b2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52898.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52898"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2023-52898.json"}}],"schema_version":"1.7.5"}