dmaengine: xilinx_dma: Fix channel idle state management in AXIDMA and MCDMA interrupt handlers
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fdaf297ab275c6efecac5e87669c31bc89b74297, Kernel 0b6d055edb55ecadadf54e930c2b4fab76fa9a5a, Kernel 425630e9eea1f9f8912b8c6abf01e0dab1e27917 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: dmaengine: xilinx_dma: Fix channel idle state management in AXIDMA and MCDMA interrupt handlers Fix a race condition in AXIDMA and MCDMA irq handlers where the channel could be incorrectly marked as idle and attempt spurious transfers when descriptors are still being processed. The issue occurs when: 1. Multiple descriptors are queued and active. 2. An interrupt fires after completing some descriptors. 3. xilinx_dma_complete_descriptor() moves completed descriptors to done_list. 4. Channel is marked idle and start_transfer() is called even though active_list still contains unprocessed descriptors. 5. This leads to premature transfer attempts and potential descriptor corruption or missed completions. Only mark the channel as idle and start new transfers when the active list is actually empty, ensuring proper channel state management and avoiding spurious transfer attempts.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c0bba3a99f0709c24c2c7ada7cb098966b1d791f <fdaf297ab275c6efecac5e87669c31bc89b74297, >=c0bba3a99f0709c24c2c7ada7cb098966b1d791f <0b6d055edb55ecadadf54e930c2b4fab76fa9a5a, >=c0bba3a99f0709c24c2c7ada7cb098966b1d791f <425630e9eea1f9f8912b8c6abf01e0dab1e27917, >=c0bba3a99f0709c24c2c7ada7cb098966b1d791f <5459e02707b27a964ae72e028d3ff72a3b687c4a, >=c0bba3a99f0709c24c2c7ada7cb098966b1d791f <7f4b989d7d87381927b98d64492f8dcf979f57ab, >=c0bba3a99f0709c24c2c7ada7cb098966b1d791f <c27d16fd2358b2fc3e1ffaca03afd11dc28630ea, >=c0bba3a99f0709c24c2c7ada7cb098966b1d791f <c3e943490ced0b9ad475844eda7661f6a9bcfb4a, >=c0bba3a99f0709c24c2c7ada7cb098966b1d791f <ec927657524be4438447944a58173c7baf7f2384, =4.7 | fdaf297ab275c6efecac5e87669c31bc89b74297, 0b6d055edb55ecadadf54e930c2b4fab76fa9a5a, 425630e9eea1f9f8912b8c6abf01e0dab1e27917, 5459e02707b27a964ae72e028d3ff72a3b687c4a, 7f4b989d7d87381927b98d64492f8dcf979f57ab, c27d16fd2358b2fc3e1ffaca03afd11dc28630ea, c3e943490ced0b9ad475844eda7661f6a9bcfb4a, ec927657524be4438447944a58173c7baf7f2384 |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=4.7.0 <5.10.270 | 5.15.221, 6.1.188, 6.18.52, 7.2.6, 6.6.157, 6.12.110, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket