Katalog CVE

CVE-2026-64299

WysokieCVSS 7.1
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.16%

Percentyl 6 - wyżej niż 6% wszystkich znanych CVE

Streszczenie

W jądrze Linux w mechanizmie śledzenia (tracing) występuje błąd odczytu poza zakresem w funkcji glob matching. Funkcja regex_match_glob() ignoruje długość pola i skanuje do napotkania znaku NUL, co dla pól bez znaku NUL (np. dynamicznych tablic znakowych w tracepointach xfs) prowadzi do odczytu poza granicami bufora.

Ocena ryzyka

Odczyt poza zakresem może ujawnić wrażliwe dane z pamięci jądra lub spowodować awarię systemu (kernel panic), szczególnie przy użyciu filtrów na polach łańcuchowych.

Rekomendacja

Zaleca się aktualizację jądra Linux do wersji zawierającej poprawkę, która wprowadza funkcję glob_match_len() ograniczoną długością pola.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS