# CVE-2026-64299: tracing: Prevent out-of-bounds read in glob matching

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-25 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2026-64299, DEBIAN-CVE-2026-64299
- Record: https://cvemate.com/vulnerability/CVE-2026-64299 · JSON: https://cvemate.com/vulnerability/CVE-2026-64299/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.165%, percentile 5.849%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 172)

- debian linux (Debian): \< 6.1.180-1 \| \< 6.12.96-1 \| \< 7.1.4-1
- debian linux-6.12 (Debian): \< 6.12.100-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-198.208 \| \< 6.8.0-147.147 \| \< 7.0.0-31.31
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124 \| \< 6.8.0-1067.70 \| \< 7.0.0-1012.12
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1117.124~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): \< 7.0.0-1012.12~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124+fips1 \| \< 6.8.0-1067.70+fips1

## References (first 20 of 41)

- <https://git.kernel.org/stable/c/265f3a690f6c7d69ef7d2ca50b04b4853a211df3>
- <https://git.kernel.org/stable/c/ee5b8888d3248618251fb69a2fad92afcb81557e>
- <https://git.kernel.org/stable/c/56d4c9ab84714eebb285a2fee68aaedf81e3ef15>
- <https://git.kernel.org/stable/c/35ae19764eabfe9c29029d3b5713c86e6855acdf>
- <https://git.kernel.org/stable/c/ebb55902856973906c8bb339a3a34824ed4a5086>
- <https://git.kernel.org/stable/c/2dad64a97e1df47f5d9ccb17fa319aa348617226>
- <https://git.kernel.org/stable/c/e5d5f3bd053a5f14787526c9f0f55ef900d43ac6>
- <https://git.kernel.org/stable/c/0a6070839b1ef276d5b05bedfb787743e140fb17>
- <https://ubuntu.com/security/CVE-2026-64299>
- <https://www.cve.org/CVERecord?id=CVE-2026-64299>
- <https://git.kernel.org/linus/0a6070839b1ef276d5b05bedfb787743e140fb17>
- <https://ubuntu.com/security/notices/USN-8726-1>
- <https://ubuntu.com/security/notices/USN-8727-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8760-1>
- <https://ubuntu.com/security/notices/USN-8726-2>
- <https://ubuntu.com/security/notices/USN-8726-3>
- <https://ubuntu.com/security/notices/USN-8800-1>
- <https://ubuntu.com/security/notices/USN-8760-2>
- <https://ubuntu.com/security/notices/USN-8728-2>

---

Data as of 2026-12-06T04:16:46.978Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
