Skip to main content

Linux Kernel EUVDEUVD-2026-26558

| CVE-2026-31745 HIGH
Double Free (CWE-415)
2026-05-01 Linux
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local user access
  2. Delivery
    Trigger GPIO reset device initialization
  3. Exploit
    Force __auxiliary_device_add() failure condition
  4. Install
    Double-free corrupts kernel heap
  5. C2
    Spray heap with controlled objects
  6. Execute
    Overwrite freed memory with malicious structure
  7. Impact
    Execute arbitrary code as root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

Local authenticated access with low-privilege user credentials (PR:L) to a Linux system compiled with CONFIG_RESET_GPIO enabled. The vulnerable code path requires active use of the reset-gpio driver and triggering a specific error condition where __auxiliary_device_add() fails during auxiliary device registration for a GPIO reset controller. This typically occurs during boot-time device initialization or runtime device probing on systems using device tree bindings for gpio-reset nodes. Exploitation is limited to systems where the reset-gpio driver is loaded and actively managing GPIO-based reset lines, common in ARM-based embedded systems, industrial controllers, and IoT devices, but rare in standard x86 server or desktop configurations. No user interaction (UI:N) required beyond triggering device initialization. Scope is unchanged (S:U), meaning exploitation remains within kernel context without crossing privilege boundaries to other components.

Impact

Real-world risk is moderate despite the 7.8 CVSS score. CVSS indicates local attack vector with low-privilege authenticated access required (AV:L/PR:L), meaning an attacker needs existing local user access to trigger the vulnerable code path. The low attack complexity (AC:L) suggests reliable exploitation once conditions are met, with full CIA impact (C:H/I:H/A:H) indicating potential privilege escalation to kernel level. However, EPSS score of 0.02% (5th percentile) indicates very low probability of active exploitation in the wild, consistent with the narrow scope of this device driver bug affecting only systems using GPIO-based reset controllers. Not listed in CISA KEV, confirming no confirmed active exploitation. The vulnerability requires triggering a specific error condition during auxiliary device registration in the reset-gpio subsystem, limiting exposure to systems actively using this driver and encountering initialization failures. SSVC factors: exploitation status is none (no POC identified), technical impact is total (kernel-level compromise possible), automatable is no (requires local access and specific system configuration). For most Linux deployments not using GPIO reset functionality, this presents minimal risk. Priority should be elevated only for embedded systems, IoT devices, or industrial control systems that rely on GPIO-based reset controllers.

Exploit ScenarioDerived

A local attacker with standard user privileges on an embedded Linux system triggers the vulnerability by forcing a failure condition during GPIO reset controller initialization, such as manipulating device tree properties or exhausting kernel resources to cause __auxiliary_device_add() to fail. The double-free corrupts the kernel heap, which the attacker exploits by timing subsequent allocations to control the freed memory region. By placing controlled data structures in the freed slot, the attacker overwrites function pointers or critical kernel data, achieving arbitrary code execution at ring 0 privilege level and gaining full system control.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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 – May 07, 2026

Double-free memory corruption in the Linux kernel reset-gpio subsystem allows local authenticated users to escalate privileges or crash the system. The vulnerability exists in reset_add_gpio_aux_device() error handling since commit 5fc4e4cf7a22, where auxiliary_device_uninit() triggers a release callback that frees memory, but the error path then calls kfree() on the same pointer. Patches available for kernel versions 6.19.12+ and 7.0+. EPSS score of 0.02% (5th percentile) indicates low probability of widespread exploitation. Not listed in CISA KEV; no public exploit identified at time of analysis.

RemediationAI

Apply vendor-released patches: upgrade to Linux kernel 6.19.12 or later for the 6.19 stable branch, or kernel 7.0 final release for mainline users. Patch commits available at https://git.kernel.org/stable/c/1de465753220deb41569cf2add87bbb0673731db (mainline fix) and https://git.kernel.org/stable/c/fbffb8c7c7bb4d38e9f65e0bee446685011de5d8 (stable backport). The fix modifies reset_add_gpio_aux_device() to avoid calling kfree() after auxiliary_device_uninit() by restructuring the error path. If immediate patching is not feasible, consider disabling CONFIG_RESET_GPIO at kernel build time to remove the vulnerable code entirely, but note this will break systems dependent on GPIO-based reset functionality such as certain embedded boards and device tree configurations requiring gpio-reset bindings. For production systems where the reset-gpio driver is not critical, unloading the module (if built as a module) provides temporary mitigation, though this may cause devices depending on GPIO resets to fail initialization. No runtime configuration workaround exists for systems requiring this driver; patching is the only complete remediation.

Affected VersionsENISA

Linux patch: 0
Linux patch: 6.19.12
Linux patch: 7.0
Linux 6.19
Linux 5fc4e4cf7a2268b5f73700fd1e8d02159f2417d8 <fbffb8c7c7bb4d38e9f65e0bee446685011de5d8
Linux 5fc4e4cf7a2268b5f73700fd1e8d02159f2417d8 <1de465753220deb41569cf2add87bbb0673731db

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 is a use-after-free/double-free bug (CWE-415) in the Linux kernel's GPIO reset controller auxiliary device initialization code. When __auxiliary_device_add() fails during device registration, the error path calls auxiliary_device_uninit(), which invokes the reset_gpio_aux_device_release() callback that frees the adev structure. The code then incorrectly calls kfree(adev) again on the already-freed memory. Double-free vulnerabilities can cause heap corruption, potentially leading to arbitrary code execution if an attacker can control heap layout. The affected code path is in drivers/reset/reset-gpio.c, introduced in commit 5fc4e4cf7a22. CPE strings indicate this affects general Linux kernel builds containing the reset-gpio driver. The CVSS vector AV:L indicates local access is required, with low attack complexity (AC:L) and low privileges (PR:L), making exploitation straightforward for local users who can trigger device initialization.

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

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

5
CVSS changed
May 07, 2026 - 19:37 NVD
7.8 (HIGH)
Patch available
May 01, 2026 - 16:02 EUVD
Patch released
May 01, 2026 - 15:24 nvd
Patch available
CVE Published
May 01, 2026 - 14:14 nvd
HIGH 7.8
CVE Published
May 01, 2026 - 14:14 nvd
N/A

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

reset: gpio: fix double free in reset_add_gpio_aux_device() error path

When __auxiliary_device_add() fails, reset_add_gpio_aux_device() calls auxiliary_device_uninit(adev).

The device release callback reset_gpio_aux_device_release() frees adev, but the current error path then calls kfree(adev) again, causing a double free.

Keep kfree(adev) for the auxiliary_device_init() failure path, but avoid freeing adev after auxiliary_device_uninit().

Executive ViewAI

Why It Matters

CVE-2026-31745 is a privilege escalation vulnerability in the Linux kernel's reset-gpio subsystem affecting authenticated local users on vulnerable kernel versions. Organizations running Linux kernel versions prior to 6.19.12 or 7.0 face risk of unauthorized privilege escalation or system crashes from local attackers with user-level access.

Business Impact: Medium
Compensating Controls

Apply vendor patch. Restrict local system access and implement kernel module loading restrictions (disable-module-loading); monitor for unexpected privilege escalation attempts via auditd or EDR solutions; consider temporary workload migration to patched kernel versions where operationally feasible.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 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 No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Medium

Priority Score

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

Attack Technique

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

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