Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain privileged local shell
-
DeliverySet current_tracer to mmiotrace
-
ExploitRepeatedly open/close trace_pipe without full read
-
ExecutionLeak header_iter and pci_dev refs each cycle
-
ImpactExhaust 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-55276
GHSA-frw4-mrvx-h68w
NVD
CVE.org
EPSS
VulDB
Exploit-DB