# CVE-2026-98694: thunderbolt: Fix KASAN reported use-after-free when request is canceled

> 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-10-18T15:46:18.654Z
- **Modified:** 2026-10-30T13:21:18.383Z

## Who should check

- Anyone running Linux \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 94358146389d985b809898cc23b1030ff240a25d; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 9594550e95bcc362027b7ad5f0d5665110f8a7d8; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 0dc4296ac0910d3a43d9e105226ace463e475304; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< b70b9c41f240c42bf6e728034537c0fe60c16ef4; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 71b3c517e02af2c46ad58d4b3706b7c3cb24936d; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< f18faa3d3b810d60a3005ae1b1d1866faa67d343; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 08287212b622039212c972806f896f078dfd28e2; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< a02188ddc24b7872f0c5e0c5873f827318717803
- Anyone running Linux 4.13

## Description

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

thunderbolt: Fix KASAN reported use-after-free when request is canceled

Alan reported that when doing stress testing sometimes KASAN notices
use-after-free during control channel operation (stripped down keeping
the relevant parts):

 BUG: KASAN: slab-use-after-free in tb\_cfg\_request\_sync+0x240/0x250 \[thunderbolt\]
 Read of size 24 at addr ffff88811067f290 by task kworker/u40:2/1760
  \<TASK\>
  tb\_cfg\_request\_sync+0x240/0x250 \[thunderbolt\]
  tb\_cfg\_read\_raw+0x367/0x510 \[thunderbolt\]
  tb\_cfg\_read+0xec/0x240 \[thunderbolt\]
  tb\_port\_get\_link\_generation+0x258/0x420 \[thunderbolt\]
  tb\_usb3\_consumed\_bandwidth+0x1c1/0x2c0 \[thunderbolt\]
  tb\_tunnel\_consumed\_bandwidth+0xfd/0x910 \[thunderbolt\]
  tb\_available\_bandwidth+0x5f2/0xeb0 \[thunderbolt\]
  tb\_recalc\_estimated\_bandwidth+0x2a0/0x1bc0 \[thunderbolt\]
  tb\_handle\_dp\_bandwidth\_request+0x1897/0x5e20 \[thunderbolt\]
  process\_one\_work+0x675/0x1230
  worker\_thread+0x5e6/0xf70
  kthread+0x365/0x470
  ret\_from\_fork+0x54d/0x710
  ret\_from\_fork\_asm+0x1a/0x30
  \</TASK\>

 Allocated by task 1760:
  \_\_kmalloc\_cache\_noprof+0x1ee/0x550
  tb\_cfg\_read\_raw+0x1d3/0x510 \[thunderbolt\]
  tb\_cfg\_read+0xec/0x240 \[thunderbolt\]
  tb\_port\_get\_link\_generation+0x258/0x420 \[thunderbolt\]
  tb\_usb3\_consumed\_bandwidth+0x1c1/0x2c0 \[thunderbolt\]
  tb\_tunnel\_consumed\_bandwidth+0xfd/0x910 \[thunderbolt\]
  tb\_available\_bandwidth+0x5f2/0xeb0 \[thunderbolt\]
  tb\_recalc\_estimated\_bandwidth+0x2a0/0x1bc0 \[thunderbolt\]
  tb\_handle\_dp\_bandwidth\_request+0x1897/0x5e20 \[thunderbolt\]
  process\_one\_work+0x675/0x1230
  worker\_thread+0x5e6/0xf70
  kthread+0x365/0x470
  ret\_from\_fork+0x54d/0x710
  ret\_from\_fork\_asm+0x1a/0x30

 Freed by task 926:
  kfree+0x18f/0x4a0
  tb\_cfg\_request\_put+0xb7/0xe0 \[thunderbolt\]
  tb\_cfg\_request\_work+0x82/0x120 \[thunderbolt\]
  process\_one\_work+0x675/0x1230
  worker\_thread+0x5e6/0xf70
  kthread+0x365/0x470
  ret\_from\_fork+0x54d/0x710
  ret\_from\_fork\_asm+0x1a/0x30

 Second to last potentially related work creation:
  \_\_queue\_work+0x575/0xd00
  queue\_work\_on+0x77/0x80
  tb\_cfg\_request\_cancel+0xc7/0x260 \[thunderbolt\]
  tb\_cfg\_request\_sync+0x1f6/0x250 \[thunderbolt\]
  tb\_cfg\_read\_raw+0x367/0x510 \[thunderbolt\]
  tb\_cfg\_read+0xec/0x240 \[thunderbolt\]
  tb\_port\_get\_link\_generation+0x258/0x420 \[thunderbolt\]
  tb\_usb3\_consumed\_bandwidth+0x1c1/0x2c0 \[thunderbolt\]
  tb\_tunnel\_consumed\_bandwidth+0xfd/0x910 \[thunderbolt\]
  tb\_available\_bandwidth+0x5f2/0xeb0 \[thunderbolt\]
  tb\_recalc\_estimated\_bandwidth+0x2a0/0x1bc0 \[thunderbolt\]
  tb\_handle\_dp\_bandwidth\_request+0x1897/0x5e20 \[thunderbolt\]
  process\_one\_work+0x675/0x1230
  worker\_thread+0x5e6/0xf70
  kthread+0x365/0x470
  ret\_from\_fork+0x54d/0x710
  ret\_from\_fork\_asm+0x1a/0x30

The last stack trace is helpful because it shows that we are cancelling
a request and looking at tb\_cfg\_request\_cancel() what might happen is
that tb\_cfg\_request\_work() completes right before tb\_cfg\_request\_cancel()
starts and because of this it will call schedule\_work() queueing the
same work to run again. However, it is already removed from the
request\_queue and reference count is dropped so when
tb\_cfg\_request\_work() triggers again it will access memory that is
already released.

Fix this so that we first make sure a cancelled request is not handed
away from tb\_cfg\_request\_find() or scheduled to run. Then instead of
relying on the worker to clean up the request we will do it in
tb\_cfg\_request\_cancel() after the work is canceled from running. Make
tb\_cfg\_request\_dequeue() release the request only if it was actually
removed from the queue.

## Affected and fixed versions

- Linux: \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 94358146389d985b809898cc23b1030ff240a25d; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 9594550e95bcc362027b7ad5f0d5665110f8a7d8; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 0dc4296ac0910d3a43d9e105226ace463e475304; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< b70b9c41f240c42bf6e728034537c0fe60c16ef4; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 71b3c517e02af2c46ad58d4b3706b7c3cb24936d; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< f18faa3d3b810d60a3005ae1b1d1866faa67d343; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 08287212b622039212c972806f896f078dfd28e2; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< a02188ddc24b7872f0c5e0c5873f827318717803 (cvelist)
- Linux: 4.13 (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-98694. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98694.md
Affected: Linux >= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, < 94358146389d985b809898cc23b1030ff240a25d; >= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, < 9594550e95bcc362027b7ad5f0d5665110f8a7d8; >= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, < 0dc4296ac0910d3a43d9e105226ace463e475304; >= d7f781bfdbf4eb7c5706c99…
Fixed in: Linux 94358146389d985b809898cc23b1030ff240a25d, Linux 9594550e95bcc362027b7ad5f0d5665110f8a7d8, Linux 0dc4296ac0910d3a43d9e105226ace463e475304, Linux 71b3c517e02af2c46ad58d4b3706b7c3cb24936d, Linux 08287212b622039212c972806f896f078dfd28e2

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

There is no confirmed exploitation: CVE-2026-98694 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-98694?

It has no CVSS score yet. Unknown.

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

Linux \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 94358146389d985b809898cc23b1030ff240a25d; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 9594550e95bcc362027b7ad5f0d5665110f8a7d8; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 0dc4296ac0910d3a43d9e105226ace463e475304; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< b70b9c41f240c42bf6e728034537c0fe60c16ef4; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 71b3c517e02af2c46ad58d4b3706b7c3cb24936d; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< f18faa3d3b810d60a3005ae1b1d1866faa67d343; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< 08287212b622039212c972806f896f078dfd28e2; \>= d7f781bfdbf4eb7c5706c9974b8bf6d3c82e69c1, \< a02188ddc24b7872f0c5e0c5873f827318717803; Linux 4.13.

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

Yes. Fixed in Linux 94358146389d985b809898cc23b1030ff240a25d, Linux 9594550e95bcc362027b7ad5f0d5665110f8a7d8, Linux 0dc4296ac0910d3a43d9e105226ace463e475304, Linux 71b3c517e02af2c46ad58d4b3706b7c3cb24936d, Linux 08287212b622039212c972806f896f078dfd28e2. No fix listed yet: follow the vendor advisory.

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

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/94358146389d985b809898cc23b1030ff240a25d>
- other: <https://git.kernel.org/stable/c/9594550e95bcc362027b7ad5f0d5665110f8a7d8>
- other: <https://git.kernel.org/stable/c/0dc4296ac0910d3a43d9e105226ace463e475304>
- other: <https://git.kernel.org/stable/c/b70b9c41f240c42bf6e728034537c0fe60c16ef4>
- other: <https://git.kernel.org/stable/c/71b3c517e02af2c46ad58d4b3706b7c3cb24936d>
- other: <https://git.kernel.org/stable/c/f18faa3d3b810d60a3005ae1b1d1866faa67d343>
- other: <https://git.kernel.org/stable/c/08287212b622039212c972806f896f078dfd28e2>
- other: <https://git.kernel.org/stable/c/a02188ddc24b7872f0c5e0c5873f827318717803>

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

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