# CVE-2026-63905: usbip: vudc: Fix use after free bug in vudc\_remove due to race condition

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.17% (percentile 7, 2026-12-04)
- **CWE:** CWE-416
- **Published:** 2026-07-19T14:55:12.270Z
- **Modified:** 2026-10-30T14:37:32.330Z

## Who should check

- Anyone running Linux \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 61704e5cf9cd7464b510eb606e7e2978b1160a64; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< dcc1c90b28b28b7c493547506297e78653f81952; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 1036ac6148995feaf486014d32bf26bf993c06a9; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< a0638db2340ee053ab0450656a763fd111475e54; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< d07ed707467ce05ea9c03412d0c5ee9d0fe386a6; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 88d459e5b5a46da1ef9fd6f52d9439343edeec88; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 207bf80362df3fce8ebc9723351dcb1bc6d9ed0f; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< d96209626a29ea64666be98c30b30ac82e5f1be6
- Anyone running Linux 4.7

## Description

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

usbip: vudc: Fix use after free bug in vudc\_remove due to race condition

This patch follows up Zheng Wang's 2023 report of a use-after-free in
vudc\_remove(). The original thread stalled on Shuah Khan's request for
runtime testing of the unplug/unbind path. This patch supplies that
testing and keeps Zheng's original fix shape.

In vudc\_probe(), v\_init\_timer() binds udc-\>tr\_timer.timer to v\_timer().
usbip\_sockfd\_store() starts the timer via v\_start\_timer()/v\_kick\_timer().
vudc\_remove() can then free the containing struct vudc while the timer is
still pending or executing.

KASAN confirms the race on an unpatched x86\_64 QEMU guest with
CONFIG\_KASAN=y, CONFIG\_USBIP\_VUDC=y, CONFIG\_USB\_ZERO=y, and a tight loop
that repeatedly writes a socket fd to usbip\_sockfd, closes the socket
pair, and unbinds/rebinds usbip-vudc.0:

  BUG: KASAN: slab-use-after-free in \_\_run\_timer\_base.part.0+0x8ba/0x8e0
  Write of size 8 at addr ffff888001b80740 by task trigger\_and\_unb/239
  Allocated by task 239:
    vudc\_probe+0x4d/0xaa0
  Freed by task 239:
    kfree+0x18f/0x520
    device\_release\_driver\_internal+0x388/0x540
    unbind\_store+0xd9/0x100

This lands in the timer core rather than v\_timer() itself because the
embedded timer\_list is being walked after its containing struct vudc has
already been freed. The underlying lifetime bug is the same one Zheng
reported.

With v\_stop\_timer() called from vudc\_remove() and the timer deleted
synchronously, the same harness completed 5000 bind/unbind iterations
with no KASAN report.

## Affected and fixed versions

- Linux: \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 61704e5cf9cd7464b510eb606e7e2978b1160a64; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< dcc1c90b28b28b7c493547506297e78653f81952; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 1036ac6148995feaf486014d32bf26bf993c06a9; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< a0638db2340ee053ab0450656a763fd111475e54; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< d07ed707467ce05ea9c03412d0c5ee9d0fe386a6; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 88d459e5b5a46da1ef9fd6f52d9439343edeec88; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 207bf80362df3fce8ebc9723351dcb1bc6d9ed0f; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< d96209626a29ea64666be98c30b30ac82e5f1be6 (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-63905. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63905.md
Affected: Linux >= b6a0ca11186759ad7045d68a5447b1e89f658384, < 61704e5cf9cd7464b510eb606e7e2978b1160a64; >= b6a0ca11186759ad7045d68a5447b1e89f658384, < dcc1c90b28b28b7c493547506297e78653f81952; >= b6a0ca11186759ad7045d68a5447b1e89f658384, < 1036ac6148995feaf486014d32bf26bf993c06a9; >= b6a0ca11186759ad7045d68…
Fixed in: Linux 61704e5cf9cd7464b510eb606e7e2978b1160a64, Linux 1036ac6148995feaf486014d32bf26bf993c06a9, Linux 88d459e5b5a46da1ef9fd6f52d9439343edeec88, Linux 207bf80362df3fce8ebc9723351dcb1bc6d9ed0f

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

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

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

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

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

Linux \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 61704e5cf9cd7464b510eb606e7e2978b1160a64; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< dcc1c90b28b28b7c493547506297e78653f81952; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 1036ac6148995feaf486014d32bf26bf993c06a9; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< a0638db2340ee053ab0450656a763fd111475e54; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< d07ed707467ce05ea9c03412d0c5ee9d0fe386a6; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 88d459e5b5a46da1ef9fd6f52d9439343edeec88; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< 207bf80362df3fce8ebc9723351dcb1bc6d9ed0f; \>= b6a0ca11186759ad7045d68a5447b1e89f658384, \< d96209626a29ea64666be98c30b30ac82e5f1be6; Linux 4.7.

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

Yes. Fixed in Linux 61704e5cf9cd7464b510eb606e7e2978b1160a64, Linux 1036ac6148995feaf486014d32bf26bf993c06a9, Linux 88d459e5b5a46da1ef9fd6f52d9439343edeec88, Linux 207bf80362df3fce8ebc9723351dcb1bc6d9ed0f. No fix listed yet: follow the vendor advisory.

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

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/61704e5cf9cd7464b510eb606e7e2978b1160a64>
- patch: <https://git.kernel.org/stable/c/dcc1c90b28b28b7c493547506297e78653f81952>
- patch: <https://git.kernel.org/stable/c/1036ac6148995feaf486014d32bf26bf993c06a9>
- patch: <https://git.kernel.org/stable/c/a0638db2340ee053ab0450656a763fd111475e54>
- patch: <https://git.kernel.org/stable/c/d07ed707467ce05ea9c03412d0c5ee9d0fe386a6>
- patch: <https://git.kernel.org/stable/c/88d459e5b5a46da1ef9fd6f52d9439343edeec88>
- patch: <https://git.kernel.org/stable/c/207bf80362df3fce8ebc9723351dcb1bc6d9ed0f>
- patch: <https://git.kernel.org/stable/c/d96209626a29ea64666be98c30b30ac82e5f1be6>

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

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