Skip to main content

Linux EUVDEUVD-2026-18761

| CVE-2026-31389 HIGH
Use After Free (CWE-416)
2026-04-03 Linux
7.8
CVSS 3.1 · Vendor: Linux
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

Without CVSS score, EPSS, or KEV status, real-world risk must be assessed from structural signals. This is a memory safety bug (use-after-free) in kernel code with local-context execution potential, which typically requires privileged or direct hardware access to trigger. The bug is gated behind an allocation failure during a rare code path (SPI controller registration failure), making it non-trivial to exploit in practice. However, the tag 'Information Disclosure' suggests potential data leakage via uninitialized memory or unclocked register reads. The fix availability across multiple stable kernel branches (evidenced by six commit hashes across different kernel versions) indicates this was treated as a real issue by kernel maintainers, warranting expedited patching. The low complexity and local-only attack vector reduce immediate risk compared to remote RCE, but kernel memory safety issues are taken seriously. Priority: moderate to high for systems with untrusted local users or specialized SPI hardware deployments.

Exploit ScenarioDerived

A local attacker with ability to trigger SPI device probe operations (via sysfs or through a custom kernel module) deliberately causes per-CPU statistics allocation to fail (e.g., by exhausting memory or limiting memory cgroups). The SPI controller registration function returns an error but leaves the device registered in driver core. When the kernel or userspace attempts to interact with the partially-initialized controller device, unclocked register accesses occur, potentially leaking kernel memory or causing a crash. No public POC is noted in available data, and this requires local access and specific memory pressure conditions to exploit.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 03, 2026

Use-after-free vulnerability in Linux kernel SPI controller registration allows local attackers to trigger unclocked register accesses and potential information disclosure when per-CPU statistics allocation fails during controller initialization. The vulnerability affects all Linux kernel versions and is fixed via proper driver core deregistration on allocation failure; no CVSS score or active exploitation data available at time of analysis.

RemediationAI

Apply kernel patches from the stable Linux repository using the upstream fix commits available at https://git.kernel.org/stable/. Systems should update to the latest stable kernel version in their release series (6.1.x, 6.6.x, 6.12.x, etc.) which includes the backported fix for SPI controller registration error handling. The fix involves adding proper driver core deregistration in the error path when per-CPU statistics allocation fails. No workaround is available for unpatched kernels; patching is the only mitigation. Verify the patch has been applied by checking kernel version and confirming spi_controller_register() includes the deregister_device() call in the error path.

Affected VersionsENISA

Linux patch: 6.1.167
Linux 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 <8634e05b08ead636e926022f4a98416e13440df9
Linux patch: 6.19.10
Linux 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 <80f3e8cd2b4ad355b2ad2024cf423f6d183404f7
Linux patch: 7.0-rc5
Linux patch: 0
Linux patch: 6.12.78
Linux 6.0
Linux patch: 6.6.130
Linux 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 <23b51bad2eb8787aa74324cfccefb258515ae5ba
Linux 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 <6bbd385b30c7fb6c7ee0669e9ada91490938c051
Linux 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 <afe27c1f43aa57530011f419be6ddf71306565d2
Linux patch: 6.18.20
Linux 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 <0e23f50086da7d0b183dfeac26021acfcdee086b

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability exists in the Linux kernel's SPI subsystem core (spi/core.c or equivalent). The root cause is a missing error-handling path: when spi_controller_register() attempts to allocate per-CPU statistics during device registration and that allocation fails, the function returns an error without properly deregistering the device from the driver core. This leaves the device registered with the core but in a partially-initialized state. Subsequent access attempts reference freed or uninitialized driver resources, leading to use-after-free conditions and potential unclocked register accesses (reads/writes to hardware registers without the clock enabled, causing undefined behavior). The CWE classification is not provided, but this falls under CWE-416 (Use After Free) and CWE-273 (Improper Check for Dropped Privileges). The affected component is the SPI controller registration path, which is architecture-independent and present in all Linux kernel builds with SPI support enabled.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 4.7 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Apr 27, 2026 - 14:22 NVD
7.8 (HIGH)
Patch available
Apr 16, 2026 - 05:29 EUVD
8634e05b08ead636e926022f4a98416e13440df9,80f3e8cd2b4ad355b2ad2024cf423f6d183404f7,23b51bad2eb8787aa74324cfccefb258515ae5ba
CVE Published
Apr 03, 2026 - 15:15 nvd
N/A

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
2
1 source
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy