CVE-2026-64299
tracing: Prevent out-of-bounds read in glob matching
Check your servers for CVE-2026-64299
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64299 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.33% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-125 Out-of-bounds Read
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 60f1d5e3bac44b598f67d36062da96c095d2b700, before 265f3a690f6c7d69ef7d2ca50b04b4853a211df3 affected from 60f1d5e3bac44b598f67d36062da96c095d2b700, before ee5b8888d3248618251fb69a2fad92afcb81557e affected from 60f1d5e3bac44b598f67d36062da96c095d2b700, before 56d4c9ab84714eebb285a2fee68aaedf81e3ef15 affected from 60f1d5e3bac44b598f67d36062da96c095d2b700, before 35ae19764eabfe9c29029d3b5713c86e6855acdf affected from 60f1d5e3bac44b598f67d36062da96c095d2b700, before ebb55902856973906c8bb339a3a34824ed4a5086 affected from 60f1d5e3bac44b598f67d36062da96c095d2b700, before 2dad64a97e1df47f5d9ccb17fa319aa348617226 affected from 60f1d5e3bac44b598f67d36062da96c095d2b700, before e5d5f3bd053a5f14787526c9f0f55ef900d43ac6 affected from 60f1d5e3bac44b598f67d36062da96c095d2b700, before 0a6070839b1ef276d5b05bedfb787743e140fb17
Other versions: unaffected
|
| Linux |
affected 4.10 unaffected before 4.10 unaffected from 5.10.261 up to and including 5.10.* unaffected from 5.15.212 up to and including 5.15.* unaffected from 6.1.178 up to and including 6.1.* unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.96 up to and including 6.12.* unaffected from 6.18.39 up to and including 6.18.* unaffected from 7.1.4 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64299 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64299
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64299
trivy image --scanners vuln IMAGE | grep CVE-2026-64299
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/265f3a690f6c7d69ef7d2ca50b04b4853a211df3 git.kernel.org
- https://git.kernel.org/stable/c/ee5b8888d3248618251fb69a2fad92afcb81557e git.kernel.org
- https://git.kernel.org/stable/c/56d4c9ab84714eebb285a2fee68aaedf81e3ef15 git.kernel.org
- https://git.kernel.org/stable/c/35ae19764eabfe9c29029d3b5713c86e6855acdf git.kernel.org
- https://git.kernel.org/stable/c/ebb55902856973906c8bb339a3a34824ed4a5086 git.kernel.org
- https://git.kernel.org/stable/c/2dad64a97e1df47f5d9ccb17fa319aa348617226 git.kernel.org
- https://git.kernel.org/stable/c/e5d5f3bd053a5f14787526c9f0f55ef900d43ac6 git.kernel.org
- https://git.kernel.org/stable/c/0a6070839b1ef276d5b05bedfb787743e140fb17 git.kernel.org
Source: the record CVE-2026-64299 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse