StraitOfVuln
Latest / CVE-2026-143095

CVE-2026-143095

Not yet scoredReceived
CVE.org ↗NVD ↗

Description

In the Linux kernel, the following vulnerability has been resolved: spi: tegra210-quad: Track DMA mapping state tegra_qspi_dma_unmap_xfer() assumes a streaming mapping is always outstanding and recomputes its length from the live tqspi->curr_dma_words. Nothing records whether tegra_qspi_dma_map_xfer() mapped anything, so neither assumption holds. For a multi-chunk transfer, handle_dma_based_xfer() unmaps the chunk that just completed, recalculates the parameters for the next chunk, which overwrites curr_dma_words, and re-arms the hardware. If tegra_qspi_start_dma_based_transfer() then fails at its tegra_qspi_dma_map_xfer() call, nothing is mapped. That early return also sits above the smp_store_release() that clears tqspi->trans_status, so the previous chunk's QSPI_RDY survives, and the re-arm's return value is never checked, so handle_dma_based_xfer() returns IRQ_HANDLED without completing the transfer. The caller times out, tegra_qspi_handle_timeout() sees the stale QSPI_RDY, concludes the transfer completed and calls handle_dma_based_xfer() again. No DMA completion arrives, so num_errors is incremented and tegra_qspi_dma_unmap_xfer() runs with nothing mapped. t->tx_dma then holds either the DMA_MAPPING_ERROR sentinel or, if the RX mapping was the one that failed, the preceding chunk's address that has already been released. Behind an IOMMU the latter frees an IOVA that may since have been reallocated. Record whether a mapping is outstanding and the length that was mapped, and return early from tegra_qspi_dma_unmap_xfer() when there is nothing to release. is_dma_mapped is only updated under tqspi->lock, or on the timeout path after synchronize_irq() and cancel_work_sync() have quiesced the ISR and the bottom half. Also skip releasing the TX mapping on the RX failure path unless a TX mapping was created; t->tx_dma is uninitialised when t->tx_buf is NULL.

Details

CVE ID
CVE-2026-143095
Published / updated
03 Dec 2026, 10:17 UTC · last modified 03 Dec 2026, 10:17 UTC
Severity
Not yet scored by NVD
CVSS score
—
Affected vendor
Linux
Affected products
Linux
Affected versions
Linux: 921fc1838fb036f690b8ba52e6a6d3644b475cbb to before 2bc91a930076ba9b2f2382b785de309f39f854f6, 921fc1838fb036f690b8ba52e6a6d3644b475cbb to before 606e6c6c7ca324473dad56a9dbaa9326c3076214, 921fc1838fb036f690b8ba52e6a6d3644b475cbb to before 7b9e6f7bc13c0259b192d0a964e802d4ad53b8b8
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Linux 2bc91a930076ba9b2f2382b785de309f39f854f6, Linux 606e6c6c7ca324473dad56a9dbaa9326c3076214, Linux 7b9e6f7bc13c0259b192d0a964e802d4ad53b8b8
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.36% probability of exploitation in the next 30 days · 32% percentile (03 Dec 2026)
Weakness
—
Remediation
See the vendor advisory below.
Source (CNA)
416baaa9-dc9f-4396-8d5f-8c081fb06d67