CVE-2026-138958
Received Received - Intake

NULL Pointer Dereference in Linux Kernel IIO ADC Driver

Vulnerability report for CVE-2026-138958, 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: 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.

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
linux linux_kernel *

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 is a NULL pointer dereference vulnerability in the Linux kernel's IIO ADC driver for the AD7768-1 device. It occurs when a device binds to the driver via SPI driver_override without proper match data, causing the driver to crash during initialization.

Detection Guidance

This vulnerability is specific to the Linux kernel's IIO ADC driver for AD7768-1 devices. Detection requires checking kernel logs for NULL pointer dereference errors during device probe, particularly when driver_override is used without proper match data. Inspect dmesg or journalctl logs for errors like 'Unable to handle kernel NULL pointer dereference' related to ad7768.

Impact Analysis

This vulnerability can cause system crashes or instability when an affected device is connected to a Linux system using the AD7768-1 driver. It may lead to denial of service conditions on the affected system.

Mitigation Strategies

Apply the latest kernel update that includes the fix for this issue. Avoid using driver_override for AD7768-1 devices unless explicitly required. If the device is not properly matched, do not bind it to this driver. Monitor kernel logs for probe failures.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138958. 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...