-

CVE-2026-68146

ftrace: Add global mutex to serialize trace_parser access

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 689fd8b65d669b96d612ccc37d6fb87bf7ed6907
Version < a29bc20ea5f0cb79c6287f2c6182c5eeb8e6c01f
Status affected
Version 689fd8b65d669b96d612ccc37d6fb87bf7ed6907
Version < db76744d588086695371ecdd982694395628ba48
Status affected
Version 689fd8b65d669b96d612ccc37d6fb87bf7ed6907
Version < 1474fe4453505b6be720b5bb94be1c927de3314a
Status affected
Version 689fd8b65d669b96d612ccc37d6fb87bf7ed6907
Version < 3d0dd138a06c782f8b755cd1b6f9909494514ce1
Status affected
Version 689fd8b65d669b96d612ccc37d6fb87bf7ed6907
Version < 90be137813e1a5bdfd671e40fe28004fb959d3e4
Status affected
Version 689fd8b65d669b96d612ccc37d6fb87bf7ed6907
Version < 65bf73bee1a4f3722208ae46afc0fa5de76b9a0a
Status affected
Version 689fd8b65d669b96d612ccc37d6fb87bf7ed6907
Version < e807c9193d9493c7a0d039158ebb955050a76df1
Status affected
Version 689fd8b65d669b96d612ccc37d6fb87bf7ed6907
Version < 7720b63bcef3f54c7fe288774b720a227d54a306
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 2.6.32
Status affected
Version 0
Version < 2.6.32
Status unaffected
Version <= 5.10.*
Version 5.10.266
Status unaffected
Version <= 5.15.*
Version 5.15.217
Status unaffected
Version <= 6.1.*
Version 6.1.183
Status unaffected
Version <= 6.6.*
Version 6.6.148
Status unaffected
Version <= 6.12.*
Version 6.12.101
Status unaffected
Version <= 6.18.*
Version 6.18.42
Status unaffected
Version <= 7.1.*
Version 7.1.6
Status unaffected
Version <= *
Version 7.2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.18% 0.079
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/3d0dd138a06c782f8b755cd1b6f9909494514ce1
https://git.kernel.org/stable/c/90be137813e1a5bdfd671e40fe28004fb959d3e4
https://git.kernel.org/stable/c/65bf73bee1a4f3722208ae46afc0fa5de76b9a0a
https://git.kernel.org/stable/c/e807c9193d9493c7a0d039158ebb955050a76df1
https://git.kernel.org/stable/c/7720b63bcef3f54c7fe288774b720a227d54a306
https://git.kernel.org/stable/c/1474fe4453505b6be720b5bb94be1c927de3314a
https://git.kernel.org/stable/c/a29bc20ea5f0cb79c6287f2c6182c5eeb8e6c01f
https://git.kernel.org/stable/c/db76744d588086695371ecdd982694395628ba48