CVE-2026-139740
dmaengine: xilinx_dma: Move descriptors to done list based on completion bit
Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: xilinx_dma: Move descriptors to done list based on completion bit In AXI MCDMA, xilinx_dma_complete_descriptor() walks the channel's active_list and unconditionally moves every entry to the done_list. The MCDMA IOC interrupt handler invokes this function on every interrupt-on-completion, but with interrupt coalescing (IRQThreshold > 1) an IOC interrupt may fire after only a subset of the queued descriptors have actually been processed by the hardware. As a result, descriptors whose completion bit is not yet set in the BD status were being reported as completed to client drivers. Add a check for the descriptor completion bit before moving entries from the active list to the done list, using the appropriate direction- specific status field (s2mm_status for DMA_DEV_TO_MEM, mm2s_status for DMA_MEM_TO_DEV). This mirrors the AXIDMA fix in commit 7bcdaa658102 ("dmaengine: xilinx_dma: Freeup active list based on descriptor completion bit").
INFO
Published Date :
Nov. 30, 2026, 2:20 p.m.
Last Modified :
Nov. 30, 2026, 2:20 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Verify descriptor completion bit before moving to done list.
- Apply relevant kernel patches for Xilinx DMA.
- Configure interrupt coalescing settings carefully.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139740.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139740 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139740
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139740 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139740 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: dmaengine: xilinx_dma: Move descriptors to done list based on completion bit In AXI MCDMA, xilinx_dma_complete_descriptor() walks the channel's active_list and unconditionally moves every entry to the done_list. The MCDMA IOC interrupt handler invokes this function on every interrupt-on-completion, but with interrupt coalescing (IRQThreshold > 1) an IOC interrupt may fire after only a subset of the queued descriptors have actually been processed by the hardware. As a result, descriptors whose completion bit is not yet set in the BD status were being reported as completed to client drivers. Add a check for the descriptor completion bit before moving entries from the active list to the done list, using the appropriate direction- specific status field (s2mm_status for DMA_DEV_TO_MEM, mm2s_status for DMA_MEM_TO_DEV). This mirrors the AXIDMA fix in commit 7bcdaa658102 ("dmaengine: xilinx_dma: Freeup active list based on descriptor completion bit"). Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139740.json">CVE-2026-139740</a> Added Reference https://git.kernel.org/stable/c/0ea00f9346bff74c980feff2158d6e6929681310 Added Reference https://git.kernel.org/stable/c/2a17053016c7441a741bb6f05049134bdd9f7090 Added Reference https://git.kernel.org/stable/c/484671b5d0074c0745f55717451e5e741b3fc94b Added Reference https://git.kernel.org/stable/c/5b585cc8778185ae7a7c9903f8cd70d562b91282 Added Reference https://git.kernel.org/stable/c/66590fdaebdd5fe18e8fae60de1b5f24fe112d00 Added Reference https://git.kernel.org/stable/c/763c58e14dadac95a0e4faddac7281a8bb5101a4 Added Reference https://git.kernel.org/stable/c/a46a5393c1eab0bb111783be686626247270b6f2 Added Reference https://git.kernel.org/stable/c/a4c863dab7f9a0bdfd814d8594a2543f799b2f7d