CVE-2026-31389: Linux kernel · spi: fix use-after-free on controller registration failure
Affects Linux kernelSource CVE Database V5
Not known to be exploited · CVSS 7.8 High · fixed in afe27c1f43aa57530011f419be6ddf71306565d2 : patch Linux kernel soon.
Data as of 26 Oct 2026, 17:30 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- CISA SSVC
- Exploitation
- No evidence of active exploitation and no public proof of concept
- Automatable
- Attackers cannot reliably automate steps 1–4 of the kill chain
- Technical impact
- Total control over the software or total information disclosure
CISA SSVC assessment, 2026-10-16.
- Patch
- Available – fixed in afe27c1f43aa57530011f419be6ddf71306565d2, 8634e05b08ead636e926022f4a98416e13440df9, 80f3e8cd2b4ad355b2ad2024cf423f6d183404f7 +3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
AI-suggested
A fix is available and has been applied in the Linux kernel after version 6.0 as indicated by multiple fixed commit hashes. Users and administrators should update to a fixed kernel version containing these patches to remediate the vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Description
A use-after-free vulnerability was identified and fixed in the Linux kernel's SPI controller registration process. The flaw occurred when per-CPU statistics allocation failed during controller registration, potentially leading to use-after-free of driver resources and unclocked register accesses. This vulnerability affects Linux kernel version 6.0. The issue has been resolved by ensuring proper deregistration from the driver core in failure scenarios.
References
- git.kernel.org/stable/c/0e23f50086da7d0b183dfeac26021acfcdee086b (opens in a new tab)
- git.kernel.org/stable/c/6bbd385b30c7fb6c7ee0669e9ada91490938c051 (opens in a new tab)
- git.kernel.org/stable/c/afe27c1f43aa57530011f419be6ddf71306565d2 (opens in a new tab)
- git.kernel.org/stable/c/80f3e8cd2b4ad355b2ad2024cf423f6d183404f7 (opens in a new tab)
- git.kernel.org/stable/c/23b51bad2eb8787aa74324cfccefb258515ae5ba (opens in a new tab)
- git.kernel.org/stable/c/8634e05b08ead636e926022f4a98416e13440df9 (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-082556.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-019113.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)