ftrace: Add global mutex to serialize trace_parser access

Summary

CVECVE-2026-68146
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-10 13:20:00 UTC
Updated2026-08-10 13:20:00 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 3d0dd138a06c782f8b755cd1b6f9909494514ce1 git Not specified
CNA Linux Linux affected 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 90be137813e1a5bdfd671e40fe28004fb959d3e4 git Not specified
CNA Linux Linux affected 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 65bf73bee1a4f3722208ae46afc0fa5de76b9a0a git Not specified
CNA Linux Linux affected 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 e807c9193d9493c7a0d039158ebb955050a76df1 git Not specified
CNA Linux Linux affected 689fd8b65d669b96d612ccc37d6fb87bf7ed6907 7720b63bcef3f54c7fe288774b720a227d54a306 git Not specified
CNA Linux Linux affected 2.6.32 Not specified
CNA Linux Linux unaffected 2.6.32 semver Not specified
CNA Linux Linux unaffected 6.6.148 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.101 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.42 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.6 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc5 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/90be137813e1a5bdfd671e40fe28004fb959d3e4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/65bf73bee1a4f3722208ae46afc0fa5de76b9a0a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7720b63bcef3f54c7fe288774b720a227d54a306 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3d0dd138a06c782f8b755cd1b6f9909494514ce1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e807c9193d9493c7a0d039158ebb955050a76df1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report