Skip to contentSkip to conversation

CVE-2026-98896: thunderbolt: Keep the domain reference while processing hotplug

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

thunderbolt: Keep the domain reference while processing hotplug

We process hotplug events in a workqueue that may run after the domain has been removed by tb_domain_remove(). For example if user unloads the driver while at the same time plugging a device router we may have scheduled tb_handle_hotplug() to run. Avoid possible UAF in this case by taking the domain reference before scheduling the hotplug handler in tb_queue_hotplug().

The Linux kernel CVE team has assigned CVE-2026-98896 to this issue.

Affected and fixed versions
===========================

	Fixed in 5.10.271 with commit 06b2e894e640f6a3dbeb536a2d26d72426b26a46
	Fixed in 5.15.222 with commit 1d991f749a8255ee2ecc6307e2f27354ab631827
	Fixed in 6.1.189 with commit e8656465d08ed832e120c9cca4a6d0c8ccb45698
	Fixed in 6.6.158 with commit b61a4ae2ec6a0d363615d01106e0a2d284133a38
	Fixed in 6.12.111 with commit 04df2985159e381c88a923fae1bec2f8d0272412
	Fixed in 6.18.53 with commit 0a87af3b1e3aa2e09d160848daf0c39e765b73de
	Fixed in 7.2 with commit 138ec65b2c761f065b19d115aed2b8246fc272f5

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98896

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/thunderbolt/tb.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/06b2e894e640f6a3dbeb536a2d26d72426b26a46
	https://git.kernel.org/stable/c/1d991f749a8255ee2ecc6307e2f27354ab631827
	https://git.kernel.org/stable/c/e8656465d08ed832e120c9cca4a6d0c8ccb45698
	https://git.kernel.org/stable/c/b61a4ae2ec6a0d363615d01106e0a2d284133a38
	https://git.kernel.org/stable/c/04df2985159e381c88a923fae1bec2f8d0272412
	https://git.kernel.org/stable/c/0a87af3b1e3aa2e09d160848daf0c39e765b73de
	https://git.kernel.org/stable/c/138ec65b2c761f065b19d115aed2b8246fc272f5