CVE-2026-68146
MEDIUM 4.7CVSS 3.1In 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.
- Published
- 10 Aug 2026
- Last modified
- 2 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-362
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 2.6.32, < 5.10.266 | 5.10.266 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.217 | 5.15.217 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.183 | 6.1.183 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.148 | 6.6.148 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.12.101 | 6.12.101 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.13, < 6.18.42 | 6.18.42 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.19, < 7.1.6 | 7.1.6 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:* |
= 7.2 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:* |
= 7.2 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.2:rc3:*:*:*:*:*:* |
= 7.2 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:7.2:rc4:*:*:*:*:*:* |
= 7.2 |
References
- https://git.kernel.org/stable/c/1474fe4453505b6be720b5bb94be1c927de3314a · Patch
- https://git.kernel.org/stable/c/3d0dd138a06c782f8b755cd1b6f9909494514ce1 · Patch
- https://git.kernel.org/stable/c/65bf73bee1a4f3722208ae46afc0fa5de76b9a0a · Patch
- https://git.kernel.org/stable/c/7720b63bcef3f54c7fe288774b720a227d54a306 · Patch
- https://git.kernel.org/stable/c/90be137813e1a5bdfd671e40fe28004fb959d3e4 · Patch
- https://git.kernel.org/stable/c/a29bc20ea5f0cb79c6287f2c6182c5eeb8e6c01f · Patch
- https://git.kernel.org/stable/c/db76744d588086695371ecdd982694395628ba48 · Patch
- https://git.kernel.org/stable/c/e807c9193d9493c7a0d039158ebb955050a76df1 · Patch
History
- 2 Dec 2026 19:08 UTC · NVD: scored 4.7; status Awaiting Analysis → Analyzed; affected list changed (11 entries)
- 30 Nov 2026 16:23 UTC · NVD: status Received → Awaiting Analysis
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 10 Aug 2026)