CVE-2026-138953

iio: adc: ti-ads131m02: reject devices without 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-ads131m02: 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.

ads131m_probe() immediately dereferences the returned configuration 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 using the configuration.

Analysis

AI-generated

Technical impact

A kernel vulnerability allows a device to bind to the ti‑ads131m02 driver via the SPI driver_override mechanism without matching either the OF or SPI device ID table. In such cases, the driver’s match data is NULL and the probe function immediately dereferences it, causing a NULL pointer dereference. This crash terminates the kernel, resulting in a denial of service. The weakness aligns with the improper validation of input pointers.

Affected Systems

The flaw exists in the Linux kernel’s IIO subsystem for the TI ADS131M02 analog‑to‑digital converter driver. All kernel builds that include this driver before the fix are potentially affected; no specific version range was provided.

Risk and Exploitability

The attacker requires local access with the ability to trigger the driver_override binding, typically a privileged user or an attacker who can insert or reconfigure SPI devices. The exploit has a high impact because it can crash the kernel, but the availability of the vulnerability in standard kernel distributions is unspecified. No EPSS score or KEV listing is available, and the CVSS score is not provided, so the risk must be assessed in the context of the host’s exposure to local device manipulation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes commit 572a00852635, which adds a NULL check for match data and rejects devices without proper match data.
  • Reboot the system after the kernel upgrade so that the kernel reloads device bindings without the vulnerable driver.
  • If an immediate kernel upgrade is not possible, physically remove or disable the TI ADS131M02 ADC devices from the system to prevent driver binding through driver_override.

Generated by OpenCVE AI on November 30, 2026 at 18:06 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-ads131m02: 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. ads131m_probe() immediately dereferences the returned configuration 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 using the configuration.
Title iio: adc: ti-ads131m02: reject devices without 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