Katalog CVE

CVE-2026-99236

WysokieCVSS 7.8
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux rozwiązano podatność w podsystemie tracing, gdzie niepełne wyrażenia filtrów zdarzeń (np. kończące się operatorem logicznym) powodowały niezdefiniowany stan operatora. Prowadziło to do odczytu poza granicami (prog[-1]) lub kopiowania słowa poza granicami do celu skoku, co można było wywołać przez PERF_EVENT_IOC_SET_FILTER na samonamierzającym punkcie śledzenia perf.

Ocena ryzyka

Lokalny atakujący może wywołać odczyt lub zapis poza granicami w jądrze, co może prowadzić do awarii systemu lub potencjalnej eskalacji uprawnień. Wymaga to możliwości ustawiania filtrów zdarzeń perf.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę. Ogranicz możliwość konfigurowania filtrów zdarzeń perf do zaufanych użytkowników.

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: Reject incomplete event filter expressions A non-empty expression normally finishes in predicate_parse()'s inner loop, which resolves the pending logical operators before jumping to finalization. If the input ends after an operator, possibly followed by unary '!' tokens, the outer loop instead falls through with unresolved operator state. For example, "common_pid == 1 || common_pid == 2 &&" leaves prog[0].target equal to -1. The second pass then reads prog[-1] before the forward-jump check can reject it. Depending on adjacent slab contents, it can also copy an out-of-bounds word into a branch target that passes the forward-only check. A self-targeted perf tracepoint counting event can reach this path through PERF_EVENT_IOC_SET_FILTER. Reject the outer-loop fallthrough when a predicate has already been parsed. This ensures that non-empty expressions only reach finalization after the inner loop has resolved their operators. Keep the existing no-filter error for input that has no predicates. Add a regression test for trailing logical operators and unary negations.

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