CVE-2026-138955

Source
https://cve.org/CVERecord?id=CVE-2026-138955
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138955.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138955
Downstream
Published
2026-11-30T13:26:31Z
Modified
2026-11-30T15:01:37Z
Summary
iio: adc: ti-adc128s052: validate SPI match data
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138955.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d5f0da0c6972199a39d692309d9e0e09c57a3844
Fixed
ea6a1bc959bdf75c2f01f9d32acfc024eec092ec
Fixed
458957dcb87f931a84ed56679c07f21e508c7b6e
Fixed
8953416b6218474aaaf61f2ff38b50ad32a7d64e
Fixed
5db6a2fda705dea0fa4ecac8bacfab5a53057ada
Fixed
4ac257f2fd2a9cac00e748486fa003b4e1cc453e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138955.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138955.json"