{"id":"CVE-2026-138959","summary":"iio: adc: ad7606: reject devices without match data","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7606: 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\nad7606_spi_probe() dereferences the returned bus information to pass\nthe chip information and bus operations to the core, causing a NULL\npointer 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 entering the core.","modified":"2026-11-30T15:01:37.589234460Z","published":"2026-11-30T13:26:34.130Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138959.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7830650d5293a0f412a869225262ca51b661e49f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/864f9a04801aa997ca170384f8ef9690128a665a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f4ca846273cfe403f2907215e85c4db21b00ffbd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138959.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138959"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bc69e9fffde41cbb865c4f22aef9aee58f82d61a"},{"fixed":"f4ca846273cfe403f2907215e85c4db21b00ffbd"},{"fixed":"864f9a04801aa997ca170384f8ef9690128a665a"},{"fixed":"7830650d5293a0f412a869225262ca51b661e49f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138959.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138959.json"}}],"schema_version":"1.9.2"}