CVE-2026-143095

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143096In the Linux kernel, the following vulnerability has been resolved: spi: axi-spi-engine: Start the program length at zero spi_engine_optimCVE-2026-143097In the Linux kernel, the following vulnerability has been resolved: tpm: flush timeout work outside buffer_mutex to avoid deadlock tpm_comCVE-2026-143098In the Linux kernel, the following vulnerability has been resolved: tpm: eventlog: check the payload size before reading tag events The EVCVE-2026-143099In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Fix TCP-with-TLS transport class identification xs_setup_tcp_tCVE-2026-14315.3The Booking Calendar plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the wpbc_ajax_WPCVE-2026-143105.4The Tutor LMS WordPress plugin before 4.0.0 does not properly verify that a user has access to the course a Q&A thread belongs to before reCVE-2026-143100In the Linux kernel, the following vulnerability has been resolved: software node: only let the owner release a managed node device_createCVE-2026-143101In the Linux kernel, the following vulnerability has been resolved: arm64: suspend: Save GCS state over suspend GCSCRE0_EL1 and GCSPR_EL0 CVE-2026-143102In the Linux kernel, the following vulnerability has been resolved: arm64: kexec_file: Do not use CMA for images with a non-zero text_offseCVE-2026-143103In the Linux kernel, the following vulnerability has been resolved: arm64: hugetlb: Prevent write fault livelocks on stale TLB entries In CVE-2026-143104In the Linux kernel, the following vulnerability has been resolved: arm64/gcs: Ignore attempts to change GCS mode during signal return If CVE-2026-143105In the Linux kernel, the following vulnerability has been resolved: fs: don't strand I_METADATA_WRITEBACK inodes outside the LRU Since com
CVE-2026-143095: Unscored | Vulnix