Katalog CVE

CVE-2026-80758

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w mechanizmie futex występuje podatność use-after-free w funkcji futex_private_hash_put(). Funkcja ta zwalnia referencję do fph przed odczytaniem fph->mm dla wake_up_var(). Jeśli to zwolnienie jest ostatnim i zadanie zostanie wywłaszczone, inne zadanie może przełączyć się na nowy hash i zwolnić stary po okresie RCU, a pierwsze zadanie odczyta z wolnej pamięci. Poprawka polega na wczytaniu wskaźnika mm, gdy referencja jest nadal trzymana, i przekazaniu zapisanej wartości do wake_up_var().

Ocena ryzyka

Podatność może prowadzić do naruszenia integralności pamięci, potencjalnie umożliwiając eskalację uprawnień lub denial of service. Wykorzystanie wymaga specyficznych warunków wywłaszczania, ale jest realne w środowiskach wielowątkowych.

Rekomendacja

Zaleca się pilne zaktualizowanie jądra Linux do wersji z poprawką dla CVE-2026-80758. Monitorowanie systemów pod kątem nietypowych zachowań związanych z futex może pomóc w wykryciu atakó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: futex: Avoid private hash use-after-free on final put futex_private_hash_put() drops the reference to fph before evaluating fph->mm for wake_up_var(). futex_ref_put() enables preemption again before returning. If that put drops the final reference and the task is preempted, another task can pivot to the replacement hash and free the old hash after an RCU grace period. The first task then reads fph->mm from the freed allocation when it resumes. KASAN reports a slab-use-after-free in futex_private_hash_put(), with the read at offset 24 in a freed kmalloc-512 allocation. The allocation and free stacks point to futex_hash_allocate() and the RCU free path, respectively. Load the mm pointer while the fph reference is still held and pass the saved value to wake_up_var(). wake_up_var() uses the pointer as a waitqueue key and does not dereference the mm through it.

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