Katalog CVE

Aktywnie wykorzystywana w atakach

Android Kernel Remote Code Execution Vulnerability

Android - Kernel · Figuruje w katalogu CISA KEV od 2024-08-07. Oznacza to potwierdzone ataki w środowisku produkcyjnym.

Wymagane działanie: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

CVE-2024-36971

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

Streszczenie

W jądrze Linuxa wykryto błąd wyścigu w funkcji __dst_negative_advice(), który nie przestrzega zasad RCU podczas czyszczenia sk->dst_cache, co może prowadzić do użycia po zwolnieniu (UAF). Problem dotyczy głównie gniazd UDP i wymaga poprawnej kolejności operacji: najpierw wyzerowanie sk_dst_cache, potem zwolnienie starego dst.

Ocena ryzyka

Atakujący może wykorzystać tę podatność do uzyskania dostępu do już zwolnionej pamięci, co może prowadzić do eskalacji uprawnień lub awarii systemu.

Rekomendacja

Zastosuj aktualizację jądra Linuxa zawierającą poprawkę dla tej podatności. Monitoruj biuletyny bezpieczeństwa dystrybucji i wdróż łatkę jak najszybciej.

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: net: fix __dst_negative_advice() race __dst_negative_advice() does not enforce proper RCU rules when sk->dst_cache must be cleared, leading to possible UAF. RCU rules are that we must first clear sk->sk_dst_cache, then call dst_release(old_dst). Note that sk_dst_reset(sk) is implementing this protocol correctly, while __dst_negative_advice() uses the wrong order. Given that ip6_negative_advice() has special logic against RTF_CACHE, this means each of the three ->negative_advice() existing methods must perform the sk_dst_reset() themselves. Note the check against NULL dst is centralized in __dst_negative_advice(), there is no need to duplicate it in various callbacks. Many thanks to Clement Lecigne for tracking this issue. This old bug became visible after the blamed commit, using UDP sockets.

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