CVE-2026-64299
High · 7.1CVSS
7.1
EPSS
0.2%
Published
Jul 25, 2026
CISA due date
—
Cloudanix analysis
A local user with access to Linux tracing features may be able to make the system read memory it should not or become unstable, so affected kernels should be updated.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- OS kernel
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
This is a local Linux kernel out-of-bounds read in the tracing subsystem’s glob-based event filter matching. Certain tracepoint string fields are length-delimited but not NUL-terminated; the affected glob matcher ignored the supplied field length and continued reading memory until it encountered a NUL byte. When a tracing filter using glob matching is evaluated against such a field, for example some XFS tracepoint dynamic character arrays, the kernel can read past the end of the event field. Depending on memory layout and hardening, this can expose adjacent kernel memory contents and/or trigger a kernel fault, KASAN report, or system instability.
Why it matters to the business
Successful exploitation requires local access and the ability to interact with kernel tracing facilities, but on exposed or multi-user Linux systems it can create serious operational risk: sensitive kernel memory may be disclosed and affected hosts may crash or become unstable. Systems using XFS and systems where tracefs/debugfs tracing controls are available to non-administrative users are higher priority. There is no current CISA KEV listing, ransomware association, or public exploit maturity indicated, and the EPSS score is low, so remediation should be risk-based but still prioritized for shared servers, developer workstations, observability-heavy systems, and security-sensitive Linux workloads.
How an attack unfolds
An attacker first obtains local authenticated access to a Linux system and determines whether kernel tracing controls are mounted and writable, typically through tracefs or debugfs. They then configure an event filter that uses glob-style string matching against a tracepoint field that is not guaranteed to be NUL-terminated. When the relevant tracepoint fires, such as an XFS lookup-related tracepoint, the tracing filter calls the vulnerable glob matching path. Because the matcher scans beyond the provided field length, it reads adjacent slab memory until a NUL byte is encountered. The attacker’s practical outcome depends on kernel configuration and memory layout: on hardened or instrumented kernels this may produce an observable KASAN slab-out-of-bounds report or kernel fault; on vulnerable production kernels it may disclose adjacent kernel memory through tracing behavior or destabilize the host.
How to fix it
Apply a Linux kernel update from the relevant distribution or vendor that includes the tracing fix adding length-bounded glob matching for event filters. If no fixed package version is available from the kernel vendor yet, track vendor advisories and update to the first kernel build that contains the upstream fix for preventing out-of-bounds reads in tracing glob matching. Reboot into the fixed kernel after installation; installing the package alone is not sufficient if the running kernel remains vulnerable. As interim mitigation, restrict access to tracefs/debugfs and kernel tracing controls to trusted administrators only, avoid granting CAP_SYS_ADMIN or equivalent tracing privileges to untrusted users or containers, unmount debugfs/tracefs where not required, and review filesystem tracing use on XFS-heavy systems.
How to confirm the fix worked
Confirm that the running kernel, not just the installed package, is updated to a vendor release containing the fix. Validate with `uname -r`, package manager kernel version checks, and vendor changelogs or backport notes referencing the tracing glob matching out-of-bounds read fix. Verify that tracefs/debugfs permissions do not allow untrusted users to write tracing filters. On test systems only, reproduce the previously vulnerable tracing-filter scenario and confirm that glob matching over non-NUL-terminated event fields no longer triggers KASAN, slab-out-of-bounds, oops, or unexpected trace output. Review boot configuration to ensure hosts actually boot the remediated kernel after restart.
Typical attack path
- Gain local authenticated access to a Linux host running an affected kernel.
- Check whether tracefs or debugfs is mounted and whether tracing event filters are writable.
- Identify tracepoints with string or dynamic string fields that are not reliably NUL-terminated, such as relevant XFS tracepoints.
- Install a glob-style tracing filter against the vulnerable string field.
- Trigger the corresponding kernel event, for example by performing filesystem operations that cause the tracepoint to fire.
- Cause the kernel tracing subsystem to evaluate the filter and read beyond the field boundary.
- Attempt to observe leaked data through tracing output or cause a kernel warning, crash, or denial of service.
How to detect it
Look for evidence that local users or processes modified kernel tracing filters shortly before kernel warnings, crashes, or unusual XFS tracepoint activity. Relevant log sources include kernel logs, `dmesg`, `journalctl -k`, auditd logs, EDR process telemetry, shell history where available, and file integrity or audit records for tracefs/debugfs paths. Search for writes to tracing event filter files under `/sys/kernel/tracing/events/` or `/sys/kernel/debug/tracing/events/`, especially XFS-related events, followed by filesystem activity and kernel messages mentioning KASAN, slab-out-of-bounds, `glob_match`, `regex_match_glob`, `filter_match_preds`, or `xfs_lookup`. Also review privileged container launches and processes with CAP_SYS_ADMIN that may have mounted or written to tracefs/debugfs. Absence of these artifacts does not prove non-exploitation because successful reads may not always leave clear logs on non-instrumented kernels.
- KASAN: slab-out-of-bounds
- BUG: KASAN: slab-out-of-bounds
- slab-out-of-bounds in glob_match
- glob_match
- regex_match_glob
- filter_match_preds
- filter_pred_string
- filter_pred_strloc
- filter_pred_strrelloc
- xfs_lookup
- /sys/kernel/tracing/events/xfs/
- /sys/kernel/debug/tracing/events/xfs/
- /sys/kernel/tracing/events/*/filter
- /sys/kernel/debug/tracing/events/*/filter
- /sys/kernel/tracing/set_event
- /sys/kernel/debug/tracing/set_event
- /sys/kernel/tracing/trace
- /sys/kernel/debug/tracing/trace
- mount -t tracefs
- mount -t debugfs
- tracefs
- debugfs
What your security team should do
- Prioritize patching shared Linux servers, systems with local user populations, CI/build hosts, developer workstations, container hosts, and XFS-based workloads where local users may interact with tracing facilities.
- Restrict tracefs and debugfs access immediately; ensure tracing event filter files are writable only by trusted administrators.
- Audit use of CAP_SYS_ADMIN, privileged containers, hostPID containers, and observability agents that can write to kernel tracing controls.
- Schedule reboots after kernel updates and verify the active kernel version across the fleet.
- Monitor kernel logs for KASAN, slab-out-of-bounds, tracing, glob matching, and XFS tracepoint errors that may indicate attempted triggering.
- Because there is no KEV listing, ransomware association, or mature public exploit indicated, treat this as high-impact local exposure rather than an internet-facing emergency unless tracing access is broadly delegated.
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|