CVE-2026-31436 (GCVE-0-2026-31436)
Vulnerability from cvelistv5
Published
2026-04-22 13:53
Modified
2026-10-19 18:35
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc() At the end of this function, d is the traversal cursor of flist, but the code completes found instead. This can lead to issues such as NULL pointer dereferences, double completion, or descriptor leaks. Fix this by completing d instead of found in the final list_for_each_entry_safe() loop.
Impacted products
Vendor Product Version
Linux Linux Version: aa8d18becc0c14aa3eb46d6d1b81450446e11b87
Version: aa8d18becc0c14aa3eb46d6d1b81450446e11b87
Version: aa8d18becc0c14aa3eb46d6d1b81450446e11b87
Version: aa8d18becc0c14aa3eb46d6d1b81450446e11b87
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-31436",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T15:09:16.062641Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-758",
                "description": "CWE-758 Reliance on Undefined, Unspecified, or Implementation-Defined Behavior",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-19T18:35:48.060Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/dma/idxd/submit.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e21da2ad8844585040fe4b82be1ad2fe99d40074",
              "status": "affected",
              "version": "aa8d18becc0c14aa3eb46d6d1b81450446e11b87",
              "versionType": "git"
            },
            {
              "lessThan": "82656e8daf8de00935ae91b91bed43f4d6e0d644",
              "status": "affected",
              "version": "aa8d18becc0c14aa3eb46d6d1b81450446e11b87",
              "versionType": "git"
            },
            {
              "lessThan": "0e4f43779d550e559be13a5cdb763bad92c4cc99",
              "status": "affected",
              "version": "aa8d18becc0c14aa3eb46d6d1b81450446e11b87",
              "versionType": "git"
            },
            {
              "lessThan": "e1c9866173c5f8521f2d0768547a01508cb9ff27",
              "status": "affected",
              "version": "aa8d18becc0c14aa3eb46d6d1b81450446e11b87",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/dma/idxd/submit.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.80",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.21",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.80",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.21",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.11",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "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": {
        "dateUpdated": "2026-08-05T12:22:33.386Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
        }
      ],
      "title": "dmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-31436",
    "datePublished": "2026-04-22T13:53:35.693Z",
    "dateReserved": "2026-03-09T15:48:24.089Z",
    "dateUpdated": "2026-10-19T18:35:48.060Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"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\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-758\", \"description\": \"CWE-758 Reliance on Undefined, Unspecified, or Implementation-Defined Behavior\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T15:09:16.656Z\"}}], \"cna\": {\"title\": \"dmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc()\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 9.8, \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\"}, \"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.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"aa8d18becc0c14aa3eb46d6d1b81450446e11b87\", \"lessThan\": \"e21da2ad8844585040fe4b82be1ad2fe99d40074\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"aa8d18becc0c14aa3eb46d6d1b81450446e11b87\", \"lessThan\": \"82656e8daf8de00935ae91b91bed43f4d6e0d644\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"aa8d18becc0c14aa3eb46d6d1b81450446e11b87\", \"lessThan\": \"0e4f43779d550e559be13a5cdb763bad92c4cc99\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"aa8d18becc0c14aa3eb46d6d1b81450446e11b87\", \"lessThan\": \"e1c9866173c5f8521f2d0768547a01508cb9ff27\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/dma/idxd/submit.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.8\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.8\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.12.80\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.18.21\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.18.*\"}, {\"status\": \"unaffected\", \"version\": \"6.19.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.19.*\"}, {\"status\": \"unaffected\", \"version\": \"7.0\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/dma/idxd/submit.c\"], \"defaultStatus\": \"affected\"}], \"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\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"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.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.80\", \"versionStartIncluding\": \"6.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.18.21\", \"versionStartIncluding\": \"6.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.19.11\", \"versionStartIncluding\": \"6.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.0\", \"versionStartIncluding\": \"6.8\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T12:22:33.386Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-31436\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-19T18:35:48.060Z\", \"dateReserved\": \"2026-03-09T15:48:24.089Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-04-22T13:53:35.693Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…