Katalog CVE

CVE-2026-68201

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.17%

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

Streszczenie

W jądrze Linux w podsystemie ALSA timer występuje problem z opróżnianiem (drain) callbacków niewolników (slaves) przed ich odłączeniem przez mastera. Gdy instancja mastera jest zamykana, remove_slave_links() czyści pole ->timer każdego niewolnika, a następnie zamykanie niewolnika pomija opróżnianie callbacku, co może prowadzić do użycia po zwolnieniu, jeśli callback niewolnika jest nadal aktywny.

Ocena ryzyka

Może to prowadzić do użycia po zwolnieniu (use-after-free), co może skutkować awarią systemu lub potencjalnym wykonaniem złośliwego kodu przez lokalnego użytkownika.

Rekomendacja

Zastosuj poprawkę jądra Linux, która opróżnia callbacki niewolników przed ich odłączeniem przez remove_slave_links(), aby zapobiec użyciu po zwolnieniu.

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

In the Linux kernel, the following vulnerability has been resolved: ALSA: timer: drain a slave's callback before its master detaches it snd_timer_close_locked() drains the closing instance's own in-flight callback (IFLG_CALLBACK) before freeing it, but not its slaves'. When a master instance is closed, remove_slave_links() clears each slave's ->timer; the slave's own close then reads timer == NULL and takes the branch that skips the drain entirely (snd_timer_stop_slave() also no-ops on a NULL timer). So a slave whose callback is still running when the master is closed is freed underneath the live callback, leading to use-after-free. Drain the slaves too before remove_slave_links() severs them. snd_timer_stop() has already taken this instance off the active list, so no new slave callback can be queued. Take the slaves off the ack list so a pending one can't fire either, then wait for any that is already in flight.

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