# CVE-2026-64331: usbip: vudc: fix NULL deref in vep\_dequeue()

> 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.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-07-25T08:49:58.370Z
- **Modified:** 2026-11-06T17:18:48.510Z

## Who should check

- Anyone running Linux \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 9858c91d9ee6a13c45311569039413729fc9b757; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 1226293ec9bed3d4cc5b05eeeb811d315ca51652; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 3750f75f29f99c0223601e2ee73ad084adec47bd; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< d0ebf9cc7c2ddf95a7cfc654b940bdacb7edde97; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 0025276175fbbe0dcbf3f84d090b0adee769e9d9; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 347b59e9f96719d89b6ef555d02a18ada1a5846f; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 0443e4416aa1ee97748d1ed904eaf3352c60045e; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< c5371e0b91b24159a3ebaa61e70b0980bcf03c0a
- Anyone running Linux 4.7

## Description

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

usbip: vudc: fix NULL deref in vep\_dequeue()

vep\_alloc\_request() wasn't initializing vrequest-\>udc, so cancellations
on the FunctionFS AIO path were arriving in vep\_dequeue without a valid
UDC reference.

Since vrequest-\>udc is never actually properly used anywhere, we opt to
remove it, and update vep\_dequeue to obtain a reference to the udc with
ep\_to\_vudc(), consistent with the other vep\_ ops.

AFAICT this bug has existed for ~10 years. Seems that nobody has really
stressed the FunctionFS AIO path on usbip's vudc.

I tested this fix in a QEMU aarch64 guest driving FunctionFS endpoints
via AIO. Before the fix, running \`usbip attach\` from the host would
cause the guest to oops with the following backtrace:

Call trace:
 vep\_dequeue+0x1c/0xe4 (P)
 usb\_ep\_dequeue+0x14/0x20
 ffs\_aio\_cancel+0x24/0x34
 \_\_arm64\_sys\_io\_cancel+0xb0/0x124
 do\_el0\_svc+0x68/0x100
 el0\_svc+0x18/0x5c
 el0t\_64\_sync\_handler+0x98/0xdc
 el0t\_64\_sync+0x154/0x158

## Affected and fixed versions

- Linux: \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 9858c91d9ee6a13c45311569039413729fc9b757; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 1226293ec9bed3d4cc5b05eeeb811d315ca51652; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 3750f75f29f99c0223601e2ee73ad084adec47bd; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< d0ebf9cc7c2ddf95a7cfc654b940bdacb7edde97; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 0025276175fbbe0dcbf3f84d090b0adee769e9d9; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 347b59e9f96719d89b6ef555d02a18ada1a5846f; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 0443e4416aa1ee97748d1ed904eaf3352c60045e; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< c5371e0b91b24159a3ebaa61e70b0980bcf03c0a (cvelist)
- Linux: 4.7 (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-2026-64331. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64331.md
Affected: Linux >= b6a0ca11186759ad7045d68a5447b1e89f658384, < 9858c91d9ee6a13c45311569039413729fc9b757; >= b6a0ca11186759ad7045d68a5447b1e89f658384, < 1226293ec9bed3d4cc5b05eeeb811d315ca51652; >= b6a0ca11186759ad7045d68a5447b1e89f658384, < 3750f75f29f99c0223601e2ee73ad084adec47bd; >= b6a0ca11186759ad7045d68…
Fixed in: Linux 9858c91d9ee6a13c45311569039413729fc9b757, Linux 1226293ec9bed3d4cc5b05eeeb811d315ca51652, Linux 3750f75f29f99c0223601e2ee73ad084adec47bd, Linux 0025276175fbbe0dcbf3f84d090b0adee769e9d9, Linux 347b59e9f96719d89b6ef555d02a18ada1a5846f, Linux 0443e4416aa1ee97748d1ed904eaf3352c60045e

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

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

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

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

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

Linux \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 9858c91d9ee6a13c45311569039413729fc9b757; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 1226293ec9bed3d4cc5b05eeeb811d315ca51652; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 3750f75f29f99c0223601e2ee73ad084adec47bd; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< d0ebf9cc7c2ddf95a7cfc654b940bdacb7edde97; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 0025276175fbbe0dcbf3f84d090b0adee769e9d9; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 347b59e9f96719d89b6ef555d02a18ada1a5846f; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 0443e4416aa1ee97748d1ed904eaf3352c60045e; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< c5371e0b91b24159a3ebaa61e70b0980bcf03c0a; Linux 4.7.

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

Yes. Fixed in Linux 9858c91d9ee6a13c45311569039413729fc9b757, Linux 1226293ec9bed3d4cc5b05eeeb811d315ca51652, Linux 3750f75f29f99c0223601e2ee73ad084adec47bd, Linux 0025276175fbbe0dcbf3f84d090b0adee769e9d9, Linux 347b59e9f96719d89b6ef555d02a18ada1a5846f, Linux 0443e4416aa1ee97748d1ed904eaf3352c60045e. No fix listed yet: follow the vendor advisory.

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

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/9858c91d9ee6a13c45311569039413729fc9b757>
- patch: <https://git.kernel.org/stable/c/1226293ec9bed3d4cc5b05eeeb811d315ca51652>
- patch: <https://git.kernel.org/stable/c/3750f75f29f99c0223601e2ee73ad084adec47bd>
- patch: <https://git.kernel.org/stable/c/d0ebf9cc7c2ddf95a7cfc654b940bdacb7edde97>
- patch: <https://git.kernel.org/stable/c/0025276175fbbe0dcbf3f84d090b0adee769e9d9>
- patch: <https://git.kernel.org/stable/c/347b59e9f96719d89b6ef555d02a18ada1a5846f>
- patch: <https://git.kernel.org/stable/c/0443e4416aa1ee97748d1ed904eaf3352c60045e>
- patch: <https://git.kernel.org/stable/c/c5371e0b91b24159a3ebaa61e70b0980bcf03c0a>

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

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