What’s Vulnerable › Vulnerabilities

CVE-2026-31389: spi: fix use-after-free on controller registration failure

Description

In the Linux kernel, the following vulnerability has been resolved: spi: fix use-after-free on controller registration failure Make sure to deregister from driver core also in the unlikely event that per-cpu statistics allocation fails during controller registration to avoid use-after-free (of driver resources) and unclocked register accesses.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.167, 6.12.78, 6.18.20, 6.19.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-31389 or the next vulnerability affects your stack