Katalog CVE

CVE-2026-74471

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.13%

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

Streszczenie

W jądrze Linux w module tracing funkcja trace_module_add_events() ignoruje wartość zwracaną przez __register_event() i zawsze wywołuje __add_event_to_tracers(). Jeśli rejestracja zdarzenia nie powiedzie się, może dojść do użycia po zwolnieniu pamięci (use-after-free).

Ocena ryzyka

Może to prowadzić do awarii systemu lub potencjalnego wykonania kodu w kontekście jądra, co stanowi poważne zagrożenie bezpieczeństwa.

Rekomendacja

Zastosuj poprawkę jądra, która sprawdza wartość zwracaną przez __register_event() i wywołuje __add_event_to_tracers() tylko po pomyślnej rejestracji.

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

In the Linux kernel, the following vulnerability has been resolved: tracing: Check return value of __register_event() in trace_module_add_events() trace_module_add_events() ignores the return value of __register_event() and unconditionally calls __add_event_to_tracers() for each event. If __register_event() fails (for example, if event_init() fails), the trace_event_call is not added to ftrace_events list, but __add_event_to_tracers() still creates a trace_event_file pointing to it. If module loading subsequently fails and module memory is freed, tracing state retains a stale trace_event_call pointer in trace_event_file, leading to a use-after-free when tracefs or tracing subsystem operations are later executed. Fix this by checking the return value of __register_event() and only calling __add_event_to_tracers() if event registration succeeded.

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