CVE-2026-31389
Received Received - Intake
Use-After-Free in Linux Kernel SPI Controller Registration

Publication date: 2026-04-03

Last updated on: 2026-04-27

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-03
Last Modified
2026-04-27
Generated
2026-05-07
AI Q&A
2026-04-03
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux_kernel linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability impact me? :

The use-after-free vulnerability can cause the system to access freed memory, which may lead to system instability, crashes, or potential execution of arbitrary code.

Such issues can compromise the reliability and security of the Linux kernel, potentially affecting any system using the vulnerable SPI controller registration code.


Can you explain this vulnerability to me?

This vulnerability is a use-after-free issue in the Linux kernel related to the SPI (Serial Peripheral Interface) controller registration process.

Specifically, if the allocation of per-CPU statistics fails during the controller registration, the driver does not properly deregister from the driver core. This leads to use-after-free of driver resources and unclocked register accesses.


What immediate steps should I take to mitigate this vulnerability?

The vulnerability has been resolved by fixing the use-after-free issue in the Linux kernel related to SPI controller registration failure.

To mitigate this vulnerability, you should update your Linux kernel to a version that includes this fix.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart