Skip to main content

Linux Kernel EUVDEUVD-2026-26539

| CVE-2026-31726 MEDIUM
NULL Pointer Dereference (CWE-476)
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. Recon
    Local user triggers system suspend
  2. Delivery
    PM subsystem freezes processes
  3. Exploit
    wait_event_interruptible_timeout() aborted early
  4. Install
    unbind thread nullifies gadget pointer
  5. C2
    system resumes and tasks restart
  6. Execute
    V4L2 release path executes
  7. Impact
    NULL pointer dereference in usb_function_deactivate()
  8. Step 8
    kernel panic

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires all of the following specific conditions: (1) the kernel must be compiled with CONFIG_USB_GADGET_UVC enabled and the UVC gadget subsystem must be actively loaded; (2) a USB gadget UVC device instance must be configured and active (e.g., g_webcam module loaded, or configfs-gadget.g1 configured); (3) the attacker must have local user access (low privilege level, not requiring root); (4) a power management state transition (suspend/resume cycle) must occur while the USB gadget UVC is in an unbind state or during the unbind operation itself, which is timing-dependent; (5) the PM subsystem must interrupt the wait_event_interruptible_timeout() call before the full 1500ms synchronization timeout completes, which occurs during deep suspend entry when user space freezing begins. On typical server and desktop systems without USB gadget UVC enabled, this vulnerability cannot be exploited. The race condition is difficult to trigger reliably and requires specific timing or system configuration. Systems without power management features or that do not use USB gadget UVC are not at risk.

Impact

This is a localized denial of service vulnerability with moderate real-world risk. The CVSS score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) correctly reflects the attack vector (local only), low complexity, requirement for low privileges, and high availability impact. The EPSS score of 0.02% (percentile 7%) is notably lower than the CVSS suggests, indicating low probability of widespread exploitation despite the high CVSS. This discrepancy is explained by the specific exploitation conditions: the vulnerability requires (1) local user access with low privileges, (2) an active USB gadget UVC configuration, and (3) a power management transition (suspend/resume cycle) occurring while the gadget is in an unbind state. These conditions are rarely present in typical deployed systems, explaining the low EPSS despite high CVSS. The vulnerability is not marked as actively exploited (no KEV status provided), suggesting this is a patching priority for systems running USB gadget UVC profiles in power-sensitive environments (embedded devices, mobile platforms, IoT gateways), but low urgency for traditional server/desktop deployments. The race condition requires specific timing, making it non-trivial to exploit reliably outside controlled environments.

Exploit ScenarioDerived

An unprivileged local user on a system with a USB gadget UVC configuration (such as an embedded device or IoT gateway presenting itself as a USB video camera) triggers a power management suspend transition while the USB gadget is active or being unbound. When the PM subsystem freezes user space processes, the wait_event_interruptible_timeout() in uvc_function_unbind() is interrupted prematurely, allowing the unbind thread to proceed and nullify the gadget pointer. When the system resumes and tasks are restarted, the V4L2 device release code attempts to deactivate the USB function by accessing the nullified gadget pointer, triggering a kernel NULL pointer dereference and causing the system to panic, achieving a denial of service.

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

A NULL pointer dereference in the Linux kernel USB gadget UVC (USB Video Class) driver during power management transitions allows local authenticated attackers with low privileges to cause a kernel panic and denial of service. The vulnerability occurs when the PM subsystem freezes user space processes during suspend, causing wait_event_interruptible_timeout() to abort early in uvc_function_unbind(), which nullifies the gadget pointer. When tasks are restarted, the V4L2 release path attempts to access the already nullified pointer, triggering a kernel panic. Patches are available across multiple kernel versions (5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12, 7.0).

RemediationAI

Update the Linux kernel to a patched version immediately: for 5.10 series upgrade to 5.10.253 or later, for 5.15 series upgrade to 5.15.203 or later, for 6.1 series upgrade to 6.1.168 or later, for 6.6 series upgrade to 6.6.134 or later, for 6.12 series upgrade to 6.12.81 or later, for 6.18 series upgrade to 6.18.22 or later, for 6.19 series upgrade to 6.19.12 or later, or for 7.0 upgrade to the latest 7.0 release. Patch details are available from the kernel.org stable tree commits listed in references. As a workaround on affected systems, disable USB gadget UVC functionality if not required by setting CONFIG_USB_GADGET_UVC=n at compile time, or by unloading the g_webcam or similar UVC gadget modules if dynamically loaded. This workaround eliminates the vulnerable code path but prevents use of UVC-based USB gadget features. For systems requiring UVC gadget functionality, patching is mandatory. Systems should apply the patch during a scheduled maintenance window, as reboot is typically required to load the updated kernel.

Affected VersionsENISA

