# CVE-2023-52898: xhci: Fix null pointer dereference when host dies

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-08-21T06:10:38.365Z
- **Modified:** 2026-06-17T06:43:53.307Z

## Who should check

- Anyone running Linux \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< 6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< 133b902378e4acbd824c29dd0d48570ad596e368; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< 081105213ff6f661c114781d469233c7d0e09c2e; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< c462ac871f49753eca86bb960f573b993976a5ea; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< ea2ee5e9991caf74e0604f994c1831a5867055b2; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< a2bc47c43e70cf904b1af49f76d572326c08bca7
- Anyone running Linux 4.15

## Description

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 and fixed versions

- Linux: \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< 6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< 133b902378e4acbd824c29dd0d48570ad596e368; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< 081105213ff6f661c114781d469233c7d0e09c2e; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< c462ac871f49753eca86bb960f573b993976a5ea; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< ea2ee5e9991caf74e0604f994c1831a5867055b2; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< a2bc47c43e70cf904b1af49f76d572326c08bca7 (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52898. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52898.md
Affected: Linux >= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, < 6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1; >= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, < 133b902378e4acbd824c29dd0d48570ad596e368; >= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, < 081105213ff6f661c114781d469233c7d0e09c2e; >= 11ec7588a10d4bc2e1e385a…
Fixed in: Linux 6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1, Linux 133b902378e4acbd824c29dd0d48570ad596e368, Linux 081105213ff6f661c114781d469233c7d0e09c2e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52898 being exploited?

There is no confirmed exploitation: CVE-2023-52898 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52898?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-52898?

Linux \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< 6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< 133b902378e4acbd824c29dd0d48570ad596e368; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< 081105213ff6f661c114781d469233c7d0e09c2e; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< c462ac871f49753eca86bb960f573b993976a5ea; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< ea2ee5e9991caf74e0604f994c1831a5867055b2; \>= 11ec7588a10d4bc2e1e385ac565d2166d375fba1, \< a2bc47c43e70cf904b1af49f76d572326c08bca7; Linux 4.15.

### Is there a fix for CVE-2023-52898?

Yes. Fixed in Linux 6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1, Linux 133b902378e4acbd824c29dd0d48570ad596e368, Linux 081105213ff6f661c114781d469233c7d0e09c2e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-52898?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1>
- patch: <https://git.kernel.org/stable/c/133b902378e4acbd824c29dd0d48570ad596e368>
- patch: <https://git.kernel.org/stable/c/081105213ff6f661c114781d469233c7d0e09c2e>
- patch: <https://git.kernel.org/stable/c/c462ac871f49753eca86bb960f573b993976a5ea>
- patch: <https://git.kernel.org/stable/c/ea2ee5e9991caf74e0604f994c1831a5867055b2>
- patch: <https://git.kernel.org/stable/c/a2bc47c43e70cf904b1af49f76d572326c08bca7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52898>

HTML: <https://flawdb.com/CVE-2023-52898> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52898>
