Skip to content

Linux kernel

ftrace: Add global mutex to serialize trace_parser access

CVE-2026-68146Published 10 Aug 2026, 11:59 UTC

Real-world risk

0.8/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

4.7

scored by NVD, CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from Linux)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Linux kernelUbiquitous= 2.6.32; >= 2.6.32, < 5.10.266; >= 5.11, < 5.15.217; >= 5.16, < 6.1.183; >= 6.2, < 6.6.148; >= 6.7, < 6.12.101; >= 6.13, < 6.18.42; >= 6.19, < 7.1.6; = 7.2; = 7.2; = 7.2; = 7.27.2, 5.10.266, 5.15.217, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6

What to do

Update to a fixed version: 7.2, 5.10.266, 5.15.217, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6.

Why this score

FactorValueEvidence×
ImpactDenial of serviceCrash or resource exhaustion onlyFrom the CVSS vector0.40
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.2% chance of exploitation in 30 days (percentile 8), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.225
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.4 × prerequisites 0.225 × threat 0.850.765
  4. Rounded to one decimal between 0.1 and 100.8

How the score works

Exploitation and evidence timeline

  1. 10 Aug 2026 Published
  2. 2 Dec 2026 Risk 0.8 (cvss fallback)

Weakness

CWE-362

References

Get alerts for Linux kernel

Free email or text alerts when a vulnerability in Linux kernel reaches risk 8 or higher. Nothing else.