{"id":"CVE-2026-143094","state":"PUBLISHED","title":"spi: tegra210-quad: Unmap DMA buffers on transfer timeout","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: tegra210-quad: Unmap DMA buffers on transfer timeout\n\ntegra_qspi_start_dma_based_transfer() maps the client TX/RX buffers with\ndma_map_single() via tegra_qspi_dma_map_xfer(). The matching unmap only\nhappens in handle_dma_based_xfer(), which runs from the interrupt bottom\nhalf.\n\nWhen wait_for_completion_timeout() expires and tegra_qspi_handle_timeout()\ncannot establish that the hardware finished, it returns an error without\nthe bottom half ever having run. Both transfer paths then abort the\ntransfer with tegra_qspi_dma_stop(), reset the controller and clear\ncurr_xfer, but never unmap the buffers. Every genuine transfer timeout\ntherefore leaks the streaming DMA mappings for that chunk, which\ngradually exhausts the IOVA space on systems with an IOMMU in front of\nQSPI.\n\nUnmap the transfer after stopping DMA on both timeout error paths. The\nunmap is placed after tegra_qspi_dma_stop() so the DMA engine is\nquiesced before the mappings go away.\n\nThe recovery paths that do reach handle_dma_based_xfer() unmap there\nthemselves. The preceding patch makes tegra_qspi_dma_unmap_xfer() a no-op\nonce the mapping is released, so this cleanup cannot unmap twice or run\nagainst a chunk that was never mapped.","publishedAt":"2026-12-03T09:19:15.395Z","updatedAt":"2026-12-03T09:19:15.395Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"921fc1838fb036f690b8ba52e6a6d3644b475cbb","status":"affected","lessThan":"59158d24959ed826cb573a9c9c3d554be8d14fe5","versionType":"git"},{"version":"921fc1838fb036f690b8ba52e6a6d3644b475cbb","status":"affected","lessThan":"d04ad85dd8015713b0b2531b5b934fe67828d741","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-tegra210-quad.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.12","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-tegra210-quad.c"]}],"references":["https://git.kernel.org/stable/c/59158d24959ed826cb573a9c9c3d554be8d14fe5","https://git.kernel.org/stable/c/d04ad85dd8015713b0b2531b5b934fe67828d741"],"weaknesses":[],"ingestedAt":"2026-12-03T09:28:04.553Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143094.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143094","state":"PUBLISHED","datePublished":"2026-12-03T09:19:15.395Z","dateUpdated":"2026-12-03T09:19:15.395Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.348Z"},"containers":{"cna":{"title":"spi: tegra210-quad: Unmap DMA buffers on transfer timeout","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: tegra210-quad: Unmap DMA buffers on transfer timeout\n\ntegra_qspi_start_dma_based_transfer() maps the client TX/RX buffers with\ndma_map_single() via tegra_qspi_dma_map_xfer(). The matching unmap only\nhappens in handle_dma_based_xfer(), which runs from the interrupt bottom\nhalf.\n\nWhen wait_for_completion_timeout() expires and tegra_qspi_handle_timeout()\ncannot establish that the hardware finished, it returns an error without\nthe bottom half ever having run. Both transfer paths then abort the\ntransfer with tegra_qspi_dma_stop(), reset the controller and clear\ncurr_xfer, but never unmap the buffers. Every genuine transfer timeout\ntherefore leaks the streaming DMA mappings for that chunk, which\ngradually exhausts the IOVA space on systems with an IOMMU in front of\nQSPI.\n\nUnmap the transfer after stopping DMA on both timeout error paths. The\nunmap is placed after tegra_qspi_dma_stop() so the DMA engine is\nquiesced before the mappings go away.\n\nThe recovery paths that do reach handle_dma_based_xfer() unmap there\nthemselves. The preceding patch makes tegra_qspi_dma_unmap_xfer() a no-op\nonce the mapping is released, so this cleanup cannot unmap twice or run\nagainst a chunk that was never mapped."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"921fc1838fb036f690b8ba52e6a6d3644b475cbb","status":"affected","lessThan":"59158d24959ed826cb573a9c9c3d554be8d14fe5","versionType":"git"},{"version":"921fc1838fb036f690b8ba52e6a6d3644b475cbb","status":"affected","lessThan":"d04ad85dd8015713b0b2531b5b934fe67828d741","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-tegra210-quad.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.12","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-tegra210-quad.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/59158d24959ed826cb573a9c9c3d554be8d14fe5"},{"url":"https://git.kernel.org/stable/c/d04ad85dd8015713b0b2531b5b934fe67828d741"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:19:15.395Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}