CVE-2026-143094: spi: tegra210-quad: Unmap DMA buffers on transfer timeout

Published Dec 3, 2026
·
Updated

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

spi: tegra210-quad: Unmap DMA buffers on transfer timeout

tegraqspistartdmabasedtransfer() maps the client TX/RX buffers with dmamapsingle() via tegraqspidmamapxfer(). The matching unmap only happens in handledmabasedxfer(), which runs from the interrupt bottom half.

When waitforcompletiontimeout() expires and tegraqspihandletimeout() cannot establish that the hardware finished, it returns an error without the bottom half ever having run. Both transfer paths then abort the transfer with tegraqspidmastop(), reset the controller and clear currxfer, but never unmap the buffers. Every genuine transfer timeout therefore leaks the streaming DMA mappings for that chunk, which gradually exhausts the IOVA space on systems with an IOMMU in front of QSPI.

Unmap the transfer after stopping DMA on both timeout error paths. The unmap is placed after tegraqspidmastop() so the DMA engine is quiesced before the mappings go away.

The recovery paths that do reach handledmabasedxfer() unmap there themselves. The preceding patch makes tegraqspidmaunmapxfer() a no-op once the mapping is released, so this cleanup cannot unmap twice or run against a chunk that was never mapped.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In both transfer-timeout error paths, stop DMA before unmapping the transfer buffers.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description

Frequently Asked Questions

1

Which systems are most exposed to this issue?

Systems using the Tegra210 QSPI controller with an IOMMU in front of QSPI are most exposed, because unreleased streaming DMA mappings can gradually exhaust IOVA space.

2

What must occur for the resource leak to happen?

A genuine DMA-based transfer timeout must occur where the timeout handler cannot determine that the hardware completed the transfer. In that path, DMA is stopped and the controller is reset, but the mapped TX/RX buffers were previously left mapped.

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