iio: adc: ti-adc128s052: validate SPI match data
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
iio: adc: ti-adc128s052: validate SPI match data
SPI driver_override allows a device to bind to this driver without matching either the firmware tables or SPI device ID table. In that case, spi_get_device_match_data() returns NULL.
adc128_probe() also obtains the IIO device name by dereferencing the result of spi_get_device_id(), which is NULL on the same override path. The probe can therefore crash before it reaches the match data access.
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 and use the always available SPI modalias for the IIO device name.
| Product | Versions |
|---|---|
| Linux Linux | d5f0da0c6972199a39d692309d9e0e09c57a3844 to before ea6a1bc959bdf75c2f01f9d32acfc024eec092ec Affectedd5f0da0c6972199a39d692309d9e0e09c57a3844 to before 458957dcb87f931a84ed56679c07f21e508c7b6e Affectedd5f0da0c6972199a39d692309d9e0e09c57a3844 to before 8953416b6218474aaaf61f2ff38b50ad32a7d64e Affectedd5f0da0c6972199a39d692309d9e0e09c57a3844 to before 5db6a2fda705dea0fa4ecac8bacfab5a53057ada Affectedd5f0da0c6972199a39d692309d9e0e09c57a3844 to before 4ac257f2fd2a9cac00e748486fa003b4e1cc453e Affected |
| Linux Linux | 6.3 Affectedbefore 6.3 Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/ea6a1bc959bdf75c2f01f9d32acfc024eec092ec
- https://git.kernel.org/stable/c/458957dcb87f931a84ed56679c07f21e508c7b6e
- https://git.kernel.org/stable/c/8953416b6218474aaaf61f2ff38b50ad32a7d64e
- https://git.kernel.org/stable/c/5db6a2fda705dea0fa4ecac8bacfab5a53057ada
- https://git.kernel.org/stable/c/4ac257f2fd2a9cac00e748486fa003b4e1cc453e
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.