2026-02-14 16:27CVE-2026-23202Linux
PUBLISHED5.2

spi: tegra210-quad: Protect curr_xfer in tegra_qspi_combined_seq_xfer

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 products

Linux

Linux

< 9fa4262a80f751d14a6a39d2c03f57db68da2618 - AFFECTED

< 762e2ce71c8f0238e9eaf05d14da803d9a24422f - AFFECTED

< 712cde8d916889e282727cdf304a43683adf899e - AFFECTED

< 6fd446178a610a48e80e5c5b487b0707cd01daac - AFFECTED

< 3bc293d5b56502068481478842f57b3d96e432c7 - AFFECTED

< bf4528ab28e2bf112c3a2cdef44fd13f007781cd - AFFECTED

bb0c58be84f907285af45657c1d4847b960a12bf - AFFECTED

Linux

< 5.15.200 - AFFECTED

< 6.1.163 - AFFECTED

< 6.6.124 - AFFECTED

< 6.12.70 - AFFECTED

< 6.18.10 - AFFECTED

References

GitHub Security Advisories

GHSA-g2fg-h3fh-wpj6

In the Linux kernel, the following vulnerability has been resolved: spi: tegra210-quad: Protect...

https://github.com/advisories/GHSA-g2fg-h3fh-wpj6

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.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-23202
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-23202",
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "dateUpdated": "2026-02-14T16:27:26.365Z",
    "dateReserved": "2026-01-13T15:37:45.986Z",
    "datePublished": "2026-02-14T16:27:26.365Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux",
        "dateUpdated": "2026-02-14T16:27:26.365Z"
      },
      "title": "spi: tegra210-quad: Protect curr_xfer in tegra_qspi_combined_seq_xfer",
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: tegra210-quad: Protect curr_xfer in tegra_qspi_combined_seq_xfer\n\nThe curr_xfer field is read by the IRQ handler without holding the lock\nto check if a transfer is in progress. When clearing curr_xfer in the\ncombined sequence transfer loop, protect it with the spinlock to prevent\na race with the interrupt handler.\n\nProtect the curr_xfer clearing at the exit path of\ntegra_qspi_combined_seq_xfer() with the spinlock to prevent a race\nwith the interrupt handler that reads this field.\n\nWithout this protection, the IRQ handler could read a partially updated\ncurr_xfer value, leading to NULL pointer dereference or use-after-free."
        }
      ],
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "programFiles": [
            "drivers/spi/spi-tegra210-quad.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "88db8bb7ed1bb474618acdf05ebd4f0758d244e2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9fa4262a80f751d14a6a39d2c03f57db68da2618"
            },
            {
              "version": "83309dd551cfd60a5a1a98d9cab19f435b44d46d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "762e2ce71c8f0238e9eaf05d14da803d9a24422f"
            },
            {
              "version": "c934e40246da2c5726d14e94719c514e30840df8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "712cde8d916889e282727cdf304a43683adf899e"
            },
            {
              "version": "551060efb156c50fe33799038ba8145418cfdeef",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6fd446178a610a48e80e5c5b487b0707cd01daac"
            },
            {
              "version": "01bbf25c767219b14c3235bfa85906b8d2cb8fbc",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3bc293d5b56502068481478842f57b3d96e432c7"
            },
            {
              "version": "b4e002d8a7cee3b1d70efad0e222567f92a73000",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bf4528ab28e2bf112c3a2cdef44fd13f007781cd"
            },
            {
              "version": "bb0c58be84f907285af45657c1d4847b960a12bf",
              "status": "affected",
              "versionType": "git"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "programFiles": [
            "drivers/spi/spi-tegra210-quad.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "5.15.198",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.15.200"
            },
            {
              "version": "6.1.160",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.1.163"
            },
            {
              "version": "6.6.120",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.6.124"
            },
            {
              "version": "6.12.63",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.12.70"
            },
            {
              "version": "6.18.2",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.18.10"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9fa4262a80f751d14a6a39d2c03f57db68da2618"
        },
        {
          "url": "https://git.kernel.org/stable/c/762e2ce71c8f0238e9eaf05d14da803d9a24422f"
        },
        {
          "url": "https://git.kernel.org/stable/c/712cde8d916889e282727cdf304a43683adf899e"
        },
        {
          "url": "https://git.kernel.org/stable/c/6fd446178a610a48e80e5c5b487b0707cd01daac"
        },
        {
          "url": "https://git.kernel.org/stable/c/3bc293d5b56502068481478842f57b3d96e432c7"
        },
        {
          "url": "https://git.kernel.org/stable/c/bf4528ab28e2bf112c3a2cdef44fd13f007781cd"
        }
      ]
    }
  }
}