CVE-2026-139740

Source
https://cve.org/CVERecord?id=CVE-2026-139740
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139740.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139740
Downstream
Published
2026-11-30T13:37:32Z
Modified
2026-11-30T15:02:30Z
Summary
dmaengine: xilinx_dma: Move descriptors to done list based on completion bit
Details

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

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139740.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91
Fixed
66590fdaebdd5fe18e8fae60de1b5f24fe112d00
Fixed
2a17053016c7441a741bb6f05049134bdd9f7090
Fixed
0ea00f9346bff74c980feff2158d6e6929681310
Fixed
763c58e14dadac95a0e4faddac7281a8bb5101a4
Fixed
484671b5d0074c0745f55717451e5e741b3fc94b
Fixed
a46a5393c1eab0bb111783be686626247270b6f2
Fixed
a4c863dab7f9a0bdfd814d8594a2543f799b2f7d
Fixed
5b585cc8778185ae7a7c9903f8cd70d562b91282

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139740.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139740.json"