CVE-2026-64221 (GCVE-0-2026-64221)
Vulnerability from cvelistv5
Published
2026-07-24 15:23
Modified
2026-08-05 12:40
Summary
In the Linux kernel, the following vulnerability has been resolved: spi: ti-qspi: fix use-after-free after DMA setup failure The driver falls back to PIO mode if DMA setup fails during probe. Make sure to clear the DMA channel pointer also if buffer allocation fails to avoid passing a pointer to the released channel to the DMA engine (or trying to free the channel a second time on late probe errors or driver unbind). This issue was flagged by Sashiko when reviewing a devres allocation conversion patch.
Impacted products
Vendor Product Version
Linux Linux Version: c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83
Version: c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83
Version: c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83
Version: c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83
Version: c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83
Version: c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83
Version: c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83
Version: c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/spi/spi-ti-qspi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9c6f306a8140962c7284197db54b96fdb5f468d6",
              "status": "affected",
              "version": "c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83",
              "versionType": "git"
            },
            {
              "lessThan": "3bbbe7ae3fdada0df4157c1ffe989f92dfa8dcd6",
              "status": "affected",
              "version": "c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83",
              "versionType": "git"
            },
            {
              "lessThan": "d6f422b122922d1abee907d673bcc990e5f3672d",
              "status": "affected",
              "version": "c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83",
              "versionType": "git"
            },
            {
              "lessThan": "f2dc841d7dc9063fe9b47ced869b1271e55052ae",
              "status": "affected",
              "version": "c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83",
              "versionType": "git"
            },
            {
              "lessThan": "1cd927002120678bd5d23c760246639caa53040e",
              "status": "affected",
              "version": "c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83",
              "versionType": "git"
            },
            {
              "lessThan": "d7a076fb596c7b408ed6df74793a597990a6d860",
              "status": "affected",
              "version": "c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83",
              "versionType": "git"
            },
            {
              "lessThan": "178b9b570c0f75fa7e691490520328b20d19138e",
              "status": "affected",
              "version": "c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83",
              "versionType": "git"
            },
            {
              "lessThan": "ea6ec3343e05f7937a53eb6d7617b3abdb4abc19",
              "status": "affected",
              "version": "c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/spi/spi-ti-qspi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.12"
            },
            {
              "lessThan": "4.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.258",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.175",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.142",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.92",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.34",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.258",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.209",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.175",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.142",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.92",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.34",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.11",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: ti-qspi: fix use-after-free after DMA setup failure\n\nThe driver falls back to PIO mode if DMA setup fails during probe.\n\nMake sure to clear the DMA channel pointer also if buffer allocation\nfails to avoid passing a pointer to the released channel to the DMA\nengine (or trying to free the channel a second time on late probe errors\nor driver unbind).\n\nThis issue was flagged by Sashiko when reviewing a devres allocation\nconversion patch."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable path is reachable through local SPI-memory reads, including read(2) on an accessible file in a TI QSPI-backed JFFS2 or UBIFS filesystem.\nAC:L - Once memory pressure causes the coherent-buffer allocation failure, ordinary flash reads deterministically reuse the released channel without requiring a race or uncontrollable heap layout.\nPR:L - An ordinary unprivileged user can trigger flash I/O by reading a permitted file on a mounted QSPI-backed filesystem, with no capability check in the read path.\nUI:N - The attacker directly initiates the read and requires no action from another user.\nS:U - The resulting kernel and DMA corruption remains within the host kernel\u0027s security authority and does not inherently cross a VM or IOMMU boundary.\nC:H - Reuse of the released DMA channel can transfer data from unintended physical addresses into kernel buffers, enabling serious kernel-memory disclosure.\nI:H - Stale DMA submissions or a second channel release can corrupt DMA state, interfere with a reassigned client, and plausibly provide memory-corruption or code-execution primitives.\nA:H - Reusing or releasing the stale channel can cause an oops, panic, DMA timeout, or loss of access to a critical flash-backed filesystem."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:40:08.448Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9c6f306a8140962c7284197db54b96fdb5f468d6"
        },
        {
          "url": "https://git.kernel.org/stable/c/3bbbe7ae3fdada0df4157c1ffe989f92dfa8dcd6"
        },
        {
          "url": "https://git.kernel.org/stable/c/d6f422b122922d1abee907d673bcc990e5f3672d"
        },
        {
          "url": "https://git.kernel.org/stable/c/f2dc841d7dc9063fe9b47ced869b1271e55052ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/1cd927002120678bd5d23c760246639caa53040e"
        },
        {
          "url": "https://git.kernel.org/stable/c/d7a076fb596c7b408ed6df74793a597990a6d860"
        },
        {
          "url": "https://git.kernel.org/stable/c/178b9b570c0f75fa7e691490520328b20d19138e"
        },
        {
          "url": "https://git.kernel.org/stable/c/ea6ec3343e05f7937a53eb6d7617b3abdb4abc19"
        }
      ],
      "title": "spi: ti-qspi: fix use-after-free after DMA setup failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64221",
    "datePublished": "2026-07-24T15:23:07.502Z",
    "dateReserved": "2026-07-19T15:36:31.770Z",
    "dateUpdated": "2026-08-05T12:40:08.448Z",
    "state": "PUBLISHED"
  },
  "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…