{"id":"CVE-2026-138958","summary":"iio: adc: ad7768-1: reject devices without match data","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.","modified":"2026-12-01T21:02:21.933980902Z","published":"2026-11-30T13:26:33.588Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138958.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fa087f5babbc24db76d5b24073216fa2d7d7b57d"},{"fixed":"38702d00195c5f2aedc474d06b5c5e4e2052198e"},{"fixed":"e29630bd463eb40e2e86fe45a565fb1d636ac822"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138958.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138958.json"}}],"schema_version":"1.9.2"}