PCI: altera: Protect root bus removal with rescan lock
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ec15c4d0d5d2e431169fbdf6c6bcf0c8ff71ef22 · < 7cbb8f2750d91e64caff89e164ac8280bb80bedc| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
PCI: altera: 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.
[bhelgaas: commit log]
From the CVE record · Linux
The Linux kernel's Altera PCI code can race when removing a root bus while a concurrent rescan or hotplug operation is triggered through sysfs. The race may cause a use-after-free or system crash. The input does not specify authentication requirements.
Engineers running Linux kernels with the Altera PCI component should check their installations; affected versions are not specified.