{"id":"CVE-2026-138954","summary":"iio: adc: ti-ads1018: reject devices without match data","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ti-ads1018: 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\nads1018_spi_probe() immediately dereferences the returned chip\ninformation to initialize the IIO device, 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 allocating the IIO device.","modified":"2026-12-01T21:02:35.514360892Z","published":"2026-11-30T13:26:31.369Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138954.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/156898c0f91aa731821d54fff910242f60b12e17"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a98835b8d3660a669f97d6ad17e2a2e44d1254be"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138954.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138954"},{"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":"bf0bba486b5bd5e2d6100ed7dd1e38e0304ba40f"},{"fixed":"a98835b8d3660a669f97d6ad17e2a2e44d1254be"},{"fixed":"156898c0f91aa731821d54fff910242f60b12e17"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138954.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-138954.json"}}],"schema_version":"1.9.2"}