{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fa087f5babbc24db76d5b24073216fa2d7d7b57d"
            },
            {
              "fixed": "38702d00195c5f2aedc474d06b5c5e4e2052198e"
            },
            {
              "fixed": "e29630bd463eb40e2e86fe45a565fb1d636ac822"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.0.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-138958.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7768-1: reject devices without match data\n\nSPI driver_override allows a device to bind to this driver without\nmatching either the OF or SPI device ID table. In that case,\nspi_get_device_match_data() returns NULL.\n\nad7768_probe() later dereferences the returned chip information to\ninitialize the IIO channels and device name, causing a NULL pointer\ndereference.\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 before continuing the probe.",
  "id": "CVE-2026-138958",
  "modified": "2026-12-01T20:45:55.865772672Z",
  "published": "2026-11-30T13:26:33.588Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/38702d00195c5f2aedc474d06b5c5e4e2052198e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e29630bd463eb40e2e86fe45a565fb1d636ac822"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138958.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138958"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "iio: adc: ad7768-1: reject devices without match data"
}