CVE-2026-64299
tracing: Prevent out-of-bounds read in glob matching
Reported by linux · Published July 25, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| kernel-livepatch-6.1.180-225.360 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
6 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 60f1d5e3bac44b598f67d36062da96c095d2b700, 60f1d5e3bac44b598f67d36062da96c095d2b700, 60f1d5e3bac44b598f67d36062da96c095d2b700 |
| Linux | Linux | 4.10, 0, 5.10.261 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.1.180-225.360 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-livepatch-6.18.39-79.141 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
…and 18 more
Timeline
- Jul 25, 2026 EPSS Score (11 in total, the first dated here)
- Jul 25, 2026 Coalition ESS Score
- Jul 25, 2026 CVE Published
- Jul 26, 2026 Security Advisory (20 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64299
vulnetix vdb fixes CVE-2026-64299
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64299/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart