CVE-2026-68146 (GCVE-0-2026-68146)

Vulnerability from cvelistv5 – Published: 2026-08-10 11:59 – Updated: 2026-08-19 16:30
VLAI
Title
ftrace: Add global mutex to serialize trace_parser access
Summary
In the Linux kernel, the following vulnerability has been resolved: ftrace: Add global mutex to serialize trace_parser access In ftrace, the trace_parser structure is allocated and initialized when a trace file is opened, and is subsequently used across write and release handlers to parse user input. The affected handler paths and their specific functions are: - Open paths: ftrace_regex_open(), ftrace_graph_open() - Write paths: ftrace_regex_write(), ftrace_graph_write() - Release paths: ftrace_regex_release(), ftrace_graph_release() If userspace opens a trace file descriptor and shares it across multiple threads, concurrent write calls will race on the parser's internal state, specifically the 'idx', 'cont', and 'buffer' fields, leading to corrupted input or undefined behavior. Fix this by adding a global mutex, parser_lock, to serialize all access to trace_parser across write and release paths, preventing concurrent corruption of parser state.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 , < 1474fe4453505b6be720b5bb94be1c927de3314a (git)
Affected: 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 , < 3d0dd138a06c782f8b755cd1b6f9909494514ce1 (git)
Affected: 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 , < 90be137813e1a5bdfd671e40fe28004fb959d3e4 (git)
Affected: 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 , < 65bf73bee1a4f3722208ae46afc0fa5de76b9a0a (git)
Affected: 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 , < e807c9193d9493c7a0d039158ebb955050a76df1 (git)
Affected: 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 , < 7720b63bcef3f54c7fe288774b720a227d54a306 (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.32
Unaffected: 0 , < 2.6.32 (semver)
Unaffected: 6.1.183 , ≤ 6.1.* (semver)
Unaffected: 6.6.148 , ≤ 6.6.* (semver)
Unaffected: 6.12.101 , ≤ 6.12.* (semver)
Unaffected: 6.18.42 , ≤ 6.18.* (semver)
Unaffected: 7.1.6 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/trace/ftrace.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1474fe4453505b6be720b5bb94be1c927de3314a",
              "status": "affected",
              "version": "689fd8b65d669b96d612ccc37d6fb87bf7ed6907",
              "versionType": "git"
            },
            {
              "lessThan": "3d0dd138a06c782f8b755cd1b6f9909494514ce1",
              "status": "affected",
              "version": "689fd8b65d669b96d612ccc37d6fb87bf7ed6907",
              "versionType": "git"
            },
            {
              "lessThan": "90be137813e1a5bdfd671e40fe28004fb959d3e4",
              "status": "affected",
              "version": "689fd8b65d669b96d612ccc37d6fb87bf7ed6907",
              "versionType": "git"
            },
            {
              "lessThan": "65bf73bee1a4f3722208ae46afc0fa5de76b9a0a",
              "status": "affected",
              "version": "689fd8b65d669b96d612ccc37d6fb87bf7ed6907",
              "versionType": "git"
            },
            {
              "lessThan": "e807c9193d9493c7a0d039158ebb955050a76df1",
              "status": "affected",
              "version": "689fd8b65d669b96d612ccc37d6fb87bf7ed6907",
              "versionType": "git"
            },
            {
              "lessThan": "7720b63bcef3f54c7fe288774b720a227d54a306",
              "status": "affected",
              "version": "689fd8b65d669b96d612ccc37d6fb87bf7ed6907",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/trace/ftrace.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.32"
            },
            {
              "lessThan": "2.6.32",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.183",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.148",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.101",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.183",
                  "versionStartIncluding": "2.6.32",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.148",
                  "versionStartIncluding": "2.6.32",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.101",
                  "versionStartIncluding": "2.6.32",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.42",
                  "versionStartIncluding": "2.6.32",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.6",
                  "versionStartIncluding": "2.6.32",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "2.6.32",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027s internal state,\nspecifically the \u0027idx\u0027, \u0027cont\u0027, and \u0027buffer\u0027 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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-19T16:30:08.931Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1474fe4453505b6be720b5bb94be1c927de3314a"
        },
        {
          "url": "https://git.kernel.org/stable/c/3d0dd138a06c782f8b755cd1b6f9909494514ce1"
        },
        {
          "url": "https://git.kernel.org/stable/c/90be137813e1a5bdfd671e40fe28004fb959d3e4"
        },
        {
          "url": "https://git.kernel.org/stable/c/65bf73bee1a4f3722208ae46afc0fa5de76b9a0a"
        },
        {
          "url": "https://git.kernel.org/stable/c/e807c9193d9493c7a0d039158ebb955050a76df1"
        },
        {
          "url": "https://git.kernel.org/stable/c/7720b63bcef3f54c7fe288774b720a227d54a306"
        }
      ],
      "title": "ftrace: Add global mutex to serialize trace_parser access",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-68146",
    "datePublished": "2026-08-10T11:59:11.273Z",
    "dateReserved": "2026-07-30T09:28:09.371Z",
    "dateUpdated": "2026-08-19T16:30:08.931Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68146",
      "date": "2026-08-20",
      "epss": "0.0018",
      "percentile": "0.079"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-68146\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-10T13:20:00.470\",\"lastModified\":\"2026-08-19T17:20:31.803\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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\u0027s internal state,\\nspecifically the \u0027idx\u0027, \u0027cont\u0027, and \u0027buffer\u0027 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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"kernel/trace/ftrace.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"689fd8b65d669b96d612ccc37d6fb87bf7ed6907\",\"lessThan\":\"1474fe4453505b6be720b5bb94be1c927de3314a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"689fd8b65d669b96d612ccc37d6fb87bf7ed6907\",\"lessThan\":\"3d0dd138a06c782f8b755cd1b6f9909494514ce1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"689fd8b65d669b96d612ccc37d6fb87bf7ed6907\",\"lessThan\":\"90be137813e1a5bdfd671e40fe28004fb959d3e4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"689fd8b65d669b96d612ccc37d6fb87bf7ed6907\",\"lessThan\":\"65bf73bee1a4f3722208ae46afc0fa5de76b9a0a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"689fd8b65d669b96d612ccc37d6fb87bf7ed6907\",\"lessThan\":\"e807c9193d9493c7a0d039158ebb955050a76df1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"689fd8b65d669b96d612ccc37d6fb87bf7ed6907\",\"lessThan\":\"7720b63bcef3f54c7fe288774b720a227d54a306\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"kernel/trace/ftrace.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.32\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.32\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.183\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.148\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.101\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.42\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.6\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1474fe4453505b6be720b5bb94be1c927de3314a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3d0dd138a06c782f8b755cd1b6f9909494514ce1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/65bf73bee1a4f3722208ae46afc0fa5de76b9a0a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7720b63bcef3f54c7fe288774b720a227d54a306\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/90be137813e1a5bdfd671e40fe28004fb959d3e4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e807c9193d9493c7a0d039158ebb955050a76df1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-12T19:44:07+00:00",
      "cve": "CVE-2026-68146",
      "id": "CVE-2026-68146",
      "initial_release_date": "2026-08-10T00:00:00+00:00",
      "product_status:known_affected": "275",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ftrace: Add global mutex to serialize trace_parser access",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68146.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "low",
      "current_release_date": "2026-08-13T16:24:03Z",
      "cve": "CVE-2026-68146",
      "id": "CVE-2026-68146",
      "initial_release_date": "2026-08-13T16:24:03Z",
      "product_status:known_affected": "296",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68146",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68146.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…