
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-27408 affects the Linux kernel's DMA engine, specifically the Synopsys eDMA IP version 0 implementation. The vulnerability was discovered and disclosed on May 17, 2024, and involves a race condition in the DMA transfer process when the linked list element and pointer are not stored in the same memory as the eDMA controller register (Kernel Git).
The vulnerability occurs in the dmaengine subsystem of the Linux kernel, specifically in the dw-edma (DesignWare eDMA) driver. The issue arises when the doorbell register is toggled before the full write of the linked list completes, potentially causing a race condition error. This happens because the Linked list element and pointer are stored in different memory locations than the eDMA controller register (Kernel Git).
When exploited, the race condition can lead to potential data corruption or system instability during DMA transfers, particularly in remote setup configurations where the DW PCIe RP/EP internal configuration registers and application memory are accessed over different buses (Kernel Git).
The vulnerability requires specific timing conditions to be met during DMA operations in remote setup configurations. It primarily affects systems using the Synopsys eDMA IP version 0 implementation in the Linux kernel (Kernel Git).
The issue has been fixed by adding a synchronization read before starting the DMA transfer in remote setup. The fix implements a dummy-read from the remote LL memory to ensure that LL-data reaches the memory before the doorbell register is toggled. This ensures that the MRd TLP will return only after the last MWr TLP is completed (Kernel Git).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."