AZL-118100: CVE-2026-143095 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

spi: tegra210-quad: Track DMA mapping state

tegraqspidmaunmapxfer() assumes a streaming mapping is always outstanding and recomputes its length from the live tqspi->currdmawords. Nothing records whether tegraqspidmamapxfer() mapped anything, so neither assumption holds.

For a multi-chunk transfer, handledmabasedxfer() unmaps the chunk that just completed, recalculates the parameters for the next chunk, which overwrites currdmawords, and re-arms the hardware. If tegraqspistartdmabasedtransfer() then fails at its tegraqspidmamapxfer() call, nothing is mapped. That early return also sits above the smpstorerelease() that clears tqspi->transstatus, so the previous chunk's QSPIRDY survives, and the re-arm's return value is never checked, so handledmabasedxfer() returns IRQHANDLED without completing the transfer.

The caller times out, tegraqspihandletimeout() sees the stale QSPIRDY, concludes the transfer completed and calls handledmabasedxfer() again. No DMA completion arrives, so numerrors is incremented and tegraqspidmaunmapxfer() runs with nothing mapped. t->txdma then holds either the DMAMAPPINGERROR 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 tegraqspidmaunmapxfer() when there is nothing to release. isdmamapped is only updated under tqspi->lock, or on the timeout path after synchronizeirq() and cancelworksync() 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->txdma is uninitialised when t->txbuf is NULL.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Dec 3, 2026
Advisory Published
via OSV·10:17 AM
Data Sourced
via OSV·10:17 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What transfer pattern is implicated by the failure path?

The described path involves a multi-chunk DMA transfer on the Tegra210 QSPI driver. After one chunk completes, the driver recalculates state for the next chunk; if DMA mapping for that next chunk fails, the later timeout handling can operate on stale readiness state.

2

What happens after the DMA mapping failure?

The transfer may not be completed because the re-arm return value is not checked and the previous chunk's QSPI_RDY state can remain set. Timeout handling can then treat the transfer as complete and invoke DMA unmapping even though no mapping is outstanding.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203