Skip to main content
VulnerabilityPublished Updated

CVE-2026-31389: Linux kernel · spi: fix use-after-free on controller registration failure

Affects Linux kernelSource CVE Database V5

0

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

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < afe27c1f43aa57530011f419be6ddf71306565d2
Fixed in
  • afe27c1f43aa57530011f419be6ddf71306565d2
LinuxLinuxAffected
  • ≥ 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 8634e05b08ead636e926022f4a98416e13440df9
Fixed in
  • 8634e05b08ead636e926022f4a98416e13440df9
LinuxLinuxAffected
  • ≥ 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 80f3e8cd2b4ad355b2ad2024cf423f6d183404f7
Fixed in
  • 80f3e8cd2b4ad355b2ad2024cf423f6d183404f7
LinuxLinuxAffected
  • ≥ 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 23b51bad2eb8787aa74324cfccefb258515ae5ba
Fixed in
  • 23b51bad2eb8787aa74324cfccefb258515ae5ba
LinuxLinuxAffected
  • ≥ 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 6bbd385b30c7fb6c7ee0669e9ada91490938c051
Fixed in
  • 6bbd385b30c7fb6c7ee0669e9ada91490938c051
LinuxLinuxAffected
  • ≥ 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 0e23f50086da7d0b183dfeac26021acfcdee086b
Fixed in
  • 0e23f50086da7d0b183dfeac26021acfcdee086b

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

Community reviews

Loading reviews…