CVE-2026-68146

ftrace: Add global mutex to serialize trace_parser access

State
Published
Severity
Not scored
Published
Aug 10, 2026
Updated
Aug 23, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 to before a29bc20ea5f0cb79c6287f2c6182c5eeb8e6c01fAffected
  • 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 to before db76744d588086695371ecdd982694395628ba48Affected
  • 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 to before 1474fe4453505b6be720b5bb94be1c927de3314aAffected
  • 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 to before 3d0dd138a06c782f8b755cd1b6f9909494514ce1Affected
  • 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 to before 90be137813e1a5bdfd671e40fe28004fb959d3e4Affected
  • 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 to before 65bf73bee1a4f3722208ae46afc0fa5de76b9a0aAffected
  • 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 to before e807c9193d9493c7a0d039158ebb955050a76df1Affected
  • 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 to before 7720b63bcef3f54c7fe288774b720a227d54a306Affected
LinuxLinux
  • 2.6.32Affected
  • before 2.6.32Not affected
  • 5.10.266 through 5.10.*Not affected
  • 5.15.217 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.148 through 6.6.*Not affected
  • 6.12.101 through 6.12.*Not affected
  • 6.18.42 through 6.18.*Not affected
  • 7.1.6 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.