CVE-2025-68746
JSON

7.8high

spi: tegra210-quad: Fix timeout handling

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: spi: tegra210-quad: Fix timeout handling When the CPU that the QSPI interrupt handler runs on (typically CPU 0) is excessively busy, it can lead to rare cases of the IRQ thread not running before the transfer timeout is reached. While handling the timeouts, any pending transfers are cleaned up and the message that they correspond to is marked as failed, which leaves the curr_xfer field pointing at stale memory. To avoid this, clear curr_xfer to NULL upon timeout and check for this condition when the IRQ thread is finally run. While at it, also make sure to clear interrupts on failure so that new interrupts can be run. A better, more involved, fix would move the interrupt clearing into a hard IRQ handler. Ideally we would also want to signal that the IRQ thread no longer needs to be run after the timeout is hit to avoid the extra check for a valid transfer.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 921fc1838fb036f690b8ba52e6a6d3644b475cbb before 88db8bb7ed1bb474618acdf05ebd4f0758d244e2, from 921fc1838fb036f690b8ba52e6a6d3644b475cbb before 83309dd551cfd60a5a1a98d9cab19f435b44d46d, from 921fc1838fb036f690b8ba52e6a6d3644b475cbb before c934e40246da2c5726d14e94719c514e30840df8, from 921fc1838fb036f690b8ba52e6a6d3644b475cbb before 551060efb156c50fe33799038ba8145418cfdeef, from 921fc1838fb036f690b8ba52e6a6d3644b475cbb before bb0c58be84f907285af45657c1d4847b960a12bf, from 921fc1838fb036f690b8ba52e6a6d3644b475cbb before 01bbf25c767219b14c3235bfa85906b8d2cb8fbc, from 921fc1838fb036f690b8ba52e6a6d3644b475cbb before b4e002d8a7cee3b1d70efad0e222567f92a73000, 5.12
Not affected: before 5.12, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.63 up to 6.12.*, from 6.17.13 up to 6.17.*
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: spi: tegra210-quad: Fix timeout handling When the CPU that the QSPI interrupt handler runs on (typically CPU 0) is excessively busy, it can lead to rare cases of the IRQ thread not running before the transfer timeout is reached. While handling the timeouts, any pending transfers are cleaned up and the message that they correspond to is marked as failed, which leaves the curr_xfer field pointing at stale memory. To avoid this, clear curr_xfer to NULL upon timeout and check for this condition when the IRQ thread is finally run. While at it, also make sure to clear interrupts on failure so that new interrupts can be run. A better, more involved, fix would move the interrupt clearing into a hard IRQ handler. Ideally we would also want to signal that the IRQ thread no longer needs to be run after the timeout is hit to avoid the extra check for a valid transfer.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: spi: tegra210-quad: Corrección del manejo de tiempos de espera Cuando la CPU en la que se ejecuta el manejador de interrupciones QSPI (típicamente CPU 0) está excesivamente ocupada, puede dar lugar a casos raros en los que el hilo IRQ no se ejecute antes de que se alcance el tiempo de espera de la transferencia. Mientras se manejan los tiempos de espera, cualquier transferencia pendiente se limpia y el mensaje al que corresponden se marca como fallido, lo que deja el campo curr_xfer apuntando a memoria obsoleta. Para evitar esto, borre curr_xfer a NULL al expirar el tiempo de espera y verifique esta condición cuando el hilo IRQ finalmente se ejecute. Ya que estamos, asegúrese también de borrar las interrupciones en caso de fallo para que se puedan ejecutar nuevas interrupciones. Una solución mejor y más compleja movería la limpieza de interrupciones a un manejador de IRQ de hardware. Idealmente, también querríamos señalar que el hilo IRQ ya no necesita ejecutarse después de que se alcance el tiempo de espera para evitar la comprobación adicional de una transferencia válida.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68746 changed 2026-10-16CVE Terms of Use
NVDCVE-2025-68746 changed 2026-10-16Public domain