{"id":"CVE-2026-138952","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:17:56.537","lastModified":"2026-11-30T14:17:56.537","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ti-ads7950: validate SPI 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\nti_ads7950_probe() also obtains the IIO device name by dereferencing the\nresult of spi_get_device_id(), which is NULL on the same override path.\nThe probe can therefore crash before dereferencing the chip information.\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 and use the always available SPI\nmodalias for the IIO device name."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/iio/adc/ti-ads7950.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"ff0843ceb1fb11a6b73e0e77b932ef7967aecd4b","lessThan":"ca56df9fda43636854df6110ccb1aba1f6acb857","versionType":"git","status":"affected"},{"version":"ff0843ceb1fb11a6b73e0e77b932ef7967aecd4b","lessThan":"6bdeaf23ef8062f4c38c025c50e524f1e4d59647","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/iio/adc/ti-ads7950.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7.1","status":"affected"},{"version":"0","lessThan":"7.1","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/6bdeaf23ef8062f4c38c025c50e524f1e4d59647","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ca56df9fda43636854df6110ccb1aba1f6acb857","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}