PoC Monitor
← All CVEs
CVE-2026-31389published 3 Apr 2026 15:15 UTCData: JSON · API

Linux

spi: fix use-after-free on controller registration failure

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-416
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 0e23f50086da7d0b183dfeac26021acfcdee086b
  • >= 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 6bbd385b30c7fb6c7ee0669e9ada91490938c051
  • >= 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < afe27c1f43aa57530011f419be6ddf71306565d2
  • >= 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 80f3e8cd2b4ad355b2ad2024cf423f6d183404f7
  • >= 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 23b51bad2eb8787aa74324cfccefb258515ae5ba
  • >= 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 8634e05b08ead636e926022f4a98416e13440df9

Fixed in 0e23f50086da7d0b183dfeac26021acfcdee086b, 6bbd385b30c7fb6c7ee0669e9ada91490938c051, afe27c1f43aa57530011f419be6ddf71306565d2, 80f3e8cd2b4ad355b2ad2024cf423f6d183404f7, 23b51bad2eb8787aa74324cfccefb258515ae5ba, 8634e05b08ead636e926022f4a98416e13440df9

Linux Linux
  • 6.0

Fixed in 0, 6.1.167, 6.6.130, 6.12.78, 6.18.20, 6.19.10, 7.0

Mitigation

Upgrade Linux to 0e23f50086da7d0b183dfeac26021acfcdee086b or 6bbd385b30c7fb6c7ee0669e9ada91490938c051 or afe27c1f43aa57530011f419be6ddf71306565d2 or 80f3e8cd2b4ad355b2ad2024cf423f6d183404f7 or 23b51bad2eb8787aa74324cfccefb258515ae5ba or 8634e05b08ead636e926022f4a98416e13440df9 or later.

Upgrade Linux to 0 or 6.1.167 or 6.6.130 or 6.12.78 or 6.18.20 or 6.19.10 or 7.0 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published3 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.