{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "921fc1838fb036f690b8ba52e6a6d3644b475cbb"
            },
            {
              "fixed": "2bc91a930076ba9b2f2382b785de309f39f854f6"
            },
            {
              "fixed": "606e6c6c7ca324473dad56a9dbaa9326c3076214"
            },
            {
              "fixed": "7b9e6f7bc13c0259b192d0a964e802d4ad53b8b8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.12.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143095.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: tegra210-quad: Track DMA mapping state\n\ntegra_qspi_dma_unmap_xfer() assumes a streaming mapping is always\noutstanding and recomputes its length from the live\ntqspi-\u003ecurr_dma_words. Nothing records whether tegra_qspi_dma_map_xfer()\nmapped anything, so neither assumption holds.\n\nFor a multi-chunk transfer, handle_dma_based_xfer() unmaps the chunk that\njust completed, recalculates the parameters for the next chunk, which\noverwrites curr_dma_words, and re-arms the hardware. If\ntegra_qspi_start_dma_based_transfer() then fails at its\ntegra_qspi_dma_map_xfer() call, nothing is mapped. That early return also\nsits above the smp_store_release() that clears tqspi-\u003etrans_status, so the\nprevious chunk's QSPI_RDY survives, and the re-arm's return value is never\nchecked, so handle_dma_based_xfer() returns IRQ_HANDLED without completing\nthe transfer.\n\nThe caller times out, tegra_qspi_handle_timeout() sees the stale QSPI_RDY,\nconcludes the transfer completed and calls handle_dma_based_xfer() again.\nNo DMA completion arrives, so num_errors is incremented and\ntegra_qspi_dma_unmap_xfer() runs with nothing mapped. t-\u003etx_dma then holds\neither the DMA_MAPPING_ERROR sentinel or, if the RX mapping was the one\nthat failed, the preceding chunk's address that has already been released.\nBehind an IOMMU the latter frees an IOVA that may since have been\nreallocated.\n\nRecord whether a mapping is outstanding and the length that was mapped,\nand return early from tegra_qspi_dma_unmap_xfer() when there is nothing to\nrelease. is_dma_mapped is only updated under tqspi-\u003elock, or on the timeout\npath after synchronize_irq() and cancel_work_sync() have quiesced the ISR\nand the bottom half.\n\nAlso skip releasing the TX mapping on the RX failure path unless a TX\nmapping was created; t-\u003etx_dma is uninitialised when t-\u003etx_buf is NULL.",
  "id": "CVE-2026-143095",
  "modified": "2026-12-03T10:45:33.974522149Z",
  "published": "2026-12-03T09:19:16.036Z",
  "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/2bc91a930076ba9b2f2382b785de309f39f854f6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/606e6c6c7ca324473dad56a9dbaa9326c3076214"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7b9e6f7bc13c0259b192d0a964e802d4ad53b8b8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143095.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143095"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "spi: tegra210-quad: Track DMA mapping state"
}