Skip to main content

Linux Kernel CVE-2026-31725

| EUVDEUVD-2026-26538 MEDIUM
2026-05-01 Linux
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Local login to gadget-enabled system
  2. Delivery
    Write unbind control to ECM gadget sysfs
  3. Exploit
    Write rebind control to trigger reparenting
  4. Execution
    Trigger sysfs traversal or device access
  5. Impact
    Kernel denial of service

Vulnerability Assessment

Exploitation Conditions

The vulnerability requires all of the following conditions to be present: (1) Linux kernel compiled with USB gadget support (CONFIG_USB_GADGET=y) and specifically the ECM function enabled (CONFIG_USB_F_ECM=y); (2) the system must be operating in USB device/gadget mode (not standard host mode) with the ECM function loaded and bound; (3) the attacker must have local authenticated access (unprivileged user capable of executing commands and accessing sysfs); (4) the attacker must be able to trigger gadget bind/unbind cycles through sysfs control interfaces or gadget configuration tools; (5) the gadget must be rebound after unbinding to trigger the full vulnerability sequence. This vulnerability does not affect standard desktop or server Linux deployments that operate only in USB host mode. It is specific to embedded systems, Android devices, and specialized configurations using Linux as a USB device. No special kernel configuration beyond standard gadget mode is required if gadget mode itself is enabled.

Impact

CVSS score of 5.5 (medium severity) with local attack vector, low complexity, and low privilege requirements indicates moderate real-world risk, but EPSS score of 0.02% (5th percentile) suggests very limited exploitation probability in practice. The vulnerability requires local authenticated access (PR:L) on systems with USB gadget functionality enabled, significantly restricting the attack surface compared to network-exploitable vulnerabilities. The attack vector is local only (AV:L), meaning remote exploitation is not possible. While the CVSS vector indicates denial of service impact (availability impact with no confidentiality or integrity impact), the low EPSS score and absence of active exploitation data suggest this is a low-priority issue despite the medium CVSS rating. This pattern is typical for kernel subsystem bugs affecting specialized functionality - the technical impact is real but exploitation requires specific system configurations (USB gadget mode enabled) that are not prevalent in standard desktop or server deployments. The presence of vendor patches across multiple stable kernel versions confirms the vulnerability is real, but the extremely low EPSS percentile indicates it has not become a widespread exploitation vector.

Exploit ScenarioDerived

A local authenticated user on a system running USB gadget mode (e.g., an Android device, embedded system, or virtual machine exposing USB functionality) performs repeated bind and unbind cycles of the ECM gadget function by writing to gadget control interfaces in sysfs or via gadget configuration tools. Each cycle leaves dangling sysfs symlinks that accumulate, and accessing or traversing the sysfs hierarchy triggers kernel issues that crash the system or trigger denial of service conditions. No public exploit code has been identified, suggesting this is primarily a stability/reliability issue rather than an actively exploited vector.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

Denial of service in the Linux kernel USB gadget ECM (Ethernet Control Model) driver allows local authenticated attackers to crash the system by exploiting improper net_device lifecycle management during bind and unbind cycles. When the gadget device unbinds, the network device survives with dangling sysfs symlinks, causing kernel issues when accessed or when the device tree is traversed. The vulnerability affects Linux kernel versions prior to patches released in 6.12.81, 6.18.22, 6.19.12, and 7.0.

RemediationAI

Update the Linux kernel to version 6.12.81, 6.18.22, 6.19.12, or 7.0 or later depending on your stable series. The patch modifies the USB gadget ECM driver to use device_move() to properly reparent the net_device between the gadget device tree and /sys/devices/virtual during bind and unbind operations. For systems that cannot immediately update, disable USB gadget functionality if it is not required - the vulnerability only affects systems with the CONFIG_USB_GADGET and CONFIG_USB_F_ECM kernel options enabled and actively using gadget mode (not standard host-mode USB). If gadget functionality is required, isolate systems with untrusted local users, as exploitation requires local authenticated access. The patch is available from stable kernel releases and the referenced git commits; apply through your distribution's kernel update mechanism or compile directly from the stable kernel git repositories.

Affected VersionsENISA

Linux patch: 6.19.12
Linux fee562a6450b7806f1fbbe1469a67b5395b5c10a <5eaeac22240d965d24c3bd0c54ded64efd8f6ca1
Linux patch: 0
Linux patch: 6.12.81
Linux fee562a6450b7806f1fbbe1469a67b5395b5c10a <9b1e5589593293c78a2ab8bb118a41e2271a2af8
Linux fee562a6450b7806f1fbbe1469a67b5395b5c10a <4e34f3f491fd731809b57ddb5329ec763bd39553
Linux patch: 6.18.22
Linux patch: 7.0
Linux 3.11
Linux fee562a6450b7806f1fbbe1469a67b5395b5c10a <b2cc4fae67a51f60d81d6af2678696accb07c656

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

The Linux kernel's USB gadget subsystem provides a framework for implementing USB device functionality. The ECM (Ethernet Control Model) gadget function (f_ecm) implements USB-based Ethernet devices used in composite gadget configurations. The vulnerability exists in the net_device lifecycle management within f_ecm - specifically, the network device is registered to the gadget device as its sysfs parent during the bind phase but is not properly reparented when unbinding. This causes the device to remain in the sysfs hierarchy even after its parent gadget device is destroyed, creating orphaned symlinks. The fix employs device_move() to transition the net_device between the gadget device tree and the virtual device tree across bind/unbind cycles, maintaining proper sysfs topology and device hierarchy ordering. The issue affects the USB gadget framework used in embedded systems, Android devices, and kernel-based virtual machines that expose USB device functionality.

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 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

5
CVSS changed
May 07, 2026 - 17:07 NVD
5.5 (MEDIUM)
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
MEDIUM 5.5
CVE Published
May 01, 2026 - 14:14 nvd
N/A

DescriptionNVD

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

usb: gadget: f_ecm: Fix net_device lifecycle with device_move

The net_device is allocated during function instance creation and registered during the bind phase with the gadget device as its sysfs parent. When the function unbinds, the parent device is destroyed, but the net_device survives, resulting in dangling sysfs symlinks:

console:/

ls -l /sys/class/net/usb0

lrwxrwxrwx ... /sys/class/net/usb0 -> /sys/devices/platform/.../gadget.0/net/usb0 console:/

ls -l /sys/devices/platform/.../gadget.0/net/usb0

ls: .../gadget.0/net/usb0: No such file or directory

Use device_move() to reparent the net_device between the gadget device tree and /sys/devices/virtual across bind and unbind cycles. During the final unbind, calling device_move(NULL) moves the net_device to the virtual device tree before the gadget device is destroyed. On rebinding, device_move() reparents the device back under the new gadget, ensuring proper sysfs topology and power management ordering.

To maintain compatibility with legacy composite drivers (e.g., multi.c), the bound flag is used to indicate whether the network device is shared and pre-registered during the legacy driver's bind phase.

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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: Medium
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