7.1

CVE-2026-64299

tracing: Prevent out-of-bounds read in glob matching

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
Produkt Linux
Default Statusunaffected
Version 60f1d5e3bac44b598f67d36062da96c095d2b700
Version < 265f3a690f6c7d69ef7d2ca50b04b4853a211df3
Status affected
Version 60f1d5e3bac44b598f67d36062da96c095d2b700
Version < ee5b8888d3248618251fb69a2fad92afcb81557e
Status affected
Version 60f1d5e3bac44b598f67d36062da96c095d2b700
Version < 56d4c9ab84714eebb285a2fee68aaedf81e3ef15
Status affected
Version 60f1d5e3bac44b598f67d36062da96c095d2b700
Version < 35ae19764eabfe9c29029d3b5713c86e6855acdf
Status affected
Version 60f1d5e3bac44b598f67d36062da96c095d2b700
Version < ebb55902856973906c8bb339a3a34824ed4a5086
Status affected
Version 60f1d5e3bac44b598f67d36062da96c095d2b700
Version < 2dad64a97e1df47f5d9ccb17fa319aa348617226
Status affected
Version 60f1d5e3bac44b598f67d36062da96c095d2b700
Version < e5d5f3bd053a5f14787526c9f0f55ef900d43ac6
Status affected
Version 60f1d5e3bac44b598f67d36062da96c095d2b700
Version < 0a6070839b1ef276d5b05bedfb787743e140fb17
Status affected
HerstellerLinux
Produkt Linux
Default Statusaffected
Version 4.10
Status affected
Version 0
Version < 4.10
Status unaffected
Version <= 5.10.*
Version 5.10.261
Status unaffected
Version <= 5.15.*
Version 5.15.212
Status unaffected
Version <= 6.1.*
Version 6.1.178
Status unaffected
Version <= 6.6.*
Version 6.6.145
Status unaffected
Version <= 6.12.*
Version 6.12.96
Status unaffected
Version <= 6.18.*
Version 6.18.39
Status unaffected
Version <= 7.1.*
Version 7.1.4
Status unaffected
Version <= *
Version 7.2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.16% 0.056
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7.1 1.8 5.2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
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