CVE-2026-31389: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-31389 is a use-after-free vulnerability in the Linux kernel's SPI (Serial Peripheral Interface) subsystem, specifically triggered during SPI controller registration failure. When per-cpu statistics allocation fails during controller registration, the driver fails to properly deregister from the driver core, resulting in use-after-free conditions on driver resources and unclocked register accesses. Affected kernel versions span multiple stable series: 6.0 through 6.1.x (before 6.1.167), 6.2–6.6.x (before 6.6.130), 6.7–6.12.x (before 6.12.78), 6.13–6.18.x (before 6.18.20), 6.19.x (before 6.19.10), and 7.0-rc1 through rc4. The vulnerability was published on April 3, 2026, and carries a CVSS v3.1 base score of 7.8 (High) (GitHub Advisory, Feedly).

Technical details

The root cause is classified as CWE-416 (Use After Free). During SPI controller registration, if the per-cpu statistics allocation step fails, the error-handling path does not call the driver core deregistration routine, leaving dangling references to already-freed driver resources. This allows subsequent code paths to access freed memory and perform unclocked hardware register accesses. The attack vector is local (AV:L), requiring low privileges (PR:L), and no user interaction, making it exploitable by any local user who can influence SPI controller registration — for example, by loading a malicious or crafted kernel module on systems permitting unprivileged module loading (GitHub Advisory, Feedly).

Impact

Successful exploitation can result in high confidentiality, integrity, and availability impact on the affected system. The use-after-free condition may lead to driver resource corruption, system instability or crashes, unclocked hardware register accesses, and potentially privilege escalation depending on the specific SPI controller implementation and system configuration. The vulnerability is confined to the local system scope but could serve as a stepping stone for privilege escalation in multi-tenant or container environments (Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Feedly). The vulnerability is triggered only in an edge-case failure scenario (per-cpu statistics allocation failure during SPI controller registration), which limits its practical exploitability. The EPSS score is approximately 0.024% (0.000240), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Mitigation and workarounds

Update the Linux kernel to one of the following patched versions: 6.1.167 or later (6.1.x series), 6.6.130 or later (6.6.x series), 6.12.78 or later (6.12.x series), 6.18.20 or later (6.18.x series), 6.19.10 or later (6.19.x series), or 7.0-rc5 or later. Upstream fixes are available in the Linux kernel stable repositories. For systems that cannot be updated immediately, restrict unprivileged access to SPI controller registration operations and monitor for SPI-related driver failures during boot or runtime. Distribution-specific updates are available from SUSE (SUSE-SU-2026:2217-1, SUSE-SU-2026:2238-1) and Amazon Linux 2023 (ALAS2023-2026-1594) (GitHub Advisory, SUSE Advisory, Amazon Linux).

Community reactions

The vulnerability was announced via the Linux kernel CVE announcement mailing list and subsequently tracked by Tenable (Nessus plugins 311335, 311340) and Qualys (detection IDs 762889, 762916, 762925). The Yocto Project security mailing list also discussed the issue across multiple messages. No notable independent researcher commentary or significant social media discussion has been identified beyond standard vulnerability tracking (Feedly).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.170-1

Fixed

sid

linux: 6.19.10-1

Fixed

trixie

linux: 6.12.85-1

Fixed

Ubuntu

Fixed

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux

Not Affected

focal (esm-infra)

linux

Not Affected

focal (fips-updates)

linux-fips

Not Affected

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

kernel-rt.src

Affected

RHEL 10

kernel.src

Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99099NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-modules
NoYesOct 26, 2026
CVE-2026-99098NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug
NoYesOct 26, 2026
CVE-2026-99097NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-core
NoYesOct 26, 2026
CVE-2026-99096NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesOct 26, 2026
CVE-2026-99094NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-core
NoYesOct 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management