{"id":"CVE-2026-138954","aliases":["CVE-2026-138954"],"related":[],"kind":"vulnerability","state":"published","title":"iio: adc: ti-ads1018: reject devices without match data","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:26:31.369Z","modified":"2026-11-30T14:17:56.760Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bf0bba486b5bd5e2d6100ed7dd1e38e0304ba40f","fixed":"a98835b8d3660a669f97d6ad17e2a2e44d1254be","status":"affected"},{"type":"git","introduced":"bf0bba486b5bd5e2d6100ed7dd1e38e0304ba40f","fixed":"156898c0f91aa731821d54fff910242f60b12e17","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/a98835b8d3660a669f97d6ad17e2a2e44d1254be","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/156898c0f91aa731821d54fff910242f60b12e17","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138954","url":"https://www.cve.org/CVERecord?id=CVE-2026-138954","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:31.369Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138954","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138954","licence":"Public domain","modified":"2026-11-30T14:17:56.760Z"}],"updatedAt":"2026-11-30T14:33:04.766Z","epss":{"score":0.0019,"percentile":0.09058,"date":"2026-12-01T12:00:22.000Z"}}