{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "d5f0da0c6972199a39d692309d9e0e09c57a3844"
            },
            {
              "fixed": "ea6a1bc959bdf75c2f01f9d32acfc024eec092ec"
            },
            {
              "fixed": "458957dcb87f931a84ed56679c07f21e508c7b6e"
            },
            {
              "fixed": "8953416b6218474aaaf61f2ff38b50ad32a7d64e"
            },
            {
              "fixed": "5db6a2fda705dea0fa4ecac8bacfab5a53057ada"
            },
            {
              "fixed": "4ac257f2fd2a9cac00e748486fa003b4e1cc453e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.3.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138955.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ti-adc128s052: validate SPI match data\n\nSPI driver_override allows a device to bind to this driver without\nmatching either the firmware tables or SPI device ID table. In that\ncase, spi_get_device_match_data() returns NULL.\n\nadc128_probe() also obtains the IIO device name by dereferencing the\nresult of spi_get_device_id(), which is NULL on the same override path.\nThe probe can therefore crash before it reaches the match data access.\n\nCommit 572a00852635 (\"iio: dac: ad5686: missing NULL check on match\ndata\") fixed the same driver_override issue in another SPI driver.\nReject devices without match data and use the always available SPI\nmodalias for the IIO device name.",
  "id": "CVE-2026-138955",
  "modified": "2026-11-30T14:45:15.976245404Z",
  "published": "2026-11-30T13:26:31.924Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/458957dcb87f931a84ed56679c07f21e508c7b6e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4ac257f2fd2a9cac00e748486fa003b4e1cc453e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5db6a2fda705dea0fa4ecac8bacfab5a53057ada"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8953416b6218474aaaf61f2ff38b50ad32a7d64e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ea6a1bc959bdf75c2f01f9d32acfc024eec092ec"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138955.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138955"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "iio: adc: ti-adc128s052: validate SPI match data"
}