{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "689fd8b65d669b96d612ccc37d6fb87bf7ed6907"
            },
            {
              "fixed": "3d0dd138a06c782f8b755cd1b6f9909494514ce1"
            },
            {
              "fixed": "90be137813e1a5bdfd671e40fe28004fb959d3e4"
            },
            {
              "fixed": "65bf73bee1a4f3722208ae46afc0fa5de76b9a0a"
            },
            {
              "fixed": "e807c9193d9493c7a0d039158ebb955050a76df1"
            },
            {
              "fixed": "7720b63bcef3f54c7fe288774b720a227d54a306"
            }
          ],
          "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.32"
            },
            {
              "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-68146.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nftrace: Add global mutex to serialize trace_parser access\n\nIn ftrace, the trace_parser structure is allocated and initialized when\na trace file is opened, and is subsequently used across write and release\nhandlers to parse user input.\n\nThe affected handler paths and their specific functions are:\n  - Open paths: ftrace_regex_open(), ftrace_graph_open()\n  - Write paths: ftrace_regex_write(), ftrace_graph_write()\n  - Release paths: ftrace_regex_release(), ftrace_graph_release()\n\nIf userspace opens a trace file descriptor and shares it across multiple\nthreads, concurrent write calls will race on the parser's internal state,\nspecifically the 'idx', 'cont', and 'buffer' fields, leading to corrupted\ninput or undefined behavior.\n\nFix this by adding a global mutex, parser_lock, to serialize all access\nto trace_parser across write and release paths, preventing concurrent\ncorruption of parser state.",
  "id": "CVE-2026-68146",
  "modified": "2026-08-18T03:31:21.954791136Z",
  "published": "2026-08-10T11:59:11.273Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3d0dd138a06c782f8b755cd1b6f9909494514ce1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/65bf73bee1a4f3722208ae46afc0fa5de76b9a0a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7720b63bcef3f54c7fe288774b720a227d54a306"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/90be137813e1a5bdfd671e40fe28004fb959d3e4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e807c9193d9493c7a0d039158ebb955050a76df1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68146.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-68146"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "ftrace: Add global mutex to serialize trace_parser access"
}