Skip to main content

Linux Kernel EUVDEUVD-2026-80630

| CVE-2026-90022 HIGH
2026-09-16 Linux GHSA-3v5g-8x87-gm3v
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Gain local privileged configfs access
  2. Delivery
    Configure f_midi2 gadget function
  3. Exploit
    Concurrently read and write a string attribute
  4. Execution
    Win show-vs-store race on freed pointer
  5. Persist
    UAF read leaks freed memory / oops
  6. Impact
    Denial of service or marginal info leak

Vulnerability Assessment

Exploitation Conditions

Requires local privileged access to the USB gadget configfs interface (CONFIG_USB_GADGET with the f_midi2 function configured; mounting and writing gadget attributes needs CAP_SYS_ADMIN). The attacker must concurrently read and write one of the f_midi2 string attributes (iface_name, a block name, or an EP string option) to win the race in which f_midi2_opts_str_store() frees the old string under opts->lock while a caller has already dereferenced opts->info.<field> outside that lock. Limiting factors: root/privileged local access, a device configured in USB gadget/device mode with f_midi2, and successful timing of a narrow race window - this is not remotely reachable and does not affect kernels predating the f_midi2 driver (roughly pre-6.6).

Impact

This is a classic configfs attribute-handling race in the USB MIDI 2.0 gadget function driver (f_midi2), tracked as a use-after-free (CWE-416 / CWE-362). The vendor CVSS is 7.8 (AV:L/AC:L/PR:L/C:H/I:H/A:H), but that score is over-stated on several axes. The vulnerable code lives in USB gadget configfs, which is only reachable by a privileged local process (mounting/populating configfs and configuring a gadget function requires CAP_SYS_ADMIN), so PR should be H, not L. Exploitation depends on winning a tight race between the show and store paths on a string attribute, so AC should be H, not L. The primary impact is a UAF read of a freed string that is copied back to userspace - that yields a small, non-deterministic kernel info leak (justifying C:L) and a likely crash/DoS (A:H), rather than full C:H/I:H compromise. Realistically this is a low-to-moderate local DoS with a marginal info-leak, not a high-priority issue. No EPSS, no KEV, and no public POC are present in the input; exploitation status is 'no public exploit identified at time of analysis.' Note the CVSS attack vector (AV:L) is consistent with the description (configfs / local), so there is no network-vs-local conflict to flag.

Exploit ScenarioDerived

A local privileged process that manages the USB gadget via configfs repeatedly reads a f_midi2 string attribute (iface_name, a block name, or an endpoint string) while a second thread concurrently writes the same attribute. If the write frees the old string between the caller dereferencing opts->info.<field> and the show routine taking opts->lock, the read touches freed memory - leaking freed kernel bytes to userspace and/or crashing the kernel. No public exploit code is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 16, 2026

Use-after-free in the Linux kernel's USB MIDI 2.0 gadget function driver (f_midi2) allows a local attacker who already holds privileged access to the gadget configfs interface to corrupt or read freed memory by winning a narrow race between a string attribute's show path and a concurrent store. The show handler f_midi2_opts_str_show() dereferences opts->info.<field> before acquiring opts->lock, while f_midi2_opts_str_store() frees the previous string under that same lock, so a colliding read can touch a pointer that has already been released - affecting iface_name, block name, and the EP string option attributes. Exploitation requires CAP_SYS_ADMIN-level local access to configfs on a kernel built with USB gadget support and f_midi2 configured; it is not remotely reachable, and no public exploit code or confirmed active exploitation was identified at time of analysis. NVD scores this at CVSS 3.1 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), while our independent assessment rates it lower (AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H) because of the privileged prerequisite and the narrow, timing-dependent race window.

RemediationAI

Apply the vendor-released kernel patches: upgrade to 6.6.157, 6.12.110, 6.18.51, or 7.2.5 depending on your stable branch, or to 7.3-rc2 or later on mainline; the specific upstream commits are f9bdf4c4f6410a1dfafafa383a0e21069372657f, d11f3300b39e2daad2f0d9d66ddcc39a156cb594, e89e30f0b5d3004fe5955250bd8b04f3733e32ce, 49fab5e1bdb205c36c965d0e9677bc40d282d3a2, and fed0aa7c6eaedc6c0d4e362fc91724aa47be4a7b, per https://nvd.nist.gov/vuln/detail/CVE-2026-90022. If immediate patching is not possible, the practical compensating control is to deny the prerequisite privilege rather than to patch code: the race is only reachable by a local process that can mount or already has writable access to the gadget configfs tree (CAP_SYS_ADMIN), so restrict configfs gadget administration to fully trusted root contexts, and consider blocking unprivileged user namespaces or container workloads from reaching the USB gadget subsystem, accepting that this may break legitimate gadget configuration tooling and containers that enumerate configfs. Where the f_midi2 MIDI 2.0 gadget function is not actually used, do not enable it at build time or blacklist/avoid loading the module (e.g., via module deny-listing or trimming the kernel config), which removes the vulnerable attributes entirely at the cost of losing MIDI 2.0 gadget functionality. Because the window is a narrow, timing-dependent race between a show and a concurrent store on iface_name, a block name, or an EP string option, avoiding concurrent attribute churn from multiple admin processes reduces but does not eliminate exposure; input-output is a use-after-free, so memory-corruption hardening such as slab quarantine/init-on-alloc and KASAN only detect or make exploitation harder and are not substitutes for the fix. No public exploit code was identified at time of analysis, and there is no confirmed active exploitation, so the primary urgency is standard patch-cycle prioritization for locally privileged kernel UAFs rather than emergency response.

