CVE-2026-68175
tracing: Fix resource leak on mmiotrace trace_pipe close
Description
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.
INFO
Published Date :
Aug. 10, 2026, 1:20 p.m.
Last Modified :
Aug. 17, 2026, 5:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Set .pipe_close to mmio_close.
- Ensure trace_pipe is read to completion to clean up resources.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-68175.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-68175 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-68175
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-68175 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-68175 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': 'f9e6dfe341fb31c95b9655eb6b1db8b3ae090817', 'versionType': 'git'}, {'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': '594e1cf3f736779a535873fd5988162d827bfe4f', 'versionType': 'git'}, {'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': 'cf5a82bef623b969a609f2b7e392d06dbae34aa6', 'versionType': 'git'}, {'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': 'cb459fec4f7b13caf646101ff076e94ef38434d8', 'versionType': 'git'}, {'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': 'c1d87e724ae55e781b7cc7ccafb34d9e668582b2', 'versionType': 'git'}], 'programFiles': ['kernel/trace/trace_mmiotrace.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.33'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.33', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['kernel/trace/trace_mmiotrace.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': 'f9e6dfe341fb31c95b9655eb6b1db8b3ae090817', 'versionType': 'git'}, {'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': '594e1cf3f736779a535873fd5988162d827bfe4f', 'versionType': 'git'}, {'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': 'cf5a82bef623b969a609f2b7e392d06dbae34aa6', 'versionType': 'git'}, {'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': 'cb459fec4f7b13caf646101ff076e94ef38434d8', 'versionType': 'git'}, {'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': 'c1d87e724ae55e781b7cc7ccafb34d9e668582b2', 'versionType': 'git'}], 'programFiles': ['kernel/trace/trace_mmiotrace.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.33'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.33', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['kernel/trace/trace_mmiotrace.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 10, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': 'f9e6dfe341fb31c95b9655eb6b1db8b3ae090817', 'versionType': 'git'}, {'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': '594e1cf3f736779a535873fd5988162d827bfe4f', 'versionType': 'git'}, {'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': 'cf5a82bef623b969a609f2b7e392d06dbae34aa6', 'versionType': 'git'}, {'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': 'cb459fec4f7b13caf646101ff076e94ef38434d8', 'versionType': 'git'}, {'status': 'affected', 'version': 'c521efd1700a8c0f7ce26f011f5eaecca17fabfa', 'lessThan': 'c1d87e724ae55e781b7cc7ccafb34d9e668582b2', 'versionType': 'git'}], 'programFiles': ['kernel/trace/trace_mmiotrace.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.33'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.33', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['kernel/trace/trace_mmiotrace.c'], 'defaultStatus': 'affected'}] Added Description 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. Added Reference https://git.kernel.org/stable/c/594e1cf3f736779a535873fd5988162d827bfe4f Added Reference https://git.kernel.org/stable/c/c1d87e724ae55e781b7cc7ccafb34d9e668582b2 Added Reference https://git.kernel.org/stable/c/cb459fec4f7b13caf646101ff076e94ef38434d8 Added Reference https://git.kernel.org/stable/c/cf5a82bef623b969a609f2b7e392d06dbae34aa6 Added Reference https://git.kernel.org/stable/c/f9e6dfe341fb31c95b9655eb6b1db8b3ae090817