5.5medium
spi: tegra210-quad: Protect curr_xfer in tegra_qspi_combined_seq_xfer
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.10% (higher than 1% 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: Protect curr_xfer in tegra_qspi_combined_seq_xfer The curr_xfer field is read by the IRQ handler without holding the lock to check if a transfer is in progress. When clearing curr_xfer in the combined sequence transfer loop, protect it with the spinlock to prevent a race with the interrupt handler. Protect the curr_xfer clearing at the exit path of tegra_qspi_combined_seq_xfer() with the spinlock to prevent a race with the interrupt handler that reads this field. Without this protection, the IRQ handler could read a partially updated curr_xfer value, leading to NULL pointer dereference or use-after-free.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 88db8bb7ed1bb474618acdf05ebd4f0758d244e2 before 9fa4262a80f751d14a6a39d2c03f57db68da2618, from 83309dd551cfd60a5a1a98d9cab19f435b44d46d before 762e2ce71c8f0238e9eaf05d14da803d9a24422f, from c934e40246da2c5726d14e94719c514e30840df8 before 712cde8d916889e282727cdf304a43683adf899e, from 551060efb156c50fe33799038ba8145418cfdeef before 6fd446178a610a48e80e5c5b487b0707cd01daac, from 01bbf25c767219b14c3235bfa85906b8d2cb8fbc before 3bc293d5b56502068481478842f57b3d96e432c7, from b4e002d8a7cee3b1d70efad0e222567f92a73000 before bf4528ab28e2bf112c3a2cdef44fd13f007781cd, bb0c58be84f907285af45657c1d4847b960a12bf, from 6.17.13 before 6.18 and 5 more | CVE List |
| linux linux_kernel | from 5.15.198 before 5.15.200, from 6.1.160 before 6.1.163, from 6.6.120 before 6.6.124, from 6.12.63 before 6.12.70, from 6.17.13 before 6.18, from 6.18.2 before 6.18.10, 6.19 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: spi: tegra210-quad: Protect curr_xfer in tegra_qspi_combined_seq_xfer The curr_xfer field is read by the IRQ handler without holding the lock to check if a transfer is in progress. When clearing curr_xfer in the combined sequence transfer loop, protect it with the spinlock to prevent a race with the interrupt handler. Protect the curr_xfer clearing at the exit path of tegra_qspi_combined_seq_xfer() with the spinlock to prevent a race with the interrupt handler that reads this field. Without this protection, the IRQ handler could read a partially updated curr_xfer value, leading to NULL pointer dereference or use-after-free.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: spi: tegra210-quad: Proteger curr_xfer en tegra_qspi_combined_seq_xfer El campo curr_xfer es leído por el manejador IRQ sin mantener el bloqueo para verificar si una transferencia está en curso. Al limpiar curr_xfer en el bucle de transferencia de secuencia combinada, protegerlo con el spinlock para evitar una condición de carrera con el manejador de interrupciones. Proteger la limpieza de curr_xfer en la ruta de salida de tegra_qspi_combined_seq_xfer() con el spinlock para evitar una condición de carrera con el manejador de interrupciones que lee este campo. Sin esta protección, el manejador IRQ podría leer un valor curr_xfer parcialmente actualizado, lo que llevaría a una desreferencia de puntero NULL o uso después de liberación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23202 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-23202 changed 2026-10-19 | Public domain |