Skip to main content

Linux Kernel CVE-2026-68175

| EUVDEUVD-2026-55276 MEDIUM
Memory Leak (CWE-401)
2026-08-10 Linux GHSA-frw4-mrvx-h68w
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain privileged local shell
  2. Delivery
    Set current_tracer to mmiotrace
  3. Exploit
    Repeatedly open/close trace_pipe without full read
  4. Execution
    Leak header_iter and pci_dev refs each cycle
  5. Impact
    Exhaust kernel memory causing denial of service

Vulnerability Assessment

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

Requires that the mmiotrace tracer be the active tracer (CONFIG_MMIOTRACE compiled in and 'mmiotrace' written to /sys/kernel/tracing/current_tracer, a privileged tracefs operation), after which an actor repeatedly opens /sys/kernel/tracing/trace_pipe and releases it without reading to completion. Limiting factors that reduce realistic risk: exploitation is local only (no network vector), tracefs/debugfs access and tracer selection are normally restricted to root, the mmiotrace feature must be built and enabled, and reading trace_pipe to completion releases the resources and avoids the leak. This is an operator/config-dependent condition, not a default-configuration exposure.

Impact

This is a genuinely low-priority issue despite a 'medium' 5.5 CVSS. The supplied CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) describes a purely local, availability-only impact (kernel memory exhaustion) with no confidentiality or integrity loss, consistent with CWE-401 (missing release of memory). EPSS reinforces this: 0.20% probability at the 10th percentile, i.e. very low expected exploitation. It is NOT in CISA KEV (no confirmed active exploitation) and no public exploit reference is present in the input - the references are vendor advisories and upstream git commits, not exploit code, so this is no public exploit identified at time of analysis. The vuln.today Decision label is 'this_month', i.e. routine patching within the maintenance cycle rather than an emergency. One signal to flag: the input CVSS uses PR:L, but activating the mmiotrace tracer requires writing to tracefs control files (/sys/kernel/tracing/current_tracer), which is a root/privileged operation on default systems - the realistic privilege requirement is higher than PR:L implies, further lowering practical risk. Net: a resource-leak DoS reachable essentially only by an already-privileged local actor; patch on normal cadence, not an incident.

Exploit ScenarioDerived

A local user with the ability to control kernel tracing sets mmiotrace as the active tracer, then repeatedly opens /sys/kernel/tracing/trace_pipe and closes it without reading to completion (e.g. 'head -n 1' in a loop). Each open-without-full-read leaks a header_iter allocation and a stale pci_dev reference, and sustained repetition exhausts kernel memory to degrade or crash the host. No public exploit code is identified; the attack is a trivial shell loop rather than a weaponized exploit.

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 – Dec 03, 2026

A resource leak in the Linux kernel's mmiotrace tracer causes each open-and-release cycle of /sys/kernel/tracing/trace_pipe to leak a header_iter allocation and leave a stale pci_dev reference behind. Affected are kernels built with CONFIG_MMIOTRACE where mmiotrace has been written to current_tracer - a privileged tracefs operation - after which an actor repeatedly opens and closes trace_pipe without reading it to completion; closing the file only invokes the tracer's .pipe_close callback, which mmiotrace never wired up. The issue is local-only and requires high privileges (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H in our assessment), EPSS is 0.20% (10th percentile), no public exploit has been identified at time of analysis, and vendor patches are available for the 6.6, 6.12, 6.18, 7.1 and 7.2-rc branches.

RemediationAI

Vendor-released patch: upgrade to Linux 6.6.148, 6.12.101, 6.18.42, 7.1.6 or 7.2-rc5 (or a later release on the same branch), or apply the corresponding stable commit listed in the kernel.org references; Ubuntu users should install the kernels from USN-8876-1, USN-8877-1, USN-8878-1 or USN-8879-1. Because the fix simply wires .pipe_close to mmio_close, backporting that single change is sufficient. Where updating is not immediately possible, the exposure is bounded by configuration rather than by any network-facing surface: do not enable the mmiotrace tracer (avoid writing 'mmiotrace' to /sys/kernel/tracing/current_tracer) and keep tracefs/debugfs access restricted to trusted administrators, since tracer selection is a privileged operation and the leak cannot be triggered without mmiotrace being the active tracer. Building the kernel without CONFIG_MMIOTRACE removes the vulnerable code path entirely, at the cost of losing mmiotrace-based MMIO debugging capability. Operators who do use mmiotrace should ensure trace_pipe is read to completion, since the cleanup path runs on a full read and the leak only occurs on early close; note that this is a usage discipline, not an enforced control.

