← Back to CVE search

CVE-2026-23475

spi

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 5.5EPSS 0.123%Risk 0.56
View source
Published
2026-04-03 16:16:35
Affected versions
unknown
Type
Core software
Last modified
2026-07-24 22:10:00
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Operating systems
Linux