CVE-2026-138960
JSON

Not scored

iio: adc: ad7192: reject devices without match data

Severity
Not scored
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7192: reject devices without match data SPI driver_override allows a device to bind to this driver without matching either the OF or SPI device ID table. In that case, spi_get_device_match_data() returns NULL. ad7192_probe() immediately dereferences the returned chip information to initialize the IIO device, causing a NULL pointer dereference. Commit 572a00852635 ("iio: dac: ad5686: missing NULL check on match data") fixed the same driver_override issue in another SPI driver. Reject devices without match data before using the chip information.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 843b5d1602d6f2d0b0af2044f03c177b02332395 before 2129f6902e7ccdff086df5848328154bae1caf4b, from c3708c829a0662af429897a90aed46b70f14a50b before ae7f8d1c3db54cc6ac60ea0effdf0cf226b019b8, from c3708c829a0662af429897a90aed46b70f14a50b before 077c2865c8382b21e43f76d6078371f80e3b08fa, from c3708c829a0662af429897a90aed46b70f14a50b before 30e229f0e12b91188966b7ffd1a20b9a182fca65, from c3708c829a0662af429897a90aed46b70f14a50b before 7f7a119a370ecf6c8d4ab9e9ee0a8cdd77afedd3, from 6.6.70 before 6.6.163, 6.10
Not affected: before 6.10, from 6.6.163 up to 6.6.*, from 6.12.118 up to 6.12.*, from 6.18.64 up to 6.18.*, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-138960 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-138960 changed 2026-11-30Public domain