powerpc/eeh: Make EEH driver device hotplug safe
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1c2042c83aa7af10579b71a1fe5e22bbae69f08c · < d42bbd8f30ac38b1ce54715bf08ec3dac18d6b25| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
powerpc/eeh: Make EEH driver device hotplug safe
Multiple race conditions existed between the PCIe hotplug driver and the EEH driver, leading to a variety of kernel oopses of the same general nature:
<pcie device unplug> <eeh driver trigger> <hotplug removal trigger> <pcie tree reconfiguration> <eeh recovery next step> <oops in EEH driver bus iteration loop>
A second class of oops is also seen when the underlying bus disappears during device recovery.
Refactor the EEH module to be PCI rescan and remove safe. Also clean up a few minor formatting / readability issues.
From the CVE record · Linux
The Linux kernel's powerpc EEH driver has race conditions with PCIe device hotplug and removal. If a device is unplugged while EEH recovery and PCIe tree reconfiguration overlap, the kernel can oops. The input does not establish whether an attacker can trigger this or specify authentication requirements.
Engineers running the Linux kernel on powerpc systems that use EEH and PCIe hotplug should check their affected versions; no version range was provided.