Katalog CVE

CVE-2026-89895

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W sterowniku media cobalt jądra Linux funkcja snd_cobalt_card_create() zapisuje cobsc w sc->private_data i ustawia snd_cobalt_card_private_free() jako sc->private_free. Jeśli cobalt_alsa_init() zawiedzie, ścieżka err_exit_free wywołuje snd_card_free(sc), a następnie kfree(cobsc), co powoduje podwójne zwolnienie tego samego obiektu.

Ocena ryzyka

Podwójne zwolnienie pamięci może prowadzić do uszkodzenia sterty jądra, paniki systemu lub potencjalnego wykorzystania do eskalacji uprawnień.

Rekomendacja

Zaktualizuj jądro Linux do wersji z poprawką usuwającą jawne kfree(cobsc) i pozostawiającą własność obiektu karcie ALSA.

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: media: cobalt: Avoid freeing ALSA private data twice snd_cobalt_card_create() stores cobsc in sc->private_data and installs snd_cobalt_card_private_free() as sc->private_free. From that point, snd_card_free(sc) releases cobsc through the ALSA card cleanup path. If cobalt_alsa_init() fails after snd_cobalt_card_create(), the err_exit_free path calls snd_card_free(sc) and then kfree(cobsc). That second free releases the same object again. Remove the explicit kfree(cobsc) and leave ownership with the ALSA card. This issue was found by a static analysis checker and confirmed by manual source review.

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