Affected VersionsENISA

Linux patch: 6.18.42
Linux c521efd1700a8c0f7ce26f011f5eaecca17fabfa <cf5a82bef623b969a609f2b7e392d06dbae34aa6
Linux c521efd1700a8c0f7ce26f011f5eaecca17fabfa <594e1cf3f736779a535873fd5988162d827bfe4f
Linux c521efd1700a8c0f7ce26f011f5eaecca17fabfa <f9e6dfe341fb31c95b9655eb6b1db8b3ae090817
Linux c521efd1700a8c0f7ce26f011f5eaecca17fabfa <c1d87e724ae55e781b7cc7ccafb34d9e668582b2
Linux patch: 0
Linux patch: 6.12.101
Linux c521efd1700a8c0f7ce26f011f5eaecca17fabfa <cb459fec4f7b13caf646101ff076e94ef38434d8
Linux patch: 7.1.6
Linux patch: 6.6.148
Linux 2.6.33
Linux patch: 7.2-rc5

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

mmiotrace is a tracefs tracer that captures memory-mapped I/O performed by device drivers, and it has existed since 2008. Its mmio_pipe_open() handler allocates a header_iter and takes a reference on a pci_dev when trace_pipe is opened, and mmio_close() releases those resources - but mmio_close() was wired only to the tracer's .close callback. The generic tracing_release_pipe() path invokes .pipe_close rather than .close when the trace_pipe file is released, and a .pipe_close pointer was only added to the tracer structure in 2009; mmiotrace was never updated to use it. Consequently, releasing trace_pipe while mmiotrace is the active tracer leaks the header_iter allocation and leaves an unbalanced pci_dev reference. The fix sets .pipe_close to mmio_close, mirroring how the function_graph tracer wires both callbacks to the same handler. This is CWE-401 (Missing Release of Memory After Effective Lifetime): the defect is a life-cycle callback wiring mismatch, not a memory corruption or boundary error, so the realistic impact is cumulative kernel memory and device-reference exhaustion under repeated use rather than code execution or data disclosure. Note that reading trace_pipe to completion does run the cleanup, so the leak only manifests on early close; CPE data identifies the affected package generically as linux:linux, and the flaw applies to any build where CONFIG_MMIOTRACE is enabled and the tracer has been selected.

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 4.4 MEDIUM

Enabling mmiotrace requires root write access to tracefs, so PR:H; attack is local and simple (AV:L/AC:L); only kernel memory exhaustion applies, so C:N/I:N/A:H.

3.1 AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

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
Dec 03, 2026 - 14:07 NVD
5.5 (MEDIUM)
Patch available
Aug 10, 2026 - 14:18 EUVD
CVE Published
Aug 10, 2026 - 11:59 nvd
MEDIUM 5.5
CVE Published
Aug 10, 2026 - 11:59 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

tracing: Fix resource leak on mmiotrace trace_pipe close

The mmiotrace tracer was added May 12th 2008. At that time, resources created in pipe_open() could not be freed because there was not pipe_close function pointer of the tracer. The pipe_close function pointer was added in December 7th, 2009, but the mmiotrace tracer was not updated.

mmio_pipe_open() allocates a header_iter and takes a pci_dev reference when trace_pipe is opened. mmio_close() frees them, but it was only wired to the tracer's .close callback.

tracing_release_pipe() invokes .pipe_close, not .close, when the trace_pipe file is released. As a result, closing trace_pipe with the mmiotrace tracer active leaked the header_iter allocation and left a stale pci_dev reference.

Set .pipe_close to mmio_close, matching how function_graph wires both callbacks to the same handler.

Note, if the trace_pipe is read to completion, it will clean up the resources, but if one were to run:

head -n 1 /sys/kernel/tracing/trace_pipe

VERSION 20070824

Over and over again, it would trigger a massive leak.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Ubiquitous
Linux kernel runs on a huge fraction of production systems worldwide
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
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.

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