CVE-2026-64299
Analyzed
Analyzed - Analysis Complete
Out-of-Bounds Read in Linux Kernel Tracing Glob Matching
Vulnerability report for CVE-2026-64299, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-07-25
Last updated on: 2026-09-03
Assigner: kernel.org
Description
Description
In the Linux kernel, the following vulnerability has been resolved:
tracing: Prevent out-of-bounds read in glob matching
String event fields are not necessarily NUL-terminated, so the filter
predicate functions (filter_pred_string(), filter_pred_strloc() and
filter_pred_strrelloc()) pass the field length to the regex match
callbacks, and the length-aware matchers honour it.
regex_match_glob() was the exception: it ignored the length and called
glob_match(), which scans the string until it hits a NUL byte. Some
string fields are not NUL-terminated. One example is the dynamic char
array of the xfs_* namespace tracepoints, which is copied without a
trailing NUL. For such a field, glob matching reads past the end of
the event field, causing a KASAN slab-out-of-bounds read in
glob_match(), reached via regex_match_glob() and filter_match_preds()
from the xfs_lookup tracepoint.
Add a length-bounded glob_match_len() and use it from regex_match_glob()
so glob matching always stops at the field boundary. The matching loop
is factored into a shared helper so glob_match() keeps its behaviour.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.11 (inc) to 5.15.212 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 6.1.178 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.6.145 (exc) |
| linux | linux_kernel | From 6.7 (inc) to 6.12.96 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.18.39 (exc) |
| linux | linux_kernel | From 6.19 (inc) to 7.1.4 (exc) |
| linux | linux_kernel | 7.2 |
| linux | linux_kernel | 7.2 |
| linux | linux_kernel | From 4.10 (inc) to 5.10.261 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-125 | The product reads data past the end, or before the beginning, of the intended buffer. |