PCI: mediatek: Protect root bus removal with rescan lock
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 031337ace2d1c22a447da6390716fe92592cdd6e · < a568939487dcbc1a3e341208585e224be897e25e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
PCI: mediatek: 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 MediaTek PCI driver can race while removing a root bus. Concurrent rescan or hotplug operations triggered through sysfs may cause a use-after-free or system crash. The input does not specify authentication requirements.
Engineers running Linux kernels with the MediaTek PCI driver should check their deployments; affected versions are not specified.