CVE-2026-23475
Received Received - Intake
NULL Pointer Dereference in Linux Kernel SPI Controller Statistics

Publication date: 2026-04-03

Last updated on: 2026-04-03

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-04-03
Generated
2026-05-07
AI Q&A
2026-04-03
EPSS Evaluated
2026-05-05
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 Powered Q&A
Can you explain this vulnerability to me?

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.


How can this vulnerability impact me? :

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.


What immediate steps should I take to mitigate this vulnerability?

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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart