CVE-2026-64299

Source
https://cve.org/CVERecord?id=CVE-2026-64299
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64299.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64299
Downstream
Published
2026-07-25T08:49:35.742Z
Modified
2026-07-28T04:02:14.981393124Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
tracing: Prevent out-of-bounds read in glob matching
Details

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 (filterpredstring(), filterpredstrloc() and filterpredstrrelloc()) pass the field length to the regex match callbacks, and the length-aware matchers honour it.

regexmatchglob() was the exception: it ignored the length and called globmatch(), 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 globmatch(), reached via regexmatchglob() and filtermatchpreds() from the xfslookup tracepoint.

Add a length-bounded globmatchlen() and use it from regexmatchglob() so glob matching always stops at the field boundary. The matching loop is factored into a shared helper so glob_match() keeps its behaviour.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64299.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
60f1d5e3bac44b598f67d36062da96c095d2b700
Fixed
265f3a690f6c7d69ef7d2ca50b04b4853a211df3
Fixed
ee5b8888d3248618251fb69a2fad92afcb81557e
Fixed
56d4c9ab84714eebb285a2fee68aaedf81e3ef15
Fixed
35ae19764eabfe9c29029d3b5713c86e6855acdf
Fixed
ebb55902856973906c8bb339a3a34824ed4a5086
Fixed
2dad64a97e1df47f5d9ccb17fa319aa348617226
Fixed
e5d5f3bd053a5f14787526c9f0f55ef900d43ac6
Fixed
0a6070839b1ef276d5b05bedfb787743e140fb17

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64299.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.96
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64299.json"