{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c521efd1700a8c0f7ce26f011f5eaecca17fabfa"
            },
            {
              "fixed": "f9e6dfe341fb31c95b9655eb6b1db8b3ae090817"
            },
            {
              "fixed": "594e1cf3f736779a535873fd5988162d827bfe4f"
            },
            {
              "fixed": "cf5a82bef623b969a609f2b7e392d06dbae34aa6"
            },
            {
              "fixed": "cb459fec4f7b13caf646101ff076e94ef38434d8"
            },
            {
              "fixed": "c1d87e724ae55e781b7cc7ccafb34d9e668582b2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68175.json"
  },
  "details": "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.",
  "id": "CVE-2026-68175",
  "modified": "2026-08-18T03:31:24.386250651Z",
  "published": "2026-08-10T11:59:45.965Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/594e1cf3f736779a535873fd5988162d827bfe4f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c1d87e724ae55e781b7cc7ccafb34d9e668582b2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cb459fec4f7b13caf646101ff076e94ef38434d8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cf5a82bef623b969a609f2b7e392d06dbae34aa6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f9e6dfe341fb31c95b9655eb6b1db8b3ae090817"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68175.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-68175"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "tracing: Fix resource leak on mmiotrace trace_pipe close"
}