thunderbolt: Do not RPM complete unrelated subtrees on unplug
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 5.2.0, < 5.10.275→ 5.10.275 ≥ 5.11.0, < 5.15.226→ 5.15.226 ≥ 5.16.0, < 6.1.193→ 6.1.193 ≥ 6.2.0, < 6.6.163→ 6.6.163 ≥ 6.7.0, < 6.12.117→ 6.12.117 ≥ 6.13.0, < 6.18.61→ 6.18.61 ≥ 6.19.0, < 7.3.2→ 7.3.2 |
5.10.275 5.15.226 6.1.193 6.6.163 6.12.117 6.18.61 7.3.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99547 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99547 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99547 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +162 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
thunderbolt: Do not RPM complete unrelated subtrees on unplug
When a Thunderbolt device is unplugged, that switch and every switch
subsequent to it on the bus device list is complete()d, not just its
child devices. In the case of multiple domains, it may cause, eg, an
attempt to complete() the uninitialized domain 1 root switch RPM
completion on unplug of a switch from domain 0 (though ordering is not
guaranteed numerically sorted).
I initially noticed this issue on a Dell XPS9720 when the system would
seem to sporadically not wake after unplugging a Thunderbolt dock. I
tried multiple kernel versions including v7.2.7 and v7.3-rc4 to see if
that resolved the issue, but the issue persisted. Eventually I found
that I could consistently generate a kernel Oops reporting a page fault
at 0xffff_ffff_ffff_fff8 on unplug from one side of the laptop and went
bug hunting. I became suspicious of the bus_for_each_dev() walk that I
ultimately ended up changing. To confirm this issue, I did an eBPF trace
of bus_for_each_dev(), complete_rpm(), and complete() while
unplugging in a variety of situations and found that an unplug from
domain 0 tries to complete_rpm() domain 1's switch, whose RPM
completion is not initialized and thus is holding a null wait-list
pointer, triggering the page fault.
Here are the key sections of that eBPF trace. Note that HEAD denotes the
completion's own wait-list HEAD:
RESCA…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com