Skip to content
OpenAdvisories
Unscored CVE-2026-23207 EUVD-2026-5838GHSA-5xf5-gq7p-jfx7

spi: tegra210-quad: Protect curr_xfer check in IRQ handler

Published Feb 14, 2026 · Updated Nov 5, 2026 · Assigned by Linux

Vendor: Linux Product: Linux Package: kernel Package: linux Package: linux Package: linux-allwinner-5.19 Package: linux-aws Package: linux-aws-5.0 Package: linux-aws-5.11 Package: linux-aws-5.13 Package: linux-aws-5.19 Package: linux-aws-5.3 Package: linux-aws-5.8 Package: linux-aws-6.2 Package: linux-aws-6.5 Package: linux-aws-6.8 Package: linux-aws-fips Package: linux-azure Package: linux-azure-5.11 Package: linux-azure-5.13 Package: linux-azure-5.19 Package: linux-azure-5.3 Package: linux-azure-5.8 Package: linux-azure-6.11 Package: linux-azure-6.2 Package: linux-azure-6.5 Package: linux-azure-6.8 Package: linux-azure-edge Package: linux-azure-fde Package: linux-azure-fde-5.19 Package: linux-azure-fde-6.2 Package: linux-azure-fde-6.8 Package: linux-azure-fips Package: linux-bluefield Package: linux-fips Package: linux-gcp Package: linux-gcp-5.11 Package: linux-gcp-5.13 Package: linux-gcp-5.19 Package: linux-gcp-5.3 Package: linux-gcp-5.8 Package: linux-gcp-6.11 Package: linux-gcp-6.17 Package: linux-gcp-6.2 Package: linux-gcp-6.5 Package: linux-gcp-6.8 Package: linux-gcp-fips Package: linux-gke Package: linux-gke-4.15 Package: linux-gke-5.15 Package: linux-gke-5.4 Package: linux-gkeop Package: linux-gkeop-5.15 Package: linux-gkeop-5.4 Package: linux-hwe Package: linux-hwe-5.11 Package: linux-hwe-5.13 Package: linux-hwe-5.15 Package: linux-hwe-5.19 Package: linux-hwe-5.8 Package: linux-hwe-6.11 Package: linux-hwe-6.17 Package: linux-hwe-6.2 Package: linux-hwe-6.5 Package: linux-hwe-6.8 Package: linux-hwe-edge Package: linux-ibm Package: linux-ibm-6.8 Package: linux-intel-5.13 Package: linux-intel-iot-realtime Package: linux-intel-iotg Package: linux-lowlatency Package: linux-lowlatency-hwe-5.15 Package: linux-lowlatency-hwe-5.19 Package: linux-lowlatency-hwe-6.11 Package: linux-lowlatency-hwe-6.2 Package: linux-lowlatency-hwe-6.5 Package: linux-lowlatency-hwe-6.8 Package: linux-nvidia Package: linux-nvidia-6.11 Package: linux-nvidia-6.17 Package: linux-nvidia-6.2 Package: linux-nvidia-6.5 Package: linux-nvidia-6.8 Package: linux-nvidia-lowlatency Package: linux-nvidia-tegra Package: linux-oem Package: linux-oem-5.10 Package: linux-oem-5.13 Package: linux-oem-5.14 Package: linux-oem-5.17 Package: linux-oem-5.6 Package: linux-oem-6.0 Package: linux-oem-6.1 Package: linux-oem-6.11 Package: linux-oem-6.5 Package: linux-oem-6.8 Package: linux-oracle Package: linux-oracle-5.0 Package: linux-oracle-5.11 Package: linux-oracle-5.13 Package: linux-oracle-5.3 Package: linux-oracle-5.8 Package: linux-oracle-6.14 Package: linux-oracle-6.5 Package: linux-oracle-6.8 Package: linux-raspi Package: linux-raspi-realtime Package: linux-raspi2 Package: linux-realtime Package: linux-realtime-6.14 Package: linux-realtime-6.8 Package: linux-riscv Package: linux-riscv-5.11 Package: linux-riscv-5.19 Package: linux-riscv-5.8 Package: linux-riscv-6.14 Package: linux-riscv-6.17 Package: linux-riscv-6.5 Package: linux-riscv-6.8 Package: linux-starfive-5.19 Package: linux-starfive-6.2 Package: linux-starfive-6.5 Package: linux-vmware Package: linux-xilinx Platform: Linux Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

Description

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

spi: tegra210-quad: Protect curr_xfer check in IRQ handler

Now that all other accesses to curr_xfer are done under the lock,
protect the curr_xfer NULL check in tegra_qspi_isr_thread() with the
spinlock. Without this protection, the following race can occur:

CPU0 (ISR thread) CPU1 (timeout path)
---------------- -------------------
if (!tqspi->curr_xfer)
// sees non-NULL
spin_lock()
tqspi->curr_xfer = NULL
spin_unlock()
handle_*_xfer()
spin_lock()
t = tqspi->curr_xfer // NULL!
... t->len ... // NULL dereference!

