# CVE-2026-68367: usb: gadget: f\_tcm: synchronize delayed set\_alt with teardown

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-10T12:03:44.600Z
- **Modified:** 2026-11-06T17:19:30.850Z

## Who should check

- Anyone running Linux \>= c52661d60f636d17e26ad834457db333bd1df494, \< 8fb317058d165c88f3344f59439c14872c162b3c; \>= c52661d60f636d17e26ad834457db333bd1df494, \< 90431d8523c0c1c9f8e3e3f0895727063f93da85; \>= c52661d60f636d17e26ad834457db333bd1df494, \< ee07d09419f1c59c74f73107aa08444f2f2fc6c8; \>= c52661d60f636d17e26ad834457db333bd1df494, \< 3118bb872c7dff653294f193d5328a476619e04d; \>= c52661d60f636d17e26ad834457db333bd1df494, \< a6eb5a0ae7cd313cfd7df78decd8f43b64c68703; \>= c52661d60f636d17e26ad834457db333bd1df494, \< f282242906c12fd476b86757afba51f211d4f959; \>= c52661d60f636d17e26ad834457db333bd1df494, \< 4c6c6a5588b9a2f8437fb794e852d05fa60ebe53; \>= c52661d60f636d17e26ad834457db333bd1df494, \< 79e2d75725c85607f8a9d87ae9cace62a19f767d
- Anyone running Linux 3.5

## Description

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

usb: gadget: f\_tcm: synchronize delayed set\_alt with teardown

The f\_tcm set\_alt() path defers endpoint setup to a work item and
completes the delayed status response from process context. The delayed
work uses f\_tcm private state and may complete the setup request after
disconnect or function teardown has already moved on.

Cancel and drain the delayed set\_alt work when the function is unbound or
freed. For disable paths, which are reached under the composite device
lock, use a small state machine and a non-sleeping cancellation path
instead of cancel\_work\_sync(). If the work is already running, mark it
cancelled and let the worker own the cleanup; otherwise tcm\_disable() can
cancel the queued work and clean up immediately.

Also serialize the final delayed-status completion with the cancellation
check while holding the composite device lock. This prevents a disconnect
from clearing delayed\_status while the worker is about to complete the
control request.

Validation reproduced this kernel report:
BUG: KASAN: slab-use-after-free in tcm\_delayed\_set\_alt+0x6c/0xef0

Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0x66/0xa0
 print\_report+0xce/0x630
 ? tcm\_delayed\_set\_alt+0x6c/0xef0
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 ? \_\_virt\_addr\_valid+0x188/0x320
 ? tcm\_delayed\_set\_alt+0x6c/0xef0
 kasan\_report+0xe0/0x110
 ? tcm\_delayed\_set\_alt+0x6c/0xef0
 tcm\_delayed\_set\_alt+0x6c/0xef0
 ? \_\_pfx\_tcm\_delayed\_set\_alt+0x10/0x10
 ? process\_one\_work+0x4cb/0xb90
 ? rcu\_is\_watching+0x20/0x50
 ? tcm\_delayed\_set\_alt+0x9/0xef0
 process\_one\_work+0x4d7/0xb90
 ? \_\_pfx\_process\_one\_work+0x10/0x10
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 ? \_\_list\_add\_valid\_or\_report+0x37/0xf0
 ? \_\_pfx\_tcm\_delayed\_set\_alt+0x10/0x10
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 worker\_thread+0x2d8/0x570
 ? \_\_pfx\_worker\_thread+0x10/0x10
 kthread+0x1ad/0x1f0
 ? \_\_pfx\_kthread+0x10/0x10
 ret\_from\_fork+0x3c9/0x540
 ? \_\_pfx\_ret\_from\_fork+0x10/0x10
 ? srso\_alias\_return\_thunk+0x5/0xfbef5
 ? \_\_switch\_to+0x2e9/0x730
 ? \_\_pfx\_kthread+0x10/0x10
 ret\_from\_fork\_asm+0x1a/0x30
 \</TASK\>

Allocated by task 544:
 kasan\_save\_stack+0x33/0x60
 kasan\_save\_track+0x14/0x30
 \_\_kasan\_kmalloc+0x8f/0xa0
 tcm\_alloc+0x68/0x180
 usb\_get\_function+0x36/0x60
 config\_usb\_cfg\_link+0x125/0x1b0
 configfs\_symlink+0x322/0x890
 vfs\_symlink+0xc2/0x270
 filename\_symlinkat+0x295/0x2f0
 \_\_x64\_sys\_symlinkat+0x62/0x90
 do\_syscall\_64+0x115/0x6a0
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

Freed by task 661:
 kasan\_save\_stack+0x33/0x60
 kasan\_save\_track+0x14/0x30
 kasan\_save\_free\_info+0x3b/0x60
 \_\_kasan\_slab\_free+0x43/0x70
 kfree+0x2f9/0x530
 config\_usb\_cfg\_unlink+0x173/0x1e0
 configfs\_unlink+0x1fa/0x340
 vfs\_unlink+0x15c/0x510
 filename\_unlinkat+0x2ba/0x450
 \_\_x64\_sys\_unlinkat+0x63/0x90
 do\_syscall\_64+0x115/0x6a0
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

