Skip to main content

Linux Kernel EUVDEUVD-2026-48871

| CVE-2026-64327 MEDIUM
2026-07-25 Linux GHSA-gjhh-5f46-ffh6
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Open FunctionFS endpoint file before host connect
  2. Delivery
    Issue FUNCTIONFS_DMABUF_ATTACH ioctl
  3. Exploit
    Read uninitialized epfile->in (zero)
  4. Execution
    Kernel configures DMA in wrong direction
  5. Impact
    Kernel crash or hang (A:H)

Vulnerability Assessment

Exploitation Conditions

Exploitation requires: (1) a system running Linux with USB gadget hardware and FunctionFS (configfs + FunctionFS) mounted and configured with endpoint descriptors; (2) a local account with sufficient privileges to open FunctionFS endpoint device nodes (typically requiring udc-bound gadget setup); and (3) the FUNCTIONFS_DMABUF_ATTACH ioctl issued during the window after endpoint descriptor parsing but before USB host enumeration triggers ffs_func_eps_enable(). Systems without USB gadget hardware, without FunctionFS configured, or that never issue DMABUF ioctls before host connection are not affected. The timing race and specialized hardware requirement substantially limit real-world exploitability beyond the raw CVSS score.

Impact

CVSS 3.1 base score 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) correctly captures the local, low-privilege, availability-only nature of this flaw. EPSS at 0.21% (11th percentile) confirms negligible opportunistic exploitation probability. The vulnerability is absent from CISA KEV and no POC is publicly available. Practical exploitation requires specialized hardware (USB gadget-capable device), FunctionFS mounted and configured, a local account with access to endpoint device nodes, and a race against the USB host enumeration sequence - all substantially narrowing real-world risk. The input 'Information Disclosure' tag is inconsistent with the CVSS confidentiality metric of N; the true impact is kernel availability (crash/hang), not data leakage. Despite the Linux kernel having ubiquitous deployment, the FunctionFS + DMABUF code path is confined to embedded and USB development environments, not typical enterprise servers.

Exploit ScenarioDerived

A local user with access to FunctionFS endpoint files on a USB gadget-configured embedded device opens an endpoint file and calls FUNCTIONFS_DMABUF_ATTACH before the USB host has completed enumeration. Because epfile->in is still zero at this point, the kernel sets up DMA in the wrong direction, corrupting internal state and triggering a kernel panic or hang. No POC code has been publicly identified.

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

The USB gadget FunctionFS (f_fs) subsystem in the Linux kernel fails to initialize the endpoint direction field (epfile->in) until USB host connection, leaving it zero when userspace performs early DMA ioctl calls such as FUNCTIONFS_DMABUF_ATTACH before a host connects. This incorrect DMA direction causes kernel-mode availability loss - crashes or hangs - on systems actively using FunctionFS-based USB gadgets with DMABUF. No public exploit has been identified, and EPSS probability stands at 0.21% (11th percentile), reflecting very low opportunistic exploitation risk.

RemediationAI

Update to a patched Linux kernel stable release: 6.12.96, 6.18.39, 7.1.4, or 7.2-rc3, using the fix commits available at git.kernel.org/stable/c/82cf1142e5ccf2b6d6d22ef713aaf3e5f2b5716b, 9e04055ab5fc0470a0031ee6934739f9aa8f34a5, f99f32ea9aa976afcbec20647ed33b50a52002c1, and 82cfd4739011bdc7e87b5d585703427e89ddfaa5. As a compensating control on unpatched systems, restrict filesystem permissions on FunctionFS endpoint device nodes so only trusted processes can open them and issue DMA ioctls - this prevents the race condition from being triggered by unprivileged users. Systems that do not use USB gadget functionality can also unload or blacklist the usb_f_fs kernel module (modprobe -r usb_f_fs), eliminating the attack surface entirely with no functional trade-off in non-gadget environments.

Affected VersionsENISA

Linux patch: 6.12.96
Linux 7b07a2a7ca02a20124b552be96c5a56910795488 <82cfd4739011bdc7e87b5d585703427e89ddfaa5
Linux patch: 6.18.39
Linux patch: 7.1.4
Linux 6.9
Linux patch: 0
Linux 7b07a2a7ca02a20124b552be96c5a56910795488 <f99f32ea9aa976afcbec20647ed33b50a52002c1
Linux 7b07a2a7ca02a20124b552be96c5a56910795488 <9e04055ab5fc0470a0031ee6934739f9aa8f34a5
Linux patch: 7.2-rc3
Linux 7b07a2a7ca02a20124b552be96c5a56910795488 <82cf1142e5ccf2b6d6d22ef713aaf3e5f2b5716b

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 drivers/usb/gadget/function/f_fs.c within the Linux kernel's FunctionFS gadget driver, which allows userspace to implement USB gadget functions via a mounted filesystem interface. The epfile->in field marks whether an endpoint is IN (device-to-host) or OUT (host-to-device) and is used to set the correct DMA transfer direction when attaching DMA buffers via the FUNCTIONFS_DMABUF_ATTACH ioctl. Previously, this field was only populated in ffs_func_eps_enable(), called exclusively upon USB host enumeration. Any userspace ioctl issued before host connection would therefore read epfile->in as 0, treating IN endpoints as OUT or vice versa, corrupting DMA state. The fix moves the initialization into ffs_epfiles_create(), which executes during endpoint descriptor parsing - before any userspace opens endpoint files. No CWE is formally assigned, but this maps to CWE-665 (Improper Initialization). Affected kernel commit range begins from 7b07a2a7ca02a20124b552be96c5a56910795488 (when DMABUF support was introduced to FunctionFS).

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 low-privilege access to FunctionFS endpoint nodes required; incorrect DMA direction causes kernel crash (A:H) with no confidentiality or integrity impact.

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:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
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

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: Initialize epfile->in early to fix endpoint direction checks

When parsing endpoint descriptors, ffs_data_got_descs() generates the eps_addrmap which contains the endpoint direction. However, epfile->in was previously only populated in ffs_func_eps_enable() which executes upon USB host connection. As a result, early userspace ioctls like FUNCTIONFS_DMABUF_ATTACH that run before the host connects would see epfile->in as 0, leading to incorrect DMA directions.

By moving the initialization to ffs_epfiles_create(), epfile->in is accurate before userspace opens the endpoint files.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Ubiquitous
Linux kernel underlies most servers, embedded, and mobile deployments
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.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