{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "843b5d1602d6f2d0b0af2044f03c177b02332395"
            },
            {
              "fixed": "2129f6902e7ccdff086df5848328154bae1caf4b"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "c3708c829a0662af429897a90aed46b70f14a50b"
            },
            {
              "fixed": "ae7f8d1c3db54cc6ac60ea0effdf0cf226b019b8"
            },
            {
              "fixed": "077c2865c8382b21e43f76d6078371f80e3b08fa"
            },
            {
              "fixed": "30e229f0e12b91188966b7ffd1a20b9a182fca65"
            },
            {
              "fixed": "7f7a119a370ecf6c8d4ab9e9ee0a8cdd77afedd3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.6.70"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.10.0"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "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-138960.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7192: 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\nad7192_probe() immediately dereferences the returned chip information\nto initialize the IIO device, causing a NULL pointer dereference.\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 using the chip information.",
  "id": "CVE-2026-138960",
  "modified": "2026-12-01T20:45:58.485880763Z",
  "published": "2026-11-30T13:26:34.659Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/077c2865c8382b21e43f76d6078371f80e3b08fa"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2129f6902e7ccdff086df5848328154bae1caf4b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/30e229f0e12b91188966b7ffd1a20b9a182fca65"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7f7a119a370ecf6c8d4ab9e9ee0a8cdd77afedd3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ae7f8d1c3db54cc6ac60ea0effdf0cf226b019b8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138960.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138960"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "iio: adc: ad7192: reject devices without match data"
}