# CVE-2026-139740: dmaengine: xilinx_dma: Move descriptors to done list based on completion bit

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:32.280Z
- Modified: 2026-11-30T14:20:06.263Z
- Assigned by: Linux

## 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").

(As written by CVE List.)

## Affected

- Linux Linux: from 6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91 before 66590fdaebdd5fe18e8fae60de1b5f24fe112d00; from 6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91 before 2a17053016c7441a741bb6f05049134bdd9f7090; from 6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91 before 0ea00f9346bff74c980feff2158d6e6929681310; from 6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91 before 763c58e14dadac95a0e4faddac7281a8bb5101a4; from 6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91 before 484671b5d0074c0745f55717451e5e741b3fc94b; from 6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91 before a46a5393c1eab0bb111783be686626247270b6f2; from 6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91 before a4c863dab7f9a0bdfd814d8594a2543f799b2f7d; from 6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91 before 5b585cc8778185ae7a7c9903f8cd70d562b91282; 5.5 (not affected: before 5.5; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/66590fdaebdd5fe18e8fae60de1b5f24fe112d00>
- <https://git.kernel.org/stable/c/2a17053016c7441a741bb6f05049134bdd9f7090>
- <https://git.kernel.org/stable/c/0ea00f9346bff74c980feff2158d6e6929681310>
- <https://git.kernel.org/stable/c/763c58e14dadac95a0e4faddac7281a8bb5101a4>
- <https://git.kernel.org/stable/c/484671b5d0074c0745f55717451e5e741b3fc94b>
- <https://git.kernel.org/stable/c/a46a5393c1eab0bb111783be686626247270b6f2>
- <https://git.kernel.org/stable/c/a4c863dab7f9a0bdfd814d8594a2543f799b2f7d>
- <https://git.kernel.org/stable/c/5b585cc8778185ae7a7c9903f8cd70d562b91282>

## Sources

- CVE List: [CVE-2026-139740](https://www.cve.org/CVERecord?id=CVE-2026-139740), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139740](https://nvd.nist.gov/vuln/detail/CVE-2026-139740), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139740 · Whole record: https://cve.day/CVE-2026-139740.json · Rebuilt by cve.day 2026-11-30T14:33:31.541Z
