{"id":"CVE-2026-138958","aliases":["CVE-2026-138958"],"related":[],"kind":"vulnerability","state":"published","title":"iio: adc: ad7768-1: reject devices without match data","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:26:33.588Z","modified":"2026-11-30T14:17:57.220Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fa087f5babbc24db76d5b24073216fa2d7d7b57d","fixed":"38702d00195c5f2aedc474d06b5c5e4e2052198e","status":"affected"},{"type":"git","introduced":"fa087f5babbc24db76d5b24073216fa2d7d7b57d","fixed":"e29630bd463eb40e2e86fe45a565fb1d636ac822","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/38702d00195c5f2aedc474d06b5c5e4e2052198e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e29630bd463eb40e2e86fe45a565fb1d636ac822","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138958","url":"https://www.cve.org/CVERecord?id=CVE-2026-138958","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:33.588Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138958","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138958","licence":"Public domain","modified":"2026-11-30T14:17:57.220Z"}],"updatedAt":"2026-11-30T14:32:46.737Z","epss":{"score":0.0019,"percentile":0.09057,"date":"2026-12-01T12:00:22.000Z"}}