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?
| Product | Affected 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.2 | 7.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
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.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
- Prerequisites multiplied together0.225
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.225 × threat 0.850.765
- Rounded to one decimal between 0.1 and 100.8
Exploitation and evidence timeline
- 10 Aug 2026 Published
- 2 Dec 2026 Risk 0.8 (cvss fallback)
Weakness
CWE-362
References
- https://git.kernel.org/stable/c/a29bc20ea5f0cb79c6287f2c6182c5eeb8e6c01fpatch
- https://git.kernel.org/stable/c/db76744d588086695371ecdd982694395628ba48patch
- https://git.kernel.org/stable/c/1474fe4453505b6be720b5bb94be1c927de3314apatch
- https://git.kernel.org/stable/c/3d0dd138a06c782f8b755cd1b6f9909494514ce1patch
- https://git.kernel.org/stable/c/90be137813e1a5bdfd671e40fe28004fb959d3e4patch
- https://git.kernel.org/stable/c/65bf73bee1a4f3722208ae46afc0fa5de76b9a0apatch
- https://git.kernel.org/stable/c/e807c9193d9493c7a0d039158ebb955050a76df1patch
- https://git.kernel.org/stable/c/7720b63bcef3f54c7fe288774b720a227d54a306patch
- CVE-2026-68146 on CVE.org