CVE
CVE-2026-31389
CVE-2026-31389HIGH 7.8EPSS 2%
CNA 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 versions
All Linux kernel vulnerabilities →
- 7.0-rc4This version only
- 7.0-rc3This version only
- 7.0-rc2This version only
- 7.0-rc1This version only
- ≥ 6.19, < 6.19.10Fixed in 6.19.10
- ≥ 6.13, < 6.18.20Fixed in 6.18.20
- ≥ 6.7, < 6.12.78Fixed in 6.12.78
- ≥ 6.2, < 6.6.130Fixed in 6.6.130
- ≥ 6.0, < 6.1.167Fixed in 6.1.167
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/0e23f50086da7d0b183dfeac26021acfcdee086b · Patch
- git.kernel.org/stable/c/23b51bad2eb8787aa74324cfccefb258515ae5ba · Patch
- git.kernel.org/stable/c/6bbd385b30c7fb6c7ee0669e9ada91490938c051 · Patch
- git.kernel.org/stable/c/80f3e8cd2b4ad355b2ad2024cf423f6d183404f7 · Patch
- git.kernel.org/stable/c/8634e05b08ead636e926022f4a98416e13440df9 · Patch
- git.kernel.org/stable/c/afe27c1f43aa57530011f419be6ddf71306565d2 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.