CVE-2026-23475: spi: fix statistics allocation

Published Apr 3, 2026
·
Updated

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).

Affected Software

10 affected components
Linux Linux kernel
Linux Linux kernel>=6.0<6.1.167
Linux Linux kernel>=6.2<6.6.130
Linux Linux kernel>=6.7<6.12.78
Linux Linux kernel>=6.13<6.18.20
Linux Linux kernel>=6.19<6.19.10
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4

Event History

Apr 3, 2026
CVE Published
via MITRE·03:15 PM
Data Sourced
via MITRE·03:15 PM
Description
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What access and timing are required to trigger the fault?

The issue requires local access and low privileges. An attacker must access the affected SPI controller sysfs attributes during the interval after the controller is registered with driver core but before its per-CPU statistics are allocated.

2

What is the practical impact of exploitation?

Successful triggering can cause a NULL-pointer dereference, resulting in a denial of service. The CVSS vector indicates no confidentiality or integrity impact.

3

How can I determine whether a system is exposed?

Systems are exposed when affected SPI controllers are present and their sysfs attributes can be accessed during controller registration. The provided data does not identify specific kernel versions or configurations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203