Skip to main content
Vulnerability Database/CVE-2026-98694

CVE-2026-98694: Linux Kernel Thunderbolt Use-After-Free

CVE-2026-98694 is a use-after-free flaw in the Linux kernel Thunderbolt driver that occurs during control channel operations. This article covers the technical details, affected versions, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98694 Overview

CVE-2026-98694 is a use-after-free vulnerability [CWE-416] in the Linux kernel's thunderbolt driver. The flaw was identified through Kernel Address Sanitizer (KASAN) reports during stress testing of the control channel. A race condition between tb_cfg_request_work() completion and tb_cfg_request_cancel() allows the same work item to be re-queued after its reference count has already dropped. When the worker runs again, it accesses memory that has been freed, triggering a slab-use-after-free in tb_cfg_request_sync(). The issue affects local kernel paths that handle Thunderbolt configuration reads, including USB3 bandwidth calculation and DisplayPort bandwidth request processing.

Critical Impact

Local triggering of the race can cause kernel memory corruption, system instability, or potential privilege escalation on hosts with Thunderbolt controllers.

Affected Products

  • Linux kernel thunderbolt driver (upstream)
  • Linux stable branches referenced by the fix commits
  • Distributions shipping affected kernel versions on hardware with Thunderbolt controllers

Discovery Timeline

  • 2026-10-18 - CVE-2026-98694 published to NVD
  • 2026-10-21 - Last updated in NVD database

Technical Details for CVE-2026-98694

Vulnerability Analysis

The vulnerability resides in the Thunderbolt control channel request lifecycle. When a configuration request is issued through tb_cfg_read_raw(), the kernel allocates a request structure and queues work via tb_cfg_request_work(). If the caller invokes tb_cfg_request_sync() and the request needs cancellation, tb_cfg_request_cancel() is called. The race occurs when tb_cfg_request_work() completes immediately before tb_cfg_request_cancel() runs. The cancel path calls schedule_work() to re-queue the same work, but the request has already been removed from request_queue and its reference count has reached zero. The subsequent execution of tb_cfg_request_work() dereferences freed memory, producing the KASAN slab-use-after-free report at tb_cfg_request_sync+0x240/0x250.

Root Cause

The root cause is improper synchronization between the request worker and the cancel path. The cancel logic assumed the worker would always clean up the request, but a completed worker racing against a cancel request causes a second scheduling of an object whose lifetime has already ended. tb_cfg_request_dequeue() released references even when the request was no longer on the queue.

Attack Vector

Triggering the condition requires local activity that drives Thunderbolt control channel traffic, such as DisplayPort bandwidth negotiation (tb_handle_dp_bandwidth_request) or USB3 bandwidth checks (tb_usb3_consumed_bandwidth). The race is timing-sensitive and typically surfaces under stress. Successful exploitation yields kernel memory corruption with the usual consequences for availability and, depending on heap layout, integrity.

No verified public proof-of-concept is available. See the upstream fix commits for the exact code change, including Linux Kernel Commit 08287212 and Linux Kernel Commit a02188dd.

Detection Methods for CVE-2026-98694

Indicators of Compromise

  • KASAN reports in dmesg referencing slab-use-after-free in tb_cfg_request_sync within the thunderbolt module.
  • Kernel oops or panic stack traces containing tb_cfg_request_work, tb_cfg_request_cancel, or tb_cfg_read_raw.
  • Unexpected Thunderbolt subsystem resets or disconnects during DisplayPort or USB3 bandwidth renegotiation.

Detection Strategies

  • Enable KASAN on test and staging kernels to surface the use-after-free during Thunderbolt stress testing.
  • Monitor kernel ring buffer and journalctl -k output for thunderbolt module faults correlated with hot-plug events.
  • Track installed kernel versions against the stable branches patched by the referenced upstream commits.

Monitoring Recommendations

  • Centralize kernel logs and alert on new KASAN or BUG: entries referencing the thunderbolt driver.
  • Flag hosts with external Thunderbolt docks or displays that have not yet received the patched kernel.
  • Correlate crash telemetry with user activity involving external GPU, docking, or display attach/detach cycles.

How to Mitigate CVE-2026-98694

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in the stable commits as soon as vendor builds become available.
  • Inventory endpoints and workstations equipped with Thunderbolt controllers and prioritize them for kernel updates.
  • Where patching is delayed, restrict physical access to Thunderbolt ports to reduce opportunities to trigger the race.

Patch Information

The fix ensures a cancelled request cannot be returned by tb_cfg_request_find() or rescheduled, moves cleanup into tb_cfg_request_cancel() after the work is cancelled, and makes tb_cfg_request_dequeue() release the request only when it was actually removed from the queue. See Linux Kernel Commit 71b3c517, Linux Kernel Commit b70b9c41, and Linux Kernel Commit f18faa3d for the complete set of fixes.

Workarounds

  • Disable the thunderbolt kernel module on systems that do not require Thunderbolt functionality using modprobe -r thunderbolt and blacklisting it.
  • Set Thunderbolt security level to the strictest policy supported by firmware to limit untrusted device attach events.
  • Avoid prolonged DisplayPort or USB3 bandwidth renegotiation workloads on unpatched hosts.
bash
# Blacklist the thunderbolt module until the kernel is patched
echo 'blacklist thunderbolt' | sudo tee /etc/modprobe.d/blacklist-thunderbolt.conf
sudo modprobe -r thunderbolt
sudo update-initramfs -u

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.