With this patch, all curr_xfer accesses are now properly synchronized.

Although all accesses to curr_xfer are done under the lock, in
tegra_qspi_isr_thread() it checks for NULL, releases the lock and
reacquires it later in handle_cpu_based_xfer()/handle_dma_based_xfer().
There is a potential for an update in between, which could cause a NULL
pointer dereference.

To handle this, add a NULL check inside the handlers after acquiring
the lock. This ensures that if the timeout path has already cleared
curr_xfer, the handler will safely return without dereferencing the
NULL pointer.

Affected products

VendorProductAffectedFixed
Linux Linux 5.15.198 – < 5.16, 6.17.13 – < 6.18, 6.1.160 – < 6.1.191, 6.6.120 – < 6.6.160, 6.12.63 – < 6.12.80, 6.18.2 – < 6.18.10 5.16

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 6.18.10-1 —
Debian 13 linux 6.12.85-1 —
Debian 12 linux No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Nvidia-BlueField 24.04 LTS linux-bluefield 6.8.0-1028.33 —
Ubuntu 25.10 linux +3 No fix yet —
Ubuntu 24.04 LTS linux 6.8.0-136.136 USN-8567-1
Ubuntu 24.04 LTS linux-aws 6.8.0-1061.64 USN-8595-2
Ubuntu 24.04 LTS linux-azure 6.8.0-1063.71 USN-8606-1
Ubuntu 24.04 LTS linux-azure-fde 6.8.0-1062.69 —
Ubuntu 24.04 LTS linux-gcp 6.8.0-1064.72 USN-8567-1
Ubuntu 24.04 LTS linux-gke 6.8.0-1059.67 USN-8567-1
Ubuntu 24.04 LTS linux-gkeop 6.8.0-1046.50 USN-8567-1
Ubuntu 24.04 LTS linux-ibm 6.8.0-1061.62 USN-8574-3
Ubuntu 24.04 LTS linux-lowlatency 6.8.0-136.136.2 USN-8574-2
Ubuntu 24.04 LTS linux-nvidia 6.8.0-1049.52 USN-8100-1
Ubuntu 24.04 LTS linux-nvidia-6.17 6.17.0-1014.14 —
Ubuntu 24.04 LTS linux-nvidia-lowlatency 6.8.0-1049.52.1 USN-8100-1
Ubuntu 24.04 LTS linux-nvidia-tegra 6.8.0-1030.31 USN-8574-3
Ubuntu 24.04 LTS linux-oracle 6.8.0-1058.61 USN-8574-2
Ubuntu 24.04 LTS linux-raspi 6.8.0-1061.65 USN-8665-1
Ubuntu 24.04 LTS linux-riscv +14 No fix yet —
Ubuntu 24.04 LTS linux-vmware 6.8.0-1008.8 —
Ubuntu 24.04 LTS linux-xilinx 6.8.0-1033.34 USN-8574-3
Ubuntu 22.04 LTS linux +39 No fix yet —
Ubuntu 22.04 LTS linux-aws-6.8 6.8.0-1061.64~22.04.1 USN-8595-3
Ubuntu 22.04 LTS linux-azure 5.15.0-1109.118 USN-8163-2
Ubuntu 22.04 LTS linux-azure-6.8 6.8.0-1063.71~22.04.1 USN-8606-1
Ubuntu 22.04 LTS linux-azure-fde 5.15.0-1109.118.1 —
Ubuntu 22.04 LTS linux-azure-fde-6.8 6.8.0-1062.69~22.04.1 —
Ubuntu 22.04 LTS linux-gcp-6.8 6.8.0-1064.72~22.04.1 USN-8567-1
Ubuntu 22.04 LTS linux-hwe-6.8 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu 22.04 LTS linux-ibm-6.8 6.8.0-1061.62~22.04.1 USN-8574-3
Ubuntu 22.04 LTS linux-lowlatency-hwe-6.8 6.8.0-136.136.2~22.04.1 USN-8574-2
Ubuntu 22.04 LTS linux-nvidia-6.8 6.8.0-1049.52~22.04.1 USN-8100-1
Ubuntu 22.04 LTS linux-oracle-6.8 6.8.0-1058.61~22.04.1 USN-8595-1
Ubuntu 22.04 LTS linux-riscv-6.8 6.8.0-136.136~22.04.3 —
Ubuntu 20.04 LTS linux-gke +28 No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS linux-gcp +14 No fix yet —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Ubuntu Pro Realtime 24.04 LTS linux-raspi-realtime 6.8.0-2050.52 USN-8665-1
Ubuntu Pro Realtime 24.04 LTS linux-realtime 6.8.1-1056.57 USN-8567-1
Ubuntu Pro Realtime 24.04 LTS linux-realtime-6.14 No fix yet —
Ubuntu Pro Realtime 22.04 LTS linux-realtime-6.8 6.8.1-1056.57~22.04.2 USN-8567-1
Ubuntu Pro FIPS-updates 24.04 LTS linux-aws-fips 6.8.0-1061.64+fips1 USN-8595-3
Ubuntu Pro FIPS-updates 24.04 LTS linux-azure-fips 6.8.0-1063.71+fips2 USN-8608-1
Ubuntu Pro FIPS-updates 24.04 LTS linux-fips 6.8.0-136.136+fips2 USN-8574-2
Ubuntu Pro FIPS-updates 24.04 LTS linux-gcp-fips 6.8.0-1064.72+fips1 USN-8574-1
Ubuntu Pro FIPS-updates 22.04 LTS linux-azure-fips 5.15.0-1109.118+fips1 USN-8163-1
Ubuntu Pro 20.04 LTS linux-hwe-5.15 +1 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 kernel-64kb +7 6.4.0-150700.53.34.1 SUSE-SU-2026:1081-1
SLES 15 SP7 kernel-default-base 6.4.0-150700.53.34.1.150700.17.23.1 SUSE-SU-2026:1081-1
SLES 15 SP6 kernel-64kb +6 6.4.0-150600.23.92.1 SUSE-SU-2026:1041-1
SLES 15 SP6 kernel-default-base 6.4.0-150600.23.92.1.150600.12.42.2 SUSE-SU-2026:1041-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 kernel-64kb +8 6.12.0-160000.27.1 SUSE-SU-2026:20931-1
SLES for SAP 16.0 kernel-default-base 6.12.0-160000.27.1.160000.2.8 SUSE-SU-2026:20931-1
SLES for SAP 15 SP6 kernel-default-base 6.4.0-150600.23.92.1.150600.12.42.2 SUSE-SU-2026:1041-1
SLES for SAP 15 SP6 kernel-docs +4 6.4.0-150600.23.92.1 SUSE-SU-2026:1041-1
SLES 16.0 kernel-64kb +8 6.12.0-160000.27.1 SUSE-SU-2026:20931-1
SLES 16.0 kernel-default-base 6.12.0-160000.27.1.160000.2.8 SUSE-SU-2026:20931-1
SLE Micro 6.2 kernel-default-base 6.12.0-160000.27.1.160000.2.8 SUSE-SU-2026:20838-1
SLE Micro 6.2 kernel-rt +5 6.12.0-160000.27.1 SUSE-SU-2026:20873-1, SUSE-SU-2026:20838-1
SLE Micro 6.1 kernel-default-base 6.4.0-40.1.21.17 SUSE-SU-2026:21114-1, SUSE-SU-2026:20667-1
SLE Micro 6.1 kernel-rt +4 6.4.0-40.1 SUSE-SU-2026:21255-1, SUSE-SU-2026:21114-1, SUSE-SU-2026:20876-1
SLE Micro 6.0 kernel-default-base 6.4.0-40.1.21.17 SUSE-SU-2026:21123-1, SUSE-SU-2026:20720-1
SLE Micro 6.0 kernel-rt +4 6.4.0-40.1 SUSE-SU-2026:21123-1, SUSE-SU-2026:20845-1, SUSE-SU-2026:20720-1
SLE Live Patching 15 SP7 kernel-default 6.4.0-150700.53.34.1 SUSE-SU-2026:1081-1
SLE Live Patching 15 SP7 kernel-livepatch-SLE15-SP7-RT_Update_10 1-150700.1.3.1 SUSE-SU-2026:0962-1
SLE Live Patching 15 SP7 kernel-livepatch-SLE15-SP7_Update_10 1-150700.15.3.1 SUSE-SU-2026:1081-1
SLE Live Patching 15 SP6 kernel-default 6.4.0-150600.23.92.1 SUSE-SU-2026:1041-1
SLE Live Patching 15 SP6 kernel-livepatch-SLE15-SP6_Update_21 1-150600.13.5.1 SUSE-SU-2026:1041-1
SUSE Real Time Module 15 SP7 kernel-rt +2 6.4.0-150700.7.34.1 SUSE-SU-2026:0962-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 kernel-default-base 6.12.0-160000.27.1.160000.2.8 openSUSE-SU-2026:20416-1
openSUSE Leap 16.0 kernel-rt +11 6.12.0-160000.27.1 openSUSE-SU-2026:20416-1
openSUSE Leap 15.6 dtb-aarch64 +10 6.4.0-150600.23.92.1 SUSE-SU-2026:1041-1
openSUSE Leap 15.6 kernel-default-base 6.4.0-150600.23.92.1.150600.12.42.2 SUSE-SU-2026:1041-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 kernel-livepatch-6.12.80-105.147 1:1.0-0.amzn2023 ALAS2023-2026-1646
Amazon Linux 2023 perf6.12 +14 1:6.12.80-105.147.amzn2023 ALAS2023-2026-1646

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 kernel No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 kernel-uek +34 6.12.0-204.92.4.2.el10uek ELSA-2026-50372

Advisories 31

References