CVE-2026-138955

iio: adc: ti-adc128s052: validate SPI match data

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability stems from the kernel’s SPI driver_override feature, allowing a device to bind to the ti-adc128s052 ADC driver without any firmware table or SPI device ID match. When the driver is bound in this manner, the match data provider returns NULL. The probe routine then dereferences this NULL value when accessing the device name, causing a kernel crash before any functional code executes. This results in a denial of service whereby an attacker can disrupt the system by triggering a panic.

Affected Systems

The affected product is the Linux kernel, specifically any release that lacks the patch that rejects driver_override bindings lacking valid match data. No explicit version range is provided, so all kernels prior to the fix are potentially vulnerable.

Risk and Exploitability

Exploitation requires the ability to set or alter the driver_override entry for a SPI device, which generally requires local privileges or control over device configuration. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The CVSS score is also not disclosed, but the kernel crash indicates high severity. As the issue is fixed through a kernel commit, the risk diminishes once the kernel is updated or the override mechanism is disabled.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply an updated Linux kernel that contains the patch to reject driver_override bindings without valid match data.
  • Reboot the system after updating to ensure all affected drivers are reloaded with the fix in place.
  • If an update cannot be applied immediately, remove any custom driver_override entries for SPI devices by clearing the override file in /sys/bus/spi/devices/…/override to prevent unintended driver binding.

Generated by OpenCVE AI on November 30, 2026 at 18:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
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.
Title iio: adc: ti-adc128s052: validate SPI match data
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:26 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM