{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139740",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.950Z",
        "datePublished": "2026-11-30T13:37:32.280Z",
        "dateUpdated": "2026-11-30T13:37:32.280Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:37:32.280Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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 > 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\")."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/dma/xilinx/xilinx_dma.c"
                    ],
                    "versions": [
                        {
                            "version": "6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91",
                            "lessThan": "66590fdaebdd5fe18e8fae60de1b5f24fe112d00",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91",
                            "lessThan": "2a17053016c7441a741bb6f05049134bdd9f7090",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91",
                            "lessThan": "0ea00f9346bff74c980feff2158d6e6929681310",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91",
                            "lessThan": "763c58e14dadac95a0e4faddac7281a8bb5101a4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91",
                            "lessThan": "484671b5d0074c0745f55717451e5e741b3fc94b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91",
                            "lessThan": "a46a5393c1eab0bb111783be686626247270b6f2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91",
                            "lessThan": "a4c863dab7f9a0bdfd814d8594a2543f799b2f7d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91",
                            "lessThan": "5b585cc8778185ae7a7c9903f8cd70d562b91282",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/dma/xilinx/xilinx_dma.c"
                    ],
                    "versions": [
                        {
                            "version": "5.5",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.5",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/66590fdaebdd5fe18e8fae60de1b5f24fe112d00"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2a17053016c7441a741bb6f05049134bdd9f7090"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0ea00f9346bff74c980feff2158d6e6929681310"
                },
                {
                    "url": "https://git.kernel.org/stable/c/763c58e14dadac95a0e4faddac7281a8bb5101a4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/484671b5d0074c0745f55717451e5e741b3fc94b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a46a5393c1eab0bb111783be686626247270b6f2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a4c863dab7f9a0bdfd814d8594a2543f799b2f7d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5b585cc8778185ae7a7c9903f8cd70d562b91282"
                }
            ],
            "title": "dmaengine: xilinx_dma: Move descriptors to done list based on completion bit",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}