
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-27409 is a vulnerability in the Linux kernel's DMA engine, specifically affecting the dw-edma HDMA component. The vulnerability was discovered and disclosed on February 25, 2024. The issue occurs because the Linked list element and pointer are not stored in the same memory as the HDMA controller register, potentially leading to a race condition error if the doorbell register is toggled before the full write of the linked list (Kernel Git).
The vulnerability stems from a synchronization issue in the DMA engine's remote setup. The core problem lies in the memory access pattern where the DW PCIe RP/EP internal configuration registers and application memory are accessed over different buses. This architectural design can lead to a race condition when the doorbell register is toggled before the linked list write is fully completed. The fix involves implementing a synchronization mechanism using a readl operation to ensure the LL-data reaches the memory before the doorbell register is toggled (Kernel Git).
When exploited, this vulnerability can cause race condition errors in the DMA transfer operations, potentially leading to data corruption or system instability in systems using the affected DMA engine component (NVD).
The vulnerability requires specific timing conditions to be met in the remote setup configuration of the HDMA controller. It specifically affects scenarios where the DMA engine is operating in remote mode, as opposed to local mode operations (Kernel Git).
The issue has been resolved through a patch that implements a synchronization mechanism. The fix adds a sync read operation before starting the DMA transfer in remote setup, ensuring that the LL-data reaches the memory before the doorbell register is toggled. This is implemented through the addition of the dw_hdma_v0_sync_ll_data function (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."