Affected VersionsENISA

Linux 0 <6.6.157
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d11f3300b39e2daad2f0d9d66ddcc39a156cb594
Linux 0 <6.12.110
Linux patch: 6.6.157
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e89e30f0b5d3004fe5955250bd8b04f3733e32ce
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f9bdf4c4f6410a1dfafafa383a0e21069372657f
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <49fab5e1bdb205c36c965d0e9677bc40d282d3a2
Linux patch: 7.2.5
Linux patch: 6.12.110
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <fed0aa7c6eaedc6c0d4e362fc91724aa47be4a7b
Linux 0 <7.2.5
Linux patch: 7.3-rc2
Linux 0 <6.18.51
Linux patch: 6.18.51

Affected Packages

euvd linux fix: 6.6.157, 6.12.110, 6.18.51, 7.2.5

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 flaw lives in the f_midi2 USB gadget function driver, part of the kernel's configfs-based USB gadget subsystem (CONFIG_USB_GADGET plus the f_midi2 function), which lets privileged users describe USB MIDI 2.0 device functions - interface names, block names, and endpoint string options - through writable kernel objects. The root cause is the classic combination of CWE-416 (use-after-free) with CWE-362 (concurrent execution using a shared resource with improper synchronization): the string-show callers read opts->info.<field>, a raw char pointer, outside opts->lock, and only then call f_midi2_opts_str_show(), which itself takes the lock before copying the string. Because f_midi2_opts_str_store() releases the old string under the lock when the attribute is rewritten, the unlocked pre-lock dereference in the show path can observe a pointer that has already been freed. The upstream fix changes f_midi2_opts_str_show() to accept a pointer to the string field rather than the already-dereferenced value, mirroring the existing store-path pattern, and updates the three callers accordingly so the pointer is only resolved once the lock is held. Affected CPE entries resolve to linux:linux; EUVD lists vulnerable ranges as fixed below 6.6.157, 6.12.110, 6.18.51, and 7.2.5, with the fix also landing in 7.3-rc2. This driver is comparatively recent, so kernels predating the f_midi2 function (roughly pre-6.6) are not affected.

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

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.2 MEDIUM

Configfs gadget config needs root (PR:H) and the show-vs-store race must be won (AC:H); freed-string copy-to-user gives a marginal leak (C:L) and slab corruption (I:L), with crash-driven DoS (A:H).

3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
4.0 AV:L/AC:H/AT:N/PR:H/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE 3.0 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:L
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Sep 16, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Sep 16, 2026 - 11:03 EUVD
CVE Published
Sep 16, 2026 - 10:33 cve.org
UNKNOWN (no severity yet)
CVE Published
Sep 16, 2026 - 10:33 cve.org
HIGH 7.8

DescriptionCVE.org

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

usb: gadget: f_midi2: fix use-after-free in string attribute show path

f_midi2_opts_str_show() takes the string lock internally, but its callers dereference the opts->info.<field> pointer before calling it, outside the lock. This races with f_midi2_opts_str_store(), which frees the old string under opts->lock when the attribute is written concurrently, the show path can read a pointer that gets freed before the lock inside str_show() is even taken.

Change f_midi2_opts_str_show() to take a pointer to the string field, matching the existing pattern in f_midi2_opts_str_store(), and dereference it only after the lock is held. Update all three callers (iface_name, block name, and the EP string option macro) accordingly.

Executive ViewAI

Why It Matters

A high-severity memory corruption vulnerability in the Linux kernel's USB MIDI 2.0 gadget driver (f_midi2) could allow an authenticated local user with elevated privileges to compromise affected systems, potentially exposing sensitive data or disrupting operations. Organizations running Linux-based devices configured as USB MIDI 2.0 gadgets are affected, but exploitation requires local privileged access and no public exploit or confirmed active exploitation was identified at time of analysis. A vendor patch is available and should be applied through regular kernel maintenance to reduce risk.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche USB MIDI 2.0 gadget function, embedded/OTG device-mode only, added ~6.5
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Medium

Priority Score

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

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

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
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
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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