High severity · published Apr 3, 2026
CVE-2026-31389
spi: fix use-after-free on controller registration failure
7.8
CVSS
0.1%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 2% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
6.0 before 6.1.167; 6.2 before 6.6.130; 6.7 before 6.12.78; 6.13 before 6.18.20; 6.19 before 6.19.10; 7.0; +3 more · source: NVD
LI
Linux · Linux
6598b91b5ac32bc756d7c3000a31f775d4ead1c4 before 0e23f50086da7d0b183dfeac26021acfcdee086b; 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 before 6bbd385b30c7fb6c7ee0669e9ada91490938c051; 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 before afe27c1f43aa57530011f419be6ddf71306565d2; 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 before 80f3e8cd2b4ad355b2ad2024cf423f6d183404f7; 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 before 23b51bad2eb8787aa74324cfccefb258515ae5ba; 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 before 8634e05b08ead636e926022f4a98416e13440df9; +1 more · source: vendor
SS
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.6; V3.1.5; V3.1.7; V3.1.6; V3.1.5; V3.1.7 · source: CISA
SS
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · Siemens
V3.1.6; V3.1.5; V3.1.7; V3.1.6; V3.1.5; V3.1.7 · source: CISA
SS
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.6; V3.1.5; V3.1.7 · source: CISA