Skip to main content

Linux Kernel EUVDEUVD-2026-48872

| CVE-2026-64328 MEDIUM
Memory Leak (CWE-401)
2026-07-25 Linux GHSA-rwqh-f7g9-w86h
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Obtain local low-privilege shell access
  2. Delivery
    Load or confirm usb_f_fs gadget module is active
  3. Exploit
    Mount FunctionFS and configure DMA buffer interface
  4. Install
    Repeatedly invoke ffs_dmabuf_transfer() to allocate ffs_dma_fence objects
  5. C2
    Accumulate unreleased fence references in kernel memory
  6. Execute
    Exhaust kernel memory pool
  7. Impact
    Trigger OOM or system degradation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires a local user account with at least low-level operating system privileges (PR:L, per CVSS). The vulnerable code path in ffs_dmabuf_transfer() is reached only when the USB gadget FunctionFS (f_fs) subsystem is in use and DMA buffer transfer operations are performed - specifically, the usb_f_fs kernel module must be loaded and a FunctionFS gadget must be configured and active. Systems that do not use USB gadget mode, do not load the usb_f_fs module, or do not expose the FunctionFS interface are entirely unaffected. The impact is limited to availability (memory exhaustion) and develops slowly through repeated operations rather than from a single trigger.

Impact

The CVSS 5.5 score with AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately represents this as a local, low-privilege memory leak with no confidentiality or integrity impact. EPSS at 0.21% (11th percentile) is consistent with that characterization: reliable exploitation requires sustained local access and repeated DMA operations rather than a single packet or request. The vulnerability is absent from CISA KEV and no public exploit code exists, reinforcing that this is not being actively weaponized. Even a mid-sized municipal IT team in ustka operating embedded Linux appliances with USB gadget firmware should treat this as a standard patch-cycle item rather than an emergency incident. Practical impact is most significant on long-running resource-constrained devices - embedded routers, USB tethering systems, or gadget-mode single-board computers - where the leak accumulates over days to weeks of sustained operation. General-purpose servers that do not load usb_f_fs are entirely unaffected. The combination of low EPSS, absence from KEV, and requirement for local access places this firmly in the routine maintenance tier of risk.

Exploit ScenarioDerived

A local user with low-level privileges on an embedded Linux device operating in USB gadget mode - such as a USB tethering appliance or IoT gateway - continuously initiates DMA buffer transfers through the FunctionFS interface, causing the kernel to allocate ffs_dma_fence objects that are never reclaimed. Over hours or days of operation, the unchecked accumulation of these objects gradually exhausts kernel memory, ultimately triggering OOM conditions or system instability on the resource-constrained device.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 04, 2026

Kernel memory leak in the Linux USB gadget FunctionFS (f_fs) subsystem allows a local low-privileged user to slowly exhaust kernel memory by repeatedly triggering DMA buffer transfers via the ffs_dmabuf_transfer() code path. Affected kernels span from the commit introducing DMA buffer sharing (7b07a2a7ca02) through versions prior to 6.12.96, 7.1.4, and 7.2-rc3. The root cause is a missing dma_fence_put() call after dma_resv_add_fence(), leaving the initial kref permanently outstanding and causing ffs_dma_fence objects to accumulate without ever being freed. No public exploit has been identified at time of analysis.

RemediationAI

Upgrade to a patched Linux kernel version: 6.12.96, 7.1.4, or 7.2-rc3 or later, per the upstream fix commits at git.kernel.org/stable/c/b7475b2dce5e121e687280ba5732ccefe77ffd2f, git.kernel.org/stable/c/0cae3d6109427c455bad0a18dfb3e2a91657e38a, git.kernel.org/stable/c/baa6b6068a3f2bf2ed525a1cb37975905dadc658, and git.kernel.org/stable/c/e086c16962a1b0142e2675610e9c06fcfcd4c3a8. On systems where patching is not immediately possible, the attack surface can be fully eliminated by preventing the usb_f_fs kernel module from loading (blacklist usb_f_fs in /etc/modprobe.d/) or by restricting access to the FunctionFS mount point, with the trade-off of disabling USB gadget functionality. Systems that do not use USB gadget mode at all require no action beyond routine kernel maintenance.

Affected VersionsENISA

Linux 7b07a2a7ca02a20124b552be96c5a56910795488 <b7475b2dce5e121e687280ba5732ccefe77ffd2f
Linux 7b07a2a7ca02a20124b552be96c5a56910795488 <0cae3d6109427c455bad0a18dfb3e2a91657e38a
Linux patch: 6.18.39
Linux 7b07a2a7ca02a20124b552be96c5a56910795488 <baa6b6068a3f2bf2ed525a1cb37975905dadc658
Linux patch: 7.2-rc3
Linux 7b07a2a7ca02a20124b552be96c5a56910795488 <e086c16962a1b0142e2675610e9c06fcfcd4c3a8
Linux 6.9
Linux patch: 0
Linux patch: 7.1.4
Linux patch: 6.12.96

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 resides in the Linux kernel's USB gadget FunctionFS (f_fs) subsystem within the DMA buffer sharing implementation in ffs_dmabuf_transfer(). DMA fences (struct dma_fence) use kernel reference counting (kref) to govern object lifetimes: dma_fence_init() sets kref to 1, and dma_resv_add_fence() acquires a second reference on behalf of the DMA reservation object. The bug, classified as CWE-401 (Missing Release of Memory after Effective Lifetime), is that the original reference is never dropped after ownership is transferred to the reservation object. The ffs_dmabuf_cleanup() function only balances the grab performed by ffs_dmabuf_signal_done(), so the initial reference remains permanently outstanding. The minimal one-line fix - inserting dma_fence_put() immediately after dma_resv_add_fence() - correctly transfers ownership so the reservation object becomes the sole holder and releases the fence upon signaling. CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

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
vuln.today AI 5.5 MEDIUM

Local access with low privileges required to use the USB gadget DMA interface; impact is kernel memory exhaustion only, with no confidentiality or integrity effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
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

4
CVSS changed
Sep 04, 2026 - 14:52 NVD
5.5 (MEDIUM)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:49 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 25, 2026 - 08:49 nvd
MEDIUM 5.5

DescriptionNVD

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

usb: gadget: f_fs: Fix DMA fence leak

In ffs_dmabuf_transfer(), a ffs_dma_fence object is kmalloc'd, with the underlying dma_fence later initialized by dma_fence_init(), which sets its kref counter to 1. Then, dma_resv_add_fence() gets a second reference, and a pointer to the ffs_dma_fence is passed as the usb_request's "context" field.

The dma-resv mechanism will manage the second reference, but the first reference is never properly released; the ffs_dmabuf_cleanup() function decreases the reference count, but only to balance with the reference grab in ffs_dmabuf_signal_done().

The code will then slowly leak memory as more ffs_dma_fence objects are created without being ever freed.

Address this issue by transferring ownership of the fence to the DMA reservation object, by calling dma_fence_put() right after dma_resv_add_fence(). The ffs_dma_fence then gets properly discarded after being signalled.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Ubiquitous
Linux kernel underlies the vast majority of cloud, server, and embedded deployments
Data Quality
4 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.2%
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

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

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected

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