{"id":"CVE-2026-139740","summary":"dmaengine: xilinx_dma: Move descriptors to done list based on completion bit","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: xilinx_dma: Move descriptors to done list based on completion bit\n\nIn AXI MCDMA, xilinx_dma_complete_descriptor() walks the channel's\nactive_list and unconditionally moves every entry to the done_list. The\nMCDMA IOC interrupt handler invokes this function on every\ninterrupt-on-completion, but with interrupt coalescing (IRQThreshold \u003e 1)\nan IOC interrupt may fire after only a subset of the queued descriptors\nhave actually been processed by the hardware. As a result, descriptors\nwhose completion bit is not yet set in the BD status were being reported\nas completed to client drivers.\n\nAdd a check for the descriptor completion bit before moving entries from\nthe active list to the done list, using the appropriate direction-\nspecific status field (s2mm_status for DMA_DEV_TO_MEM, mm2s_status for\nDMA_MEM_TO_DEV).\n\nThis mirrors the AXIDMA fix in commit 7bcdaa658102 (\"dmaengine:\nxilinx_dma: Freeup active list based on descriptor completion bit\").","modified":"2026-11-30T15:02:30.560833767Z","published":"2026-11-30T13:37:32.280Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139740.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0ea00f9346bff74c980feff2158d6e6929681310"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2a17053016c7441a741bb6f05049134bdd9f7090"},{"type":"WEB","url":"https://git.kernel.org/stable/c/484671b5d0074c0745f55717451e5e741b3fc94b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5b585cc8778185ae7a7c9903f8cd70d562b91282"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66590fdaebdd5fe18e8fae60de1b5f24fe112d00"},{"type":"WEB","url":"https://git.kernel.org/stable/c/763c58e14dadac95a0e4faddac7281a8bb5101a4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a46a5393c1eab0bb111783be686626247270b6f2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4c863dab7f9a0bdfd814d8594a2543f799b2f7d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139740.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139740"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}