dmaengine: zynqmp_dma: fix race between runtime PM and device removal
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.527.2.67.3In the Linux kernel, the following vulnerability has been resolved:
dmaengine: zynqmp_dma: fix race between runtime PM and device removal
In zynqmp_dma_remove(), runtime PM was disabled only after checking state and doing a manual suspend. This can race with runtime PM in the remove/unbind (rmmod) path.
Disable runtime PM first, then suspend only if the device is not already suspended. To prevent any further runtime PM transitions.
From the CVE record · Linux
The Linux kernel’s zynqmp_dma driver has a race between runtime power management and device removal. It can occur during device removal or unbinding; the input does not describe an attacker action, authentication requirement, or user interaction.
Engineers running Linux kernels with the zynqmp_dma driver should check their affected versions; none are specified in the input.