CVE-2026-64299CWE-125

CVE-2026-64299

High · published July 25, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
5.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00164 · 5.3th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2026-07-25T14:17Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 4.10, < 5.10.2615.10.261
linux/linux_kernel≥ 5.11, < 5.15.2125.15.212
linux/linux_kernel≥ 5.16, < 6.1.1786.1.178
linux/linux_kernel≥ 6.2, < 6.6.1456.6.145
linux/linux_kernel≥ 6.7, < 6.12.966.12.96
linux/linux_kernel≥ 6.13, < 6.18.396.18.39
linux/linux_kernel≥ 6.19, < 7.1.47.1.4
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 25 JUL 08:49Z
    tracing: Prevent out-of-bounds read in glob matching
    cvelistv5