{"id":"CVE-2026-68175","published":"2026-08-10T11:59:45Z","modified":"2026-08-19T16:30:39Z","title":"tracing: Fix resource leak on mmiotrace trace_pipe close","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Fix resource leak on mmiotrace trace_pipe close\n\nThe mmiotrace tracer was added May 12th 2008. At that time, resources\ncreated in pipe_open() could not be freed because there was not\npipe_close function pointer of the tracer. The pipe_close function pointer\nwas added in December 7th, 2009, but the mmiotrace tracer was not updated.\n\nmmio_pipe_open() allocates a header_iter and takes a pci_dev reference\nwhen trace_pipe is opened. mmio_close() frees them, but it was only\nwired to the tracer's .close callback.\n\ntracing_release_pipe() invokes .pipe_close, not .close, when the\ntrace_pipe file is released. As a result, closing trace_pipe with the\nmmiotrace tracer active leaked the header_iter allocation and left a\nstale pci_dev reference.\n\nSet .pipe_close to mmio_close, matching how function_graph wires both\ncallbacks to the same handler.\n\nNote, if the trace_pipe is read to completion, it will clean up the\nresources, but if one were to run:\n\n  # head -n 1 /sys/kernel/tracing/trace_pipe\n VERSION 20070824\n\nOver and over again, it would trigger a massive leak.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00216,"percentile":0.12151,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7871128ea41217fa6a58bbbcb44cb0d2e9e60966","tags":[]},{"url":"https://git.kernel.org/stable/c/1d0b59e2b203c02149d8f63607329debe36b3ec5","tags":[]},{"url":"https://git.kernel.org/stable/c/581ac13e12e77d6c64f8719083bdf95209308919","tags":[]},{"url":"https://git.kernel.org/stable/c/f9e6dfe341fb31c95b9655eb6b1db8b3ae090817","tags":[]},{"url":"https://git.kernel.org/stable/c/594e1cf3f736779a535873fd5988162d827bfe4f","tags":[]},{"url":"https://git.kernel.org/stable/c/cf5a82bef623b969a609f2b7e392d06dbae34aa6","tags":[]},{"url":"https://git.kernel.org/stable/c/cb459fec4f7b13caf646101ff076e94ef38434d8","tags":[]},{"url":"https://git.kernel.org/stable/c/c1d87e724ae55e781b7cc7ccafb34d9e668582b2","tags":[]}],"priority":{"score":2.4,"factors":[{"name":"EPSS percentile","points":2.43}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c521efd1700a8c0f7ce26f011f5eaecca17fabfa, < 7871128ea41217fa6a58bbbcb44cb0d2e9e60966",">= c521efd1700a8c0f7ce26f011f5eaecca17fabfa, < 1d0b59e2b203c02149d8f63607329debe36b3ec5",">= c521efd1700a8c0f7ce26f011f5eaecca17fabfa, < 581ac13e12e77d6c64f8719083bdf95209308919",">= c521efd1700a8c0f7ce26f011f5eaecca17fabfa, < f9e6dfe341fb31c95b9655eb6b1db8b3ae090817",">= c521efd1700a8c0f7ce26f011f5eaecca17fabfa, < 594e1cf3f736779a535873fd5988162d827bfe4f",">= c521efd1700a8c0f7ce26f011f5eaecca17fabfa, < cf5a82bef623b969a609f2b7e392d06dbae34aa6",">= c521efd1700a8c0f7ce26f011f5eaecca17fabfa, < cb459fec4f7b13caf646101ff076e94ef38434d8",">= c521efd1700a8c0f7ce26f011f5eaecca17fabfa, < c1d87e724ae55e781b7cc7ccafb34d9e668582b2"]},{"vendor":"Linux","product":"Linux","versions":["2.6.33"]}],"euvd":{"id":"EUVD-2026-55276","exploited":false,"provenance":"source"}}