summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2025-11-21 08:47:23 +0200
committerMika Westerberg <mika.westerberg@linux.intel.com>2026-05-05 13:53:46 +0200
commit138ec65b2c761f065b19d115aed2b8246fc272f5 (patch)
tree1e451c7e424a5efcbee4f20178dd35def42da09f /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parent2fb199dc64056ada4aa820a68931fed60333c289 (diff)
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(). Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions