{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "df36de13677a0ebd3ab31dd2c603f9eafdf8de7d"
            },
            {
              "fixed": "de16c360141a8d2b7e1fd28e0902954ccfdb6d05"
            },
            {
              "fixed": "f5977b1359625cdc6dd9130243af2019ca630992"
            },
            {
              "fixed": "e5f828765e23541a120450ed7ac757292029f444"
            },
            {
              "fixed": "9f6d174e9fa5b265e7a0a6caa0c5b579bf899702"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.12.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-138949.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: accel: adxl380: 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\nadxl380_spi_probe() passes the result to adxl380_probe(), which\ndereferences chip_info to set the IIO device name and operations,\ncausing 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 in the SPI frontend.",
  "id": "CVE-2026-138949",
  "modified": "2026-12-01T20:45:18.735995950Z",
  "published": "2026-11-30T13:26:28.701Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9f6d174e9fa5b265e7a0a6caa0c5b579bf899702"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/de16c360141a8d2b7e1fd28e0902954ccfdb6d05"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e5f828765e23541a120450ed7ac757292029f444"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f5977b1359625cdc6dd9130243af2019ca630992"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138949.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138949"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "iio: accel: adxl380: reject devices without match data"
}