CVE-2026-138954
publishediio: adc: ti-ads1018: reject devices without match data
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxbf0bba486b5bd5e2d6100ed7dd1e38e0304ba40f to < a98835b8d3660a669f97d6ad17e2a2e44d1254be · bf0bba486b5bd5e2d6100ed7dd1e38e0304ba40f to < 156898c0f91aa731821d54fff910242f60b12e17 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.0 (affected) · 0 to < 7.0 (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-ads1018: 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. ads1018_spi_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 allocating the IIO device.
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 | bf0bba486b5bd5e2d6100ed7dd1e38e0304ba40f to < a98835b8d3660a669f97d6ad17e2a2e44d1254be (affected · git)bf0bba486b5bd5e2d6100ed7dd1e38e0304ba40f to < 156898c0f91aa731821d54fff910242f60b12e17 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.0 (affected)0 to < 7.0 (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-ads1018: reject devices without match data
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6e1dfb7f34e20620971b1d3f39635471b3d662565e65c8475f102d0009635c3b
- Ingested
- 30 Nov 2026, 13:36:39 UTC
- Source record
- Official CVE record