# CVE-2026-64465: usb: xhci: Fix sleep in atomic context in xhci\_free\_streams()

> 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.13% (percentile 1, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2026-07-25T08:51:31.160Z
- **Modified:** 2026-11-12T17:51:23.813Z

## Who should check

- Anyone running Linux \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< e623e4a203f56d5c57519a9a3cb29600551534ad; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< d107eb316144c5fb958486e7fe604cd7f1b35cda; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< 1e45aa722c4ce5663e987102aac18c8ad6a83fdd; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< 10666ac9c552990204e791af653abf8e9d9ff619; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< f7b022ae07685e7526fc39f387ce65b5d309dd3b; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< f90586129cf9e1fbdb718ef602eea3f15dc1c31c; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< 93cd037da94fcb93183bfb2457e3a56d3eb4c8f4; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< 42c37c4b75d38b51d84f31a8e29427f5e06a7c2a
- Anyone running Linux 2.6.35

## Description

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

usb: xhci: Fix sleep in atomic context in xhci\_free\_streams()

When a USB device with active stream endpoints is disconnected,
xhci\_free\_streams() is called from the hub\_event workqueue to
free the stream resources.  It calls xhci\_free\_stream\_info()
while holding xhci-\>lock with irqs disabled.

xhci\_free\_stream\_info() invokes xhci\_free\_stream\_ctx(), which
calls dma\_free\_coherent() for large stream context arrays.

dma\_free\_coherent() can sleep (e.g. via vunmap), triggering
a BUG when called from atomic context.

Call trace:
 dma\_free\_attrs+0x174/0x220
 xhci\_free\_stream\_info+0xd0/0x11c
 xhci\_free\_streams+0x278/0x37c
 usb\_free\_streams+0x98/0xc0
 usb\_unbind\_interface+0x1b8/0x2f8
 device\_release\_driver\_internal+0x1d4/0x2cc
 device\_release\_driver+0x18/0x28
 bus\_remove\_device+0x160/0x1a4
 device\_del+0x1ec/0x350
 usb\_disable\_device+0x98/0x214
 usb\_disconnect+0xf0/0x35c
 hub\_event+0xab4/0x19ec
 process\_one\_work+0x278/0x63c

Fix this by saving the stream\_info pointers and clearing the
ep references under the lock, then calling xhci\_free\_stream\_info()
outside the lock where sleeping is allowed.

## Affected and fixed versions

- Linux: \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< e623e4a203f56d5c57519a9a3cb29600551534ad; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< d107eb316144c5fb958486e7fe604cd7f1b35cda; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< 1e45aa722c4ce5663e987102aac18c8ad6a83fdd; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< 10666ac9c552990204e791af653abf8e9d9ff619; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< f7b022ae07685e7526fc39f387ce65b5d309dd3b; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< f90586129cf9e1fbdb718ef602eea3f15dc1c31c; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< 93cd037da94fcb93183bfb2457e3a56d3eb4c8f4; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< 42c37c4b75d38b51d84f31a8e29427f5e06a7c2a (cvelist)
- Linux: 2.6.35 (cvelist)

## Mitigation

- Upgrade Linux to 42c37c4b75d38b51d84f31a8e29427f5e06a7c2a or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-64465.md
Affected: Linux >= 8df75f42f8e67e2851cdcf6da91640fb881defd1, < e623e4a203f56d5c57519a9a3cb29600551534ad; >= 8df75f42f8e67e2851cdcf6da91640fb881defd1, < d107eb316144c5fb958486e7fe604cd7f1b35cda; >= 8df75f42f8e67e2851cdcf6da91640fb881defd1, < 1e45aa722c4ce5663e987102aac18c8ad6a83fdd; >= 8df75f42f8e67e2851cdcf6…
Fixed in: Linux 1e45aa722c4ce5663e987102aac18c8ad6a83fdd, Linux 10666ac9c552990204e791af653abf8e9d9ff619, Linux 93cd037da94fcb93183bfb2457e3a56d3eb4c8f4, Linux 42c37c4b75d38b51d84f31a8e29427f5e06a7c2a

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-2026-64465 being exploited?

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

### How serious is CVE-2026-64465?

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

### Which versions are affected by CVE-2026-64465?

Linux \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< e623e4a203f56d5c57519a9a3cb29600551534ad; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< d107eb316144c5fb958486e7fe604cd7f1b35cda; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< 1e45aa722c4ce5663e987102aac18c8ad6a83fdd; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< 10666ac9c552990204e791af653abf8e9d9ff619; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< f7b022ae07685e7526fc39f387ce65b5d309dd3b; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< f90586129cf9e1fbdb718ef602eea3f15dc1c31c; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< 93cd037da94fcb93183bfb2457e3a56d3eb4c8f4; \>= 8df75f42f8e67e2851cdcf6da91640fb881defd1, \< 42c37c4b75d38b51d84f31a8e29427f5e06a7c2a; Linux 2.6.35.

### Is there a fix for CVE-2026-64465?

Yes. Fixed in Linux 1e45aa722c4ce5663e987102aac18c8ad6a83fdd, Linux 10666ac9c552990204e791af653abf8e9d9ff619, Linux 93cd037da94fcb93183bfb2457e3a56d3eb4c8f4, Linux 42c37c4b75d38b51d84f31a8e29427f5e06a7c2a. Upgrade Linux to 42c37c4b75d38b51d84f31a8e29427f5e06a7c2a or later.

### How do I check if I'm affected by CVE-2026-64465?

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/e623e4a203f56d5c57519a9a3cb29600551534ad>
- patch: <https://git.kernel.org/stable/c/d107eb316144c5fb958486e7fe604cd7f1b35cda>
- patch: <https://git.kernel.org/stable/c/1e45aa722c4ce5663e987102aac18c8ad6a83fdd>
- patch: <https://git.kernel.org/stable/c/10666ac9c552990204e791af653abf8e9d9ff619>
- patch: <https://git.kernel.org/stable/c/f7b022ae07685e7526fc39f387ce65b5d309dd3b>
- patch: <https://git.kernel.org/stable/c/f90586129cf9e1fbdb718ef602eea3f15dc1c31c>
- patch: <https://git.kernel.org/stable/c/93cd037da94fcb93183bfb2457e3a56d3eb4c8f4>
- patch: <https://git.kernel.org/stable/c/42c37c4b75d38b51d84f31a8e29427f5e06a7c2a>

## 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-2026-64465>

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