CVE-2026-138952
Received Received - Intake

ti-ads7950 SPI Driver NULL Pointer Dereference

Vulnerability report for CVE-2026-138952, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-30

Last updated on: 2026-11-30

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads7950: validate SPI 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. ti_ads7950_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 dereferencing the chip information. 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-30
Last Modified
2026-11-30
Generated
2026-12-01
AI Q&A
2026-12-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ti ads7950 *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves the ti-ads7950 IIO ADC driver. When SPI driver_override is used to bind a device to this driver without matching OF or SPI device ID tables, spi_get_device_match_data() returns NULL. The probe function then crashes when trying to dereference spi_get_device_id(), which is also NULL. The fix rejects devices without match data and uses the SPI modalias for the IIO device name instead.

Detection Guidance

This vulnerability affects the Linux kernel's ti-ads7950 SPI driver when driver_override is used to bind a device without proper OF or SPI device ID matching. Detection requires checking kernel logs for crashes during probe or verifying if devices are incorrectly bound to this driver via driver_override. Check dmesg for NULL pointer dereference errors in ti_ads7950_probe.

Impact Analysis

If exploited, this vulnerability could cause a system crash or denial of service when a malicious or misconfigured device is bound to the ti-ads7950 driver via SPI driver_override. Systems relying on this driver for analog-to-digital conversion may become unstable or unresponsive.

Mitigation Strategies

Avoid using driver_override for ti-ads7950 devices. Ensure all SPI devices have proper OF or SPI device ID tables. Update to a patched kernel version where this issue is resolved. Monitor kernel logs for related errors.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138952. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...