{"id":"CVE-2026-138960","aliases":["CVE-2026-138960"],"related":[],"kind":"vulnerability","state":"published","title":"iio: adc: ad7192: reject devices without match data","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7192: 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\nad7192_probe() immediately dereferences the returned chip information\nto initialize the IIO device, causing a NULL pointer 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 using the chip information.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7192: 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\nad7192_probe() immediately dereferences the returned chip information\nto initialize the IIO device, causing a NULL pointer 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 using the chip information.","source":"cvelist"}],"published":"2026-11-30T13:26:34.659Z","modified":"2026-11-30T14:17:57.440Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"843b5d1602d6f2d0b0af2044f03c177b02332395","fixed":"2129f6902e7ccdff086df5848328154bae1caf4b","status":"affected"},{"type":"git","introduced":"c3708c829a0662af429897a90aed46b70f14a50b","fixed":"ae7f8d1c3db54cc6ac60ea0effdf0cf226b019b8","status":"affected"},{"type":"git","introduced":"c3708c829a0662af429897a90aed46b70f14a50b","fixed":"077c2865c8382b21e43f76d6078371f80e3b08fa","status":"affected"},{"type":"git","introduced":"c3708c829a0662af429897a90aed46b70f14a50b","fixed":"30e229f0e12b91188966b7ffd1a20b9a182fca65","status":"affected"},{"type":"git","introduced":"c3708c829a0662af429897a90aed46b70f14a50b","fixed":"7f7a119a370ecf6c8d4ab9e9ee0a8cdd77afedd3","status":"affected"},{"type":"semver","introduced":"6.6.70","fixed":"6.6.163","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","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/2129f6902e7ccdff086df5848328154bae1caf4b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae7f8d1c3db54cc6ac60ea0effdf0cf226b019b8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/077c2865c8382b21e43f76d6078371f80e3b08fa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/30e229f0e12b91188966b7ffd1a20b9a182fca65","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f7a119a370ecf6c8d4ab9e9ee0a8cdd77afedd3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138960","url":"https://www.cve.org/CVERecord?id=CVE-2026-138960","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:34.659Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138960","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138960","licence":"Public domain","modified":"2026-11-30T14:17:57.440Z"}],"updatedAt":"2026-11-30T14:32:31.465Z","epss":{"score":0.00201,"percentile":0.10475,"date":"2026-12-01T12:00:22.000Z"}}