dmaengine: dw-edma: HDMA: Add sync read before starting the DMA transfer in remote setup
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.6.216.7.96.8In the Linux kernel, the following vulnerability has been resolved:
dmaengine: dw-edma: HDMA: Add sync read before starting the DMA transfer in remote setup
The Linked list element and pointer are not stored in the same memory as the HDMA controller register. If the doorbell register is toggled before the full write of the linked list a race condition error will occur. In remote setup we can only use a readl to the memory to assure the full write has occurred.
From the CVE record · Linux
The Linux kernel’s dw-edma HDMA driver has a race condition in remote setup if the doorbell register is toggled before a linked-list write completes. The input does not specify what an attacker can do, what access they would need, or whether user interaction is required.
Teams running Linux kernels with the dw-edma HDMA driver should check whether their kernel includes the fix; affected versions are not specified.