← back
CVE-2026-23475

spi: fix statistics allocation

EPSS 0.1%
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 products
Linux · Linux

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →