Katalog CVE

CVE-2026-99218

WysokieCVSS 7.0
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux funkcja coredump_finish() zwalnia zaparkowane wątki bez trzymania referencji na zadaniu i poza sekcją RCU. Jeśli klient coredump zostanie wywłaszczony między zapisem a wake_up_process(), wątek może zostać zwolniony, a try_to_wake_up() odwoła się do zwolnionej pamięci.

Ocena ryzyka

Użycie zwolnionej pamięci (use-after-free) w jądrze może prowadzić do awarii systemu lub potencjalnej eskalacji uprawnień przez atakującego lokalnego.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę, która utrzymuje RCU przez całą pętlę zwalniania zaparkowanych wątkó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: coredump: hold RCU while releasing parked threads coredump_finish() releases the parked threads by clearing ->task in their core_thread entry and calling wake_up_process() on each of them. It does that without holding a reference on the task and without being inside rcu. But calling wake_up_process(task) without rcu here isn't safe. A parked thread doesn't need that wakeup to leave. A spurious wakeup or a preemption after the store is enough for the task to go away. So if the coredump client is preempted between the store and wake_up_process() the thread can exit and be freed in the meantime and try_to_wake_up() takes pi_lock in freed memory. Hold rcu across the loop.

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