CVE-2026-31389 Details
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.
A use-after-free vulnerability has been addressed in the Linux kernel's SPI controller registration process. This issue arises when the allocation of per-CPU statistics fails, leading to a premature release of driver resources while still being registered. The flaw can cause unclocked access to registers, potentially allowing for exploitation. The vulnerability affects the Linux kernel SPI driver in versions prior to the fix.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit addressing this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-019113.html | siemens-SADP | |
| https://cert-portal.siemens.com/productcert/html/ssa-082556.html | siemens-SADP | |
| https://git.kernel.org/stable/c/0e23f50086da7d0b183dfeac26021acfcdee086b | kernel.org | Patch |
| https://git.kernel.org/stable/c/23b51bad2eb8787aa74324cfccefb258515ae5ba | kernel.org | Patch |
| https://git.kernel.org/stable/c/6bbd385b30c7fb6c7ee0669e9ada91490938c051 | kernel.org | Patch |
| https://git.kernel.org/stable/c/80f3e8cd2b4ad355b2ad2024cf423f6d183404f7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8634e05b08ead636e926022f4a98416e13440df9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/afe27c1f43aa57530011f419be6ddf71306565d2 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.0, < 6.1.167 >= 6.2, < 6.6.130 >= 6.7, < 6.12.78 >= 6.13, < 6.18.20 >= 6.19, < 6.19.10 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jul 14, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 20, 2026 | Initial Analysis | [email protected] |
| Apr 27, 2026 | CVE Modified | kernel.org |
| Apr 3, 2026 | New CVE Received | kernel.org |