CVE-2026-68175

Source
https://cve.org/CVERecord?id=CVE-2026-68175
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68175.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68175
Downstream
Published
2026-08-10T11:59:45.965Z
Modified
2026-08-18T03:31:24.386250651Z
Summary
tracing: Fix resource leak on mmiotrace trace_pipe close
Details

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 pipeopen() could not be freed because there was not pipeclose function pointer of the tracer. The pipe_close function pointer was added in December 7th, 2009, but the mmiotrace tracer was not updated.

mmiopipeopen() allocates a headeriter and takes a pcidev reference when tracepipe is opened. mmioclose() frees them, but it was only wired to the tracer's .close callback.

tracingreleasepipe() invokes .pipeclose, not .close, when the tracepipe file is released. As a result, closing tracepipe with the mmiotrace tracer active leaked the headeriter allocation and left a stale pci_dev reference.

Set .pipeclose to mmioclose, 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68175.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c521efd1700a8c0f7ce26f011f5eaecca17fabfa
Fixed
f9e6dfe341fb31c95b9655eb6b1db8b3ae090817
Fixed
594e1cf3f736779a535873fd5988162d827bfe4f
Fixed
cf5a82bef623b969a609f2b7e392d06dbae34aa6
Fixed
cb459fec4f7b13caf646101ff076e94ef38434d8
Fixed
c1d87e724ae55e781b7cc7ccafb34d9e668582b2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68175.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.33
Fixed
6.6.148
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68175.json"