# CVE-2023-52901: usb: xhci: Check endpoint is valid before dereferencing it

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-08-21T06:10:41.640Z
- **Modified:** 2026-06-17T06:43:53.747Z

## Who should check

- Anyone running Linux \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 375be2dd61a072f7b1cac9b17eea59e07b58db3a; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 2d2820d5f375563690c96e60676855205abfb7f5; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 9891e5c73cab3fd9ed532dc50e9799e55e974766; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 66fc1600855c05c4ba4e997184c91cf298e0405c; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< f39c813af0b64f44af94e435c07bfa1ddc2575f5; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 08864dc14a6803f0377ca77b9740b26db30c020f; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< e8fb5bc76eb86437ab87002d4a36d6da02165654
- Anyone running Linux 3.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

usb: xhci: Check endpoint is valid before dereferencing it

When the host controller is not responding, all URBs queued to all
endpoints need to be killed. This can cause a kernel panic if we
dereference an invalid endpoint.

Fix this by using xhci\_get\_virt\_ep() helper to find the endpoint and
checking if the endpoint is valid before dereferencing it.

\[233311.853271\] xhci-hcd xhci-hcd.1.auto: xHCI host controller not responding, assume dead
\[233311.853393\] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000e8

\[233311.853964\] pc : xhci\_hc\_died+0x10c/0x270
\[233311.853971\] lr : xhci\_hc\_died+0x1ac/0x270

\[233311.854077\] Call trace:
\[233311.854085\]  xhci\_hc\_died+0x10c/0x270
\[233311.854093\]  xhci\_stop\_endpoint\_command\_watchdog+0x100/0x1a4
\[233311.854105\]  call\_timer\_fn+0x50/0x2d4
\[233311.854112\]  expire\_timers+0xac/0x2e4
\[233311.854118\]  run\_timer\_softirq+0x300/0xabc
\[233311.854127\]  \_\_do\_softirq+0x148/0x528
\[233311.854135\]  irq\_exit+0x194/0x1a8
\[233311.854143\]  \_\_handle\_domain\_irq+0x164/0x1d0
\[233311.854149\]  gic\_handle\_irq.22273+0x10c/0x188
\[233311.854156\]  el1\_irq+0xfc/0x1a8
\[233311.854175\]  lpm\_cpuidle\_enter+0x25c/0x418 \[msm\_pm\]
\[233311.854185\]  cpuidle\_enter\_state+0x1f0/0x764
\[233311.854194\]  do\_idle+0x594/0x6ac
\[233311.854201\]  cpu\_startup\_entry+0x7c/0x80
\[233311.854209\]  secondary\_start\_kernel+0x170/0x198

## Affected and fixed versions

- Linux: \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 375be2dd61a072f7b1cac9b17eea59e07b58db3a; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 2d2820d5f375563690c96e60676855205abfb7f5; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 9891e5c73cab3fd9ed532dc50e9799e55e974766; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 66fc1600855c05c4ba4e997184c91cf298e0405c; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< f39c813af0b64f44af94e435c07bfa1ddc2575f5; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 08864dc14a6803f0377ca77b9740b26db30c020f; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< e8fb5bc76eb86437ab87002d4a36d6da02165654 (cvelist)
- Linux: 3.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-52901. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52901.md
Affected: Linux >= 50e8725e7c429701e530439013f9681e1fa36b5d, < 375be2dd61a072f7b1cac9b17eea59e07b58db3a; >= 50e8725e7c429701e530439013f9681e1fa36b5d, < 2d2820d5f375563690c96e60676855205abfb7f5; >= 50e8725e7c429701e530439013f9681e1fa36b5d, < 9891e5c73cab3fd9ed532dc50e9799e55e974766; >= 50e8725e7c429701e530439…
Fixed in: Linux 375be2dd61a072f7b1cac9b17eea59e07b58db3a, Linux 2d2820d5f375563690c96e60676855205abfb7f5, Linux 9891e5c73cab3fd9ed532dc50e9799e55e974766, Linux 66fc1600855c05c4ba4e997184c91cf298e0405c, Linux 08864dc14a6803f0377ca77b9740b26db30c020f

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-52901 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 375be2dd61a072f7b1cac9b17eea59e07b58db3a; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 2d2820d5f375563690c96e60676855205abfb7f5; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 9891e5c73cab3fd9ed532dc50e9799e55e974766; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 66fc1600855c05c4ba4e997184c91cf298e0405c; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< f39c813af0b64f44af94e435c07bfa1ddc2575f5; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< 08864dc14a6803f0377ca77b9740b26db30c020f; \>= 50e8725e7c429701e530439013f9681e1fa36b5d, \< e8fb5bc76eb86437ab87002d4a36d6da02165654; Linux 3.15.

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

Yes. Fixed in Linux 375be2dd61a072f7b1cac9b17eea59e07b58db3a, Linux 2d2820d5f375563690c96e60676855205abfb7f5, Linux 9891e5c73cab3fd9ed532dc50e9799e55e974766, Linux 66fc1600855c05c4ba4e997184c91cf298e0405c, Linux 08864dc14a6803f0377ca77b9740b26db30c020f. No fix listed yet: follow the vendor advisory.

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

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/375be2dd61a072f7b1cac9b17eea59e07b58db3a>
- patch: <https://git.kernel.org/stable/c/2d2820d5f375563690c96e60676855205abfb7f5>
- patch: <https://git.kernel.org/stable/c/9891e5c73cab3fd9ed532dc50e9799e55e974766>
- patch: <https://git.kernel.org/stable/c/66fc1600855c05c4ba4e997184c91cf298e0405c>
- patch: <https://git.kernel.org/stable/c/f39c813af0b64f44af94e435c07bfa1ddc2575f5>
- patch: <https://git.kernel.org/stable/c/08864dc14a6803f0377ca77b9740b26db30c020f>
- patch: <https://git.kernel.org/stable/c/e8fb5bc76eb86437ab87002d4a36d6da02165654>

## 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-52901>

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