CVE-2026-138958
publishediio: adc: ad7768-1: reject devices without match data
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxfa087f5babbc24db76d5b24073216fa2d7d7b57d to < 38702d00195c5f2aedc474d06b5c5e4e2052198e · fa087f5babbc24db76d5b24073216fa2d7d7b57d to < e29630bd463eb40e2e86fe45a565fb1d636ac822 · 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: ad7768-1: 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. ad7768_probe() later dereferences the returned chip information to initialize the IIO channels and device name, 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 continuing the probe.
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 | fa087f5babbc24db76d5b24073216fa2d7d7b57d to < 38702d00195c5f2aedc474d06b5c5e4e2052198e (affected · git)fa087f5babbc24db76d5b24073216fa2d7d7b57d to < e29630bd463eb40e2e86fe45a565fb1d636ac822 (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: ad7768-1: reject devices without match data
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7191e5728b66d2e9af1cbe377c13f33b94edd00abd03ad87a9966fa36d0e9ec9
- Ingested
- 30 Nov 2026, 13:36:39 UTC
- Source record
- Official CVE record