Skip to main content

Linux Kernel EUVDEUVD-2026-26567

| CVE-2026-31754 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
    Enable USB gadget mode
  2. Delivery
    Trigger gadget initialization failure
  3. Exploit
    Access USB role-switch sysfs
  4. Execution
    Switch role to host
  5. Impact
    xHCI setup crash

Vulnerability Assessment

Exploitation Conditions

Exploitation requires three specific conditions: First, the Cadence USB3 gadget driver must be loaded and functional (kernel built with CONFIG_USB_GADGET=y and CONFIG_USB_CDNS3=y). Second, a gadget initialization must fail (triggered when user attempts to configure and enable a USB gadget via configfs, resulting in cdns3_gadget_start() error). Third, a local user must have write access to the USB role-switch sysfs file at /sys/class/usb_role/*/role (typically restricted to root or the udev system, but may be exposed in containers or non-standard configurations). On default-hardened systems with restrictive sysfs permissions (role-switch file readable/writable only by root) and systems without active USB gadget usage, exploitation is unlikely. The vulnerability does not affect systems using only USB host mode or systems with Cadence USB3 hardware disabled.

Impact

The CVSS 3.1 score of 5.5 with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H indicates a local, low-complexity attack requiring low privilege (local user) that impacts availability only. The low EPSS score of 0.03% (percentile 9%) suggests minimal real-world exploitation probability, which aligns with the highly specific trigger conditions: the vulnerability requires both a failed gadget initialization followed by an intentional host mode switch via sysfs by a local user. Attack impact is denial of service-a kernel crash-not remote code execution. The vulnerability primarily affects systems that actively use USB dual-role functionality with external role-switching mechanisms (embedded devices, mobile systems). General-purpose servers and desktops without active DRD usage are less exposed. The patch is available from multiple kernel stable releases (5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12, 7.0), allowing rapid remediation. No evidence of active exploitation or public proof-of-concept code is documented, consistent with the specialized nature of the trigger. This is a legitimate but lower-priority vulnerability suitable for standard patching cycles rather than emergency response.

Exploit ScenarioDerived

An unprivileged local user with access to the USB role-switch sysfs file (typically available in containers or on systems with permissive udev rules) intentionally loads a USB gadget configuration and triggers gadget initialization, allowing it to fail. The user then switches the USB role to host mode by writing 'host' to /sys/class/usb_role/*/role. This action causes the kernel to attempt xHCI host controller initialization with corrupted DRD state, triggering a synchronous external abort and crashing the kernel. No root privilege is required if sysfs permissions allow user access to the role-switch file.

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 08, 2026

A denial of service condition in the Linux kernel's Cadence USB3 (cdns3) gadget driver occurs when gadget initialization fails, leaving the DRD hardware in gadget mode while software state remains inactive. Switching the device to USB host mode via sysfs triggers a synchronous external abort in the xHCI host controller setup, causing a kernel crash. Local authenticated users with access to the USB role-switch sysfs interface can trigger this condition, affecting Linux kernel versions 5.4 through current releases. A patch is available from the Linux kernel project.

RemediationAI

Update to a patched Linux kernel version: 5.15.203 or later for the 5.15 branch, 6.1.168 or later for 6.1, 6.6.134 or later for 6.6, 6.12.81 or later for 6.12, 6.18.22 or later for 6.18, 6.19.12 or later for 6.19, or 7.0 and later for mainline. The fix is available via stable kernel commits referenced in https://git.kernel.org/stable/c/fb7110a052467098967284ef14d306810b354937 and related commits. Most distributions will provide kernel updates through their standard security update channels within weeks of release. For systems that cannot patch immediately, restrict local user access to the USB role-switch sysfs interface via file permissions: chmod 600 /sys/class/usb_role/*/role to limit exposure to administrative users only. Alternatively, disable USB gadget mode entirely via kernel build options (CONFIG_USB_GADGET=n) if the system does not require gadget functionality, though this is suitable only for systems not requiring USB device-mode capabilities. Avoid triggering USB role switches via sysfs while using USB gadget mode until patched.

Affected VersionsENISA

Linux 7733f6c32e36ff9d7adadf40001039bf219b1cbe <fb7110a052467098967284ef14d306810b354937
Linux patch: 0
Linux 5.4
Linux 7733f6c32e36ff9d7adadf40001039bf219b1cbe <c32f8748d70c8fc77676ad92ed76cede17bf2c48
Linux patch: 6.1.168
Linux 7733f6c32e36ff9d7adadf40001039bf219b1cbe <c7e475ae3a5593c5db21b3b7dca4ba8bdac9b47f
Linux patch: 6.19.12
Linux 7733f6c32e36ff9d7adadf40001039bf219b1cbe <b490f0e477d26d29ed51e5dc47e3b9bd31bcb49f
Linux 7733f6c32e36ff9d7adadf40001039bf219b1cbe <cfca84f5986afceb63a3adf39d4a98e915aebbc2
Linux patch: 5.15.203
Linux 7733f6c32e36ff9d7adadf40001039bf219b1cbe <9b1d301fbae837bf6979a19030b81d869bb15f7a
Linux patch: 6.6.134
Linux patch: 7.0
Linux patch: 6.12.81
Linux 7733f6c32e36ff9d7adadf40001039bf219b1cbe <5a85599ca4d2584d89dc69f4fc49303b75a42338
Linux patch: 6.18.22

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 Cadence USB3 dual-role (DRD) controller requires strict state synchronization between hardware and software modes to comply with the controller's design specification. The vulnerability exists in the cdns3_gadget_start() function within the USB gadget subsystem. When gadget initialization fails, the error path does not call cdns_drd_gadget_off() to properly clean up the DRD gadget state, leaving the hardware in gadget mode. Subsequently, when a user attempts to switch to host mode via the USB role-switch sysfs interface, the cdns_role_stop() function skips necessary cleanup because the software state is still marked INACTIVE. This violates the DRD controller design specification (Figure 22), which mandates returning to idle state before role transitions. The mismatch causes xhci_gen_setup() to access unmapped memory during host controller initialization, triggering a synchronous external abort (error code 96000010) in ARM systems.

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
Red Hat 5.5 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 08, 2026 - 18:52 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: cdns3: gadget: fix state inconsistency on gadget init failure

When cdns3_gadget_start() fails, the DRD hardware is left in gadget mode while software state remains INACTIVE, creating hardware/software state inconsistency.

When switching to host mode via sysfs: echo host > /sys/class/usb_role/13180000.usb-role-switch/role

The role state is not set to CDNS_ROLE_STATE_ACTIVE due to the error, so cdns_role_stop() skips cleanup because state is still INACTIVE. This violates the DRD controller design specification (Figure22), which requires returning to idle state before switching roles.

This leads to a synchronous external abort in xhci_gen_setup() when setting up the host controller:

[ 516.440698] configfs-gadget 13180000.usb: failed to start g1: -19 [ 516.442035] cdns-usb3 13180000.usb: Failed to add gadget [ 516.443278] cdns-usb3 13180000.usb: set role 2 has failed ... [ 1301.375722] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 1301.377716] Internal error: synchronous external abort: 96000010 [#1] PREEMPT SMP [ 1301.382485] pc : xhci_gen_setup+0xa4/0x408 [ 1301.393391] backtrace: ... xhci_gen_setup+0xa4/0x408 <-- CRASH xhci_plat_setup+0x44/0x58 usb_add_hcd+0x284/0x678 ... cdns_role_set+0x9c/0xbc <-- Role switch

Fix by calling cdns_drd_gadget_off() in the error path to properly clean up the DRD gadget state.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
5 sources
Confidence: Medium

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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