diff options
| author | Hans Zhang <18255117159@163.com> | 2026-05-22 00:18:15 +0800 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-06-18 11:50:55 -0500 |
| commit | 26335696498ab502e907a556e97c7039bc80a87e (patch) | |
| tree | 08067f6a286f4e370fc54a77acee56ca47561624 /include/linux/debugobjects.h | |
| parent | 713331969ce89489c84af917058df6d9910cff97 (diff) | |
PCI: dwc: Protect root bus removal with rescan lock
Hold the pci_rescan_remove_lock lock while stopping and removing a root bus
to avoid racing with concurrent rescan or hotplug operations triggered via
sysfs. Such races may lead to use-after-free issues or system crashes.
Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260521161822.132996-3-18255117159@163.com
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
