iio: adc: ad7192: reject devices without match data (Linux Linux)

CVE-2026-138960
Not available

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 843b5d1602d6f2d0b0af2044f03c177b02332395 < 2129f6902e7ccdff086df5848328154bae1caf4b
affected : ≥ c3708c829a0662af429897a90aed46b70f14a50b < ae7f8d1c3db54cc6ac60ea0effdf0cf226b019b8
affected : ≥ c3708c829a0662af429897a90aed46b70f14a50b < 077c2865c8382b21e43f76d6078371f80e3b08fa
affected : ≥ c3708c829a0662af429897a90aed46b70f14a50b < 30e229f0e12b91188966b7ffd1a20b9a182fca65
affected : ≥ c3708c829a0662af429897a90aed46b70f14a50b < 7f7a119a370ecf6c8d4ab9e9ee0a8cdd77afedd3
affected : ≥ 6.6.70 < 6.6.163
Other versions : unaffected
Linux · Linux
affected : 6.10
unaffected : ≥ 0 < 6.10
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.64 ≤ 6.18.*
unaffected : ≥ 7.3.4 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD