{"id":"CVE-2026-31436","state":"PUBLISHED","title":"dmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc()\n\nAt the end of this function, d is the traversal cursor of flist, but the\ncode completes found instead. This can lead to issues such as NULL pointer\ndereferences, double completion, or descriptor leaks.\n\nFix this by completing d instead of found in the final\nlist_for_each_entry_safe() loop.","publishedAt":"2026-04-22T13:53:35.693Z","updatedAt":"2026-10-19T18:35:48.060Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"aa8d18becc0c14aa3eb46d6d1b81450446e11b87","status":"affected","lessThan":"e21da2ad8844585040fe4b82be1ad2fe99d40074","versionType":"git"},{"version":"aa8d18becc0c14aa3eb46d6d1b81450446e11b87","status":"affected","lessThan":"82656e8daf8de00935ae91b91bed43f4d6e0d644","versionType":"git"},{"version":"aa8d18becc0c14aa3eb46d6d1b81450446e11b87","status":"affected","lessThan":"0e4f43779d550e559be13a5cdb763bad92c4cc99","versionType":"git"},{"version":"aa8d18becc0c14aa3eb46d6d1b81450446e11b87","status":"affected","lessThan":"e1c9866173c5f8521f2d0768547a01508cb9ff27","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/idxd/submit.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.80","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.21","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.11","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/idxd/submit.c"]}],"references":["https://git.kernel.org/stable/c/e21da2ad8844585040fe4b82be1ad2fe99d40074","https://git.kernel.org/stable/c/82656e8daf8de00935ae91b91bed43f4d6e0d644","https://git.kernel.org/stable/c/0e4f43779d550e559be13a5cdb763bad92c4cc99","https://git.kernel.org/stable/c/e1c9866173c5f8521f2d0768547a01508cb9ff27"],"weaknesses":["CWE-758"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/31xxx/CVE-2026-31436.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31436","state":"PUBLISHED","datePublished":"2026-04-22T13:53:35.693Z","dateUpdated":"2026-10-19T18:35:48.060Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-03-09T15:48:24.089Z"},"containers":{"cna":{"title":"dmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc()\n\nAt the end of this function, d is the traversal cursor of flist, but the\ncode completes found instead. This can lead to issues such as NULL pointer\ndereferences, double completion, or descriptor leaks.\n\nFix this by completing d instead of found in the final\nlist_for_each_entry_safe() loop."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"aa8d18becc0c14aa3eb46d6d1b81450446e11b87","status":"affected","lessThan":"e21da2ad8844585040fe4b82be1ad2fe99d40074","versionType":"git"},{"version":"aa8d18becc0c14aa3eb46d6d1b81450446e11b87","status":"affected","lessThan":"82656e8daf8de00935ae91b91bed43f4d6e0d644","versionType":"git"},{"version":"aa8d18becc0c14aa3eb46d6d1b81450446e11b87","status":"affected","lessThan":"0e4f43779d550e559be13a5cdb763bad92c4cc99","versionType":"git"},{"version":"aa8d18becc0c14aa3eb46d6d1b81450446e11b87","status":"affected","lessThan":"e1c9866173c5f8521f2d0768547a01508cb9ff27","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/idxd/submit.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.80","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.21","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.11","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/idxd/submit.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e21da2ad8844585040fe4b82be1ad2fe99d40074"},{"url":"https://git.kernel.org/stable/c/82656e8daf8de00935ae91b91bed43f4d6e0d644"},{"url":"https://git.kernel.org/stable/c/0e4f43779d550e559be13a5cdb763bad92c4cc99"},{"url":"https://git.kernel.org/stable/c/e1c9866173c5f8521f2d0768547a01508cb9ff27"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:N - In a reasonable network-facing deployment, XFRM/IPComp packets can reach `ipcomp_input()` and `crypto_acomp_decompress()`, which can use the IAA `deflate` acomp implementation and submit idxd descriptors. This makes the vulnerable idxd completion-abort path reachable from network traffic.\nAC:L - The vulnerable path requires an interrupt-completion shared workqueue and an `ENQCMDS` failure, but under that deployment the attacker can drive concurrent compression/decompression requests to create WQ pressure. No uncontrollable race or precise timing is required beyond triggering descriptor submission failure under load.\nPR:N - For the network IPComp path, the attacker only needs to send packets to an already configured endpoint and does not need a local account or kernel capability. Administrative setup of the transform/workqueue is treated as deployment configuration, not attacker privilege.\nUI:N - No victim interaction is needed once the vulnerable network-facing configuration is active. Packets or repeated requests can trigger the descriptor submission and abort path directly.\nS:U - The bug corrupts or crashes kernel-owned idxd/dmaengine state within the same kernel security authority. It does not by itself demonstrate a VM escape, IOMMU bypass, or cross-scope boundary violation.\nC:H - Completing the wrong descriptor can cause double completion and premature descriptor reuse, creating UAF/type-confusion-like corruption of kernel request and callback state. Following the high-severity rule for such memory corruption, kernel memory disclosure is defensible.\nI:H - Wrong descriptor completion can recycle an in-flight descriptor and later complete or reuse it for another request, corrupting DMA/crypto request state and potentially enabling control-flow or data corruption. When uncertain, this is scored as high integrity impact.\nA:H - The fix commit explicitly identifies possible NULL pointer dereferences, double completion, and descriptor leaks. These can crash or hang kernel workqueue processing, giving high availability impact."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:22:33.386Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.80"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.21"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.19.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-31436","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:09:16.062641Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-758","lang":"en","type":"CWE","description":"CWE-758 Reliance on Undefined, Unspecified, or Implementation-Defined Behavior"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T18:35:48.060Z"}}]}}}