CVE-2026-64299 Details
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.
A vulnerability in the Linux kernel's tracing subsystem allows for an out-of-bounds read in glob matching. This issue arises because string event fields may not be properly NUL-terminated. The filter predicate functions pass the field length to regex match callbacks, but the 'regex_match_glob()' function ignores this length and reads until a NUL byte is encountered. This behavior can lead to reading past the end of the event field, causing a KASAN (Kernel Address Sanitizer) slab-out-of-bounds read. The vulnerability was identified in the dynamic character array of the 'xfs_*' namespace tracepoints, which is copied without a trailing NUL. The issue has been fixed by adding a length-bounded 'glob_match_len()' function that ensures glob matching respects the field boundary.
Users can upgrade to the patched version of the Linux kernel where this vulnerability has been addressed. The official Linux kernel repositories provide the latest stable versions.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0a6070839b1ef276d5b05bedfb787743e140fb17 | kernel.org | Patch |
| https://git.kernel.org/stable/c/265f3a690f6c7d69ef7d2ca50b04b4853a211df3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2dad64a97e1df47f5d9ccb17fa319aa348617226 | kernel.org | Patch |
| https://git.kernel.org/stable/c/35ae19764eabfe9c29029d3b5713c86e6855acdf | kernel.org | Patch |
| https://git.kernel.org/stable/c/56d4c9ab84714eebb285a2fee68aaedf81e3ef15 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e5d5f3bd053a5f14787526c9f0f55ef900d43ac6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ebb55902856973906c8bb339a3a34824ed4a5086 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ee5b8888d3248618251fb69a2fad92afcb81557e | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.10, < 5.10.261 >= 5.11, < 5.15.212 >= 5.16, < 6.1.178 >= 6.2, < 6.6.145 >= 6.7, < 6.12.96 >= 6.13, < 6.18.39 >= 6.19, < 7.1.4 7.2 rc1 7.2 rc2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 3, 2026 | Initial Analysis | [email protected] |
| Aug 17, 2026 | CVE Modified | kernel.org |
| Jul 27, 2026 | CVE Modified | kernel.org |
| Jul 25, 2026 | New CVE Received | kernel.org |