GHSA-p23v-v2wc-73m3MediumCVSS 5.5

In the Linux kernel, the following vulnerability has been resolved: spi: fix statistics...

Published
April 3, 2026
Last Modified
May 20, 2026

🔗 CVE IDs covered (1)

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

🔗 References (8)