CVE-2026-138951
Received Received - Intake

NULL Pointer Dereference in Linux Kernel ADXL313 SPI Driver

Vulnerability report for CVE-2026-138951, 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: accel: adxl313: 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. adxl313_spi_probe() dereferences chip_data to select the regmap configuration, 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 selecting the configuration.

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 vulnerability is in the Linux kernel's IIO accelerometer driver for the ADXL313 device. It occurs when a device binds to the driver using SPI driver_override without proper matching data. The driver then tries to access a NULL pointer, causing a crash.

Detection Guidance

This vulnerability affects the Linux kernel's IIO accelerometer driver (adxl313) when using SPI driver_override. Detection requires checking kernel logs for NULL pointer dereference errors related to adxl313_spi_probe or spi_get_device_match_data. Use commands like dmesg | grep adxl313 or journalctl -k | grep -i adxl313 to search for errors.

Impact Analysis

This could cause system crashes or instability if an attacker exploits the driver_override feature to bind a malicious device to the ADXL313 driver. It may lead to denial of service on affected systems.

Mitigation Strategies

Update the Linux kernel to a patched version that includes the fix for this vulnerability. If immediate patching is not possible, avoid using driver_override for the adxl313 SPI driver to prevent binding to unmatched devices.

Chat Assistant

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