iio: adc: ad7192: reject devices without match data

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux843b5d1602d6f2d0b0af2044f03c177b02332395 to before 2129f6902e7ccdff086df5848328154bae1caf4b Affectedc3708c829a0662af429897a90aed46b70f14a50b to before ae7f8d1c3db54cc6ac60ea0effdf0cf226b019b8 Affectedc3708c829a0662af429897a90aed46b70f14a50b to before 077c2865c8382b21e43f76d6078371f80e3b08fa Affectedc3708c829a0662af429897a90aed46b70f14a50b to before 30e229f0e12b91188966b7ffd1a20b9a182fca65 Affectedc3708c829a0662af429897a90aed46b70f14a50b to before 7f7a119a370ecf6c8d4ab9e9ee0a8cdd77afedd3 Affected6.6.70 to before 6.6.163 Affected
Linux Linux6.10 Affectedbefore 6.10 Not Affected6.6.163 through 6.6.* Not Affected6.12.118 through 6.12.* Not Affected6.18.64 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.