Linux kernel use-after-free in Thunderbolt hotplug handling
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d6cc51cd1a4aed1d9e2dd66d643d729acb4be560 · < 0a87af3b1e3aa2e09d160848daf0c39e765b73de| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel’s Thunderbolt hotplug handler may run after its domain has been removed, causing a possible use-after-free. This can occur when a user unloads the driver while a device router is being plugged in; the input does not specify an attacker access requirement.
Engineers running the Linux kernel with Thunderbolt support should check their installations; affected versions are not specified.