## Affected and fixed versions

- Linux: \>= c52661d60f636d17e26ad834457db333bd1df494, \< 8fb317058d165c88f3344f59439c14872c162b3c; \>= c52661d60f636d17e26ad834457db333bd1df494, \< 90431d8523c0c1c9f8e3e3f0895727063f93da85; \>= c52661d60f636d17e26ad834457db333bd1df494, \< ee07d09419f1c59c74f73107aa08444f2f2fc6c8; \>= c52661d60f636d17e26ad834457db333bd1df494, \< 3118bb872c7dff653294f193d5328a476619e04d; \>= c52661d60f636d17e26ad834457db333bd1df494, \< a6eb5a0ae7cd313cfd7df78decd8f43b64c68703; \>= c52661d60f636d17e26ad834457db333bd1df494, \< f282242906c12fd476b86757afba51f211d4f959; \>= c52661d60f636d17e26ad834457db333bd1df494, \< 4c6c6a5588b9a2f8437fb794e852d05fa60ebe53; \>= c52661d60f636d17e26ad834457db333bd1df494, \< 79e2d75725c85607f8a9d87ae9cace62a19f767d (cvelist)
- Linux: 3.5 (cvelist)

## Mitigation

- Upgrade Linux to 79e2d75725c85607f8a9d87ae9cace62a19f767d 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-68367. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68367.md
Affected: Linux >= c52661d60f636d17e26ad834457db333bd1df494, < 8fb317058d165c88f3344f59439c14872c162b3c; >= c52661d60f636d17e26ad834457db333bd1df494, < 90431d8523c0c1c9f8e3e3f0895727063f93da85; >= c52661d60f636d17e26ad834457db333bd1df494, < ee07d09419f1c59c74f73107aa08444f2f2fc6c8; >= c52661d60f636d17e26ad83…
Fixed in: Linux 8fb317058d165c88f3344f59439c14872c162b3c, Linux 90431d8523c0c1c9f8e3e3f0895727063f93da85, Linux 3118bb872c7dff653294f193d5328a476619e04d, Linux 4c6c6a5588b9a2f8437fb794e852d05fa60ebe53, Linux 79e2d75725c85607f8a9d87ae9cace62a19f767d

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= c52661d60f636d17e26ad834457db333bd1df494, \< 8fb317058d165c88f3344f59439c14872c162b3c; \>= c52661d60f636d17e26ad834457db333bd1df494, \< 90431d8523c0c1c9f8e3e3f0895727063f93da85; \>= c52661d60f636d17e26ad834457db333bd1df494, \< ee07d09419f1c59c74f73107aa08444f2f2fc6c8; \>= c52661d60f636d17e26ad834457db333bd1df494, \< 3118bb872c7dff653294f193d5328a476619e04d; \>= c52661d60f636d17e26ad834457db333bd1df494, \< a6eb5a0ae7cd313cfd7df78decd8f43b64c68703; \>= c52661d60f636d17e26ad834457db333bd1df494, \< f282242906c12fd476b86757afba51f211d4f959; \>= c52661d60f636d17e26ad834457db333bd1df494, \< 4c6c6a5588b9a2f8437fb794e852d05fa60ebe53; \>= c52661d60f636d17e26ad834457db333bd1df494, \< 79e2d75725c85607f8a9d87ae9cace62a19f767d; Linux 3.5.

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

Yes. Fixed in Linux 8fb317058d165c88f3344f59439c14872c162b3c, Linux 90431d8523c0c1c9f8e3e3f0895727063f93da85, Linux 3118bb872c7dff653294f193d5328a476619e04d, Linux 4c6c6a5588b9a2f8437fb794e852d05fa60ebe53, Linux 79e2d75725c85607f8a9d87ae9cace62a19f767d. Upgrade Linux to 79e2d75725c85607f8a9d87ae9cace62a19f767d or later.

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

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

- other: <https://git.kernel.org/stable/c/8fb317058d165c88f3344f59439c14872c162b3c>
- other: <https://git.kernel.org/stable/c/90431d8523c0c1c9f8e3e3f0895727063f93da85>
- other: <https://git.kernel.org/stable/c/ee07d09419f1c59c74f73107aa08444f2f2fc6c8>
- other: <https://git.kernel.org/stable/c/3118bb872c7dff653294f193d5328a476619e04d>
- other: <https://git.kernel.org/stable/c/a6eb5a0ae7cd313cfd7df78decd8f43b64c68703>
- other: <https://git.kernel.org/stable/c/f282242906c12fd476b86757afba51f211d4f959>
- other: <https://git.kernel.org/stable/c/4c6c6a5588b9a2f8437fb794e852d05fa60ebe53>
- other: <https://git.kernel.org/stable/c/79e2d75725c85607f8a9d87ae9cace62a19f767d>

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

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