CVE-2026-23475
Analyzed Analyzed - Analysis Complete

NULL Pointer Dereference in Linux Kernel SPI Controller Statistics

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

Publication date: 2026-04-03

Last updated on: 2026-05-20

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: spi: fix statistics allocation The controller per-cpu statistics is not allocated until after the controller has been registered with driver core, which leaves a window where accessing the sysfs attributes can trigger a NULL-pointer dereference. Fix this by moving the statistics allocation to controller allocation while tying its lifetime to that of the controller (rather than using implicit devres).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-03
Last Modified
2026-05-20
Generated
2026-07-06
AI Q&A
2026-04-04
EPSS Evaluated
2026-07-04
NVD
EUVD

Affected Vendors & Products

Showing 9 associated CPEs
Vendor Product Version / Range
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel From 6.2 (inc) to 6.6.130 (exc)
linux linux_kernel From 6.7 (inc) to 6.12.78 (exc)
linux linux_kernel From 6.13 (inc) to 6.18.20 (exc)
linux linux_kernel From 6.19 (inc) to 6.19.10 (exc)
linux linux_kernel From 6.0 (inc) to 6.1.167 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Mitigation Strategies

The vulnerability has been fixed by updating the Linux kernel to a version where the spi controller per-cpu statistics allocation occurs during controller allocation, preventing NULL-pointer dereference.

Therefore, the immediate step to mitigate this vulnerability is to update your Linux kernel to the fixed version released on or after 2026-04-03.

Executive Summary

This vulnerability exists in the Linux kernel's SPI controller statistics allocation process. The per-CPU statistics for the controller are not allocated until after the controller has been registered with the driver core. This timing creates a window during which accessing the sysfs attributes can cause a NULL-pointer dereference, potentially leading to system instability or crashes.

The fix involves moving the statistics allocation to the time of controller allocation and tying its lifetime directly to the controller, rather than relying on implicit device resource management.

Impact Analysis

This vulnerability can lead to a NULL-pointer dereference when sysfs attributes are accessed during the vulnerable window. This can cause system crashes or instability, potentially affecting the reliability and availability of systems running the affected Linux kernel.

Chat Assistant

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

EPSS Chart