Linux patch: 7.0
Linux patch: 6.1.168
Linux b81ac4395bbeaf36e078dea1a48c02dd97b76235 <1aa9356881ee4ed414bf72d0c56d915492cb5345
Linux patch: 5.10.253
Linux patch: 6.19.12
Linux b81ac4395bbeaf36e078dea1a48c02dd97b76235 <eba2936bbe6b752a31725a9eb5c674ecbf21ee7d
Linux b81ac4395bbeaf36e078dea1a48c02dd97b76235 <c78e463ee134b4669579d453c81ae00795e4c19a
Linux 1444e0568bc2c70868e7b8da5b46fc2252acc3f5 <0c00ec409d7b2bce3fcac73188b79a141db7cfda
Linux b81ac4395bbeaf36e078dea1a48c02dd97b76235 <0587de744615628c38e33ddc1601160a5ea8c50a
Linux b81ac4395bbeaf36e078dea1a48c02dd97b76235 <8a1128d604c360eca135f15b882b70256a522145
Linux e10735ce87502b07e171727e574afdd6c0890a08
Linux patch: 6.18.22
Linux b81ac4395bbeaf36e078dea1a48c02dd97b76235 <c038ba56b92e410d1caec22b2dc68780a0b42091
Linux patch: 5.15.203
Linux patch: 6.6.134
Linux 4962e5a2f301d24953f17d6748d986e21566abe1 <d92d1532e05b1b31d36d48765e43bf73d793d19f
Linux patch: 6.12.81
Linux patch: 0
Linux 5.18

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 vulnerability affects the USB gadget subsystem, specifically the UVC (USB Video Class) function driver in the Linux kernel. The root cause is a race condition (CWE-476: NULL Pointer Dereference) between the unbind path and the V4L2 release callback during power management state transitions. The original commit b81ac4395bbe attempted to fix earlier kernel panics using timing-based synchronization with wait_event_interruptible_timeout(), but this approach is vulnerable to interruption by the PM subsystem when freezing user space processes. The fix introduces explicit state synchronization using a 'func_unbound' flag protected by a mutex (uvc->lock) to prevent access to the nullified cdev->gadget pointer, and uses a completion primitive to synchronize uvc_function_unbind() with uvc_vdev_release(), preventing use-after-free conditions. The CPE indicates the vulnerability affects all versions of the Linux kernel, with specific patched versions identified in stable branches.

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 - 16:37 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: uvc: fix NULL pointer dereference during unbind race

Commit b81ac4395bbe ("usb: gadget: uvc: allow for application to cleanly shutdown") introduced two stages of synchronization waits totaling 1500ms in uvc_function_unbind() to prevent several types of kernel panics. However, this timing-based approach is insufficient during power management (PM) transitions.

When the PM subsystem starts freezing user space processes, the wait_event_interruptible_timeout() is aborted early, which allows the unbind thread to proceed and nullify the gadget pointer (cdev->gadget = NULL):

[ 814.123447][ T947] configfs-gadget.g1 gadget.0: uvc: uvc_function_unbind() [ 814.178583][ T3173] PM: suspend entry (deep) [ 814.192487][ T3173] Freezing user space processes [ 814.197668][ T947] configfs-gadget.g1 gadget.0: uvc: uvc_function_unbind no clean disconnect, wait for release

When the PM subsystem resumes or aborts the suspend and tasks are restarted, the V4L2 release path is executed and attempts to access the already nullified gadget pointer, triggering a kernel panic:

[ 814.292597][ C0] PM: pm_system_irq_wakeup: 479 triggered dhdpcie_host_wake [ 814.386727][ T3173] Restarting tasks ... [ 814.403522][ T4558] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000030 [ 814.404021][ T4558] pc : usb_gadget_deactivate+0x14/0xf4 [ 814.404031][ T4558] lr : usb_function_deactivate+0x54/0x94 [ 814.404078][ T4558] Call trace: [ 814.404080][ T4558] usb_gadget_deactivate+0x14/0xf4 [ 814.404083][ T4558] usb_function_deactivate+0x54/0x94 [ 814.404087][ T4558] uvc_function_disconnect+0x1c/0x5c [ 814.404092][ T4558] uvc_v4l2_release+0x44/0xac [ 814.404095][ T4558] v4l2_release+0xcc/0x130

Address the race condition and NULL pointer dereference by:

  1. State Synchronization (flag + mutex)

Introduce a 'func_unbound' flag in struct uvc_device. This allows uvc_function_disconnect() to safely skip accessing the nullified cdev->gadget pointer. As suggested by Alan Stern, this flag is protected by a new mutex (uvc->lock) to ensure proper memory ordering and prevent instruction reordering or speculative loads. This mutex is also used to protect 'func_connected' for consistent state management.

  1. Explicit Synchronization (completion)

Use a completion to synchronize uvc_function_unbind() with the uvc_vdev_release() callback. This prevents Use-After-Free (UAF) by ensuring struct uvc_device is freed after all video device resources are released.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% 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

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

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