# CVE-2026-99547: thunderbolt: Do not RPM complete unrelated subtrees on unplug

- Priority: **Routine**
- Reason: Not severe (CVSS 4.1, physical access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-19 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99547, UBUNTU-CVE-2026-99547, CGA-385m-gp5j-3mgj, CGA-38h3-q3w8-7jfj, CGA-3gmm-7958-mfq4, CGA-48vw-f26g-7fjh, CGA-574q-74wh-2p44, CGA-5xmv-m9cp-gj37, CGA-5xq6-8v9p-gpqv, CGA-9wq3-hv57-5jjf, CGA-jm82-r87h-863g, CGA-pvp3-g9f9-67p5, CGA-vgrm-r6hf-475m, CGA-8vw8-pc23-65mr, CGA-jmhx-hpw2-47f6, CGA-mx49-8rc2-6gwh, CGA-r3x8-vwfq-7w2q, CGA-v6mg-p642-vqmf, CGA-x956-p9m2-8h4p, CGA-xw44-vwcx-53j4, CGA-569j-59p3-cqfc
- Record: https://cvemate.com/vulnerability/CVE-2026-99547 · JSON: https://cvemate.com/vulnerability/CVE-2026-99547/json

## Description

````text
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:

```
RESCAN_ENTER domain=0

COMPLETE rescan_domain=0 target=0-1 target_domain=0
         route=0x1 parent=0-0 unplugged=1
COMPLETION done=0 head=HEAD next=HEAD prev=HEAD

BUS_WALK domain=0 start=0-1 callback=complete_rpm
CALLBACK_ENTER rescan_domain=0 dev=1-0 parent=domain1 is_switch=1

COMPLETE rescan_domain=0 target=1-0 target_domain=1
         route=0x0 parent=domain1 unplugged=0
COMPLETION done=0 head=HEAD next=0 prev=0

        complete+5
        complete_rpm+43
        bus_for_each_dev+133
        icm_free_unplugged_children+250
        icm_rescan_work+42
```

This patch gates the `complete()` on an additional condition - that the
Thunderbolt domain matches the domain of the device that was unplugged.

I only have a single system with multiple Thunderbolt domains - the Dell
XPS9720. I am consistently able to reproduce the Oops on that system.
Since running with this patch, I have not seen the Oops reoccur. I have
also tested it on a Thinkpad X1-Gen12, and that system boots and runs
well with it, but it only has a single Thunderbolt domain, so it does
not exercise the multi-domain failure case.
````

## Signals

- CVSS: 4.1 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:P/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.202%, percentile 10.638%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 178)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.117-1 \| \< 7.3.3-1
- debian linux-6.12 (Debian): \< 6.12.117-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/a7f354751b05ead5538176deadb9bc5b1fda0a3c>
- <https://git.kernel.org/stable/c/85a8777c7ec5e17b999b4c9eb0c8cbf4ab936998>
- <https://git.kernel.org/stable/c/e45356d83adce72fd99f57763eb3456c7c560857>
- <https://git.kernel.org/stable/c/96a8479804e3f7af43e639e9df39f562f1a75fd5>
- <https://security-tracker.debian.org/tracker/CVE-2026-99547>
- <https://git.kernel.org/stable/c/30442b8bb43f23545169ef2ad0901505328917fc>
- <https://git.kernel.org/stable/c/f631264cb36f6e103a1d6f793384fab7479eab70>
- <https://git.kernel.org/stable/c/48c44c2609b7b263576584b0b2c4ba5b6fdcd8e6>
- <https://git.kernel.org/stable/c/4b9f270fa78fd82c181bbb4d8ed94ee4fac2fc5f>
- <https://ubuntu.com/security/CVE-2026-99547>
- <https://www.cve.org/CVERecord?id=CVE-2026-99547>
- <https://git.kernel.org/linus/96a8479804e3f7af43e639e9df39f562f1a75fd5>

---

Data as of 2026-12-05T14:04:05.394Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
