CVE-2026-68146
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/08/2026
Last modified:
19/08/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ftrace: Add global mutex to serialize trace_parser access<br />
<br />
In ftrace, the trace_parser structure is allocated and initialized when<br />
a trace file is opened, and is subsequently used across write and release<br />
handlers to parse user input.<br />
<br />
The affected handler paths and their specific functions are:<br />
- Open paths: ftrace_regex_open(), ftrace_graph_open()<br />
- Write paths: ftrace_regex_write(), ftrace_graph_write()<br />
- Release paths: ftrace_regex_release(), ftrace_graph_release()<br />
<br />
If userspace opens a trace file descriptor and shares it across multiple<br />
threads, concurrent write calls will race on the parser&#39;s internal state,<br />
specifically the &#39;idx&#39;, &#39;cont&#39;, and &#39;buffer&#39; fields, leading to corrupted<br />
input or undefined behavior.<br />
<br />
Fix this by adding a global mutex, parser_lock, to serialize all access<br />
to trace_parser across write and release paths, preventing concurrent<br />
corruption of parser state.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/1474fe4453505b6be720b5bb94be1c927de3314a
- https://git.kernel.org/stable/c/3d0dd138a06c782f8b755cd1b6f9909494514ce1
- https://git.kernel.org/stable/c/65bf73bee1a4f3722208ae46afc0fa5de76b9a0a
- https://git.kernel.org/stable/c/7720b63bcef3f54c7fe288774b720a227d54a306
- https://git.kernel.org/stable/c/90be137813e1a5bdfd671e40fe28004fb959d3e4
- https://git.kernel.org/stable/c/e807c9193d9493c7a0d039158ebb955050a76df1


