Katalog CVE

CVE-2026-80777

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w mechanizmie futex/pi występuje luka związana z wyścigiem podczas exec() dla prywatnych futexów. Istnieje okno czasowe między ustawieniem exit_state na OK a zmianą wskaźnika mm, w którym sprawdzenie zgodności mm jest błędne, co może prowadzić do użycia po zwolnieniu. Poprawka ustawia exit_state na FUTEX_STATE_DEAD w futex_exec_release() i dopiero po zmianie mm na FUTEX_STATE_OK.

Ocena ryzyka

Luka może być wykorzystana do uzyskania nieautoryzowanego dostępu do pamięci jądra, co może prowadzić do awarii systemu lub eskalacji uprawnień.

Rekomendacja

Zaleca się pilne zastosowanie poprawki jądra Linux, która zamyka okno wyścigu, oraz aktualizację systemu do wersji z poprawką.

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/pi: Plug private futex exec() race The check for private futexes whether the waiter's mm, which is stored in the futex_key and copied into the pi_state, is the same as the owner's mm is not sufficient for exec(). exec() has a gap where the mm check fails to give the correct answer: exec() ... exec_release_mm() futex_exec_release() tsk::futex::exit_state = EXITING; cleanup_robust_list(); 1) tsk::futex::exit_state = OK; ... old_mm = tsk::mm; 2) tsk::mm = ->mm; Between #1 and #2 the check for the mm is wrong as that mm is about to be swapped out and eventually freed. Plug this gap by: 1) Setting tsk::futex::exit_state to FUTEX_STATE_DEAD in futex_exec_release() 2) Setting tsk::futex::exit_state to FUTEX_STATE_OK after the mm has been switched. From a futex point of view the task is dead after it finished the robust list cleanup up to the point where it sets the state to OK again.

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