CVE-2026-138952
publishediio: adc: ti-ads7950: validate SPI match data
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxff0843ceb1fb11a6b73e0e77b932ef7967aecd4b to < ca56df9fda43636854df6110ccb1aba1f6acb857 · ff0843ceb1fb11a6b73e0e77b932ef7967aecd4b to < 6bdeaf23ef8062f4c38c025c50e524f1e4d59647 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads7950: validate SPI 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. ti_ads7950_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 dereferencing the chip information. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ff0843ceb1fb11a6b73e0e77b932ef7967aecd4b to < ca56df9fda43636854df6110ccb1aba1f6acb857 (affected · git)ff0843ceb1fb11a6b73e0e77b932ef7967aecd4b to < 6bdeaf23ef8062f4c38c025c50e524f1e4d59647 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
iio: adc: ti-ads7950: validate SPI match data
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0643583d1ff6d30ccd7840c0e5a20f23e9f6fb3b4c2ed112da7ec248f9ad31ef
- Ingested
- 30 Nov 2026, 13:36:39 UTC
- Source record
- Official CVE record