{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52898","id":"CVE-2023-52898","title":"xhci: Fix null pointer dereference when host dies","description":"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->devs[slot_id]\nvirt device at the same time that xhci_kill_endpoint_urbs() tries to\nloop through","descriptionLong":"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->devs[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","published":"2024-08-21T06:10:38.365Z","updated":"2026-10-28T02:30:46.974857508Z","reserved":"2024-08-21T06:07:11.014Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"11ec7588a10d4bc2e1e385ac565d2166d375fba1","lessThan":"6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1","status":"affected","versionType":"git"},{"version":"11ec7588a10d4bc2e1e385ac565d2166d375fba1","lessThan":"133b902378e4acbd824c29dd0d48570ad596e368","status":"affected","versionType":"git"},{"version":"11ec7588a10d4bc2e1e385ac565d2166d375fba1","lessThan":"081105213ff6f661c114781d469233c7d0e09c2e","status":"affected","versionType":"git"},{"version":"11ec7588a10d4bc2e1e385ac565d2166d375fba1","lessThan":"c462ac871f49753eca86bb960f573b993976a5ea","status":"affected","versionType":"git"},{"version":"11ec7588a10d4bc2e1e385ac565d2166d375fba1","lessThan":"ea2ee5e9991caf74e0604f994c1831a5867055b2","status":"affected","versionType":"git"},{"version":"11ec7588a10d4bc2e1e385ac565d2166d375fba1","lessThan":"a2bc47c43e70cf904b1af49f76d572326c08bca7","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.15","status":"affected"},{"version":"0","lessThan":"4.15","status":"unaffected","versionType":"semver"},{"version":"4.19.271","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.230","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.165","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.90","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.8","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/133b902378e4acbd824c29dd0d48570ad596e368","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/081105213ff6f661c114781d469233c7d0e09c2e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c462ac871f49753eca86bb960f573b993976a5ea","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ea2ee5e9991caf74e0604f994c1831a5867055b2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a2bc47c43e70cf904b1af49f76d572326c08bca7","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52898.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52898","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0024,"epssPercentile":0.1525,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52898","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52898","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52898","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-52898","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}