Katalog CVE

CVE-2026-90019

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux funkcja usb_put_function_instance() próbuje dereferencjonować fd wewnątrz struktury fi w ścieżce błędu uvc_alloc_inst(). Jednak fd nie jest alokowane aż do późniejszego try_get_usb_function_instance(), więc w ścieżce błędu jest zawsze NULL. Poprawka dodaje sprawdzenie NULL dla fi->fd.

Ocena ryzyka

Dereferencja NULL w ścieżce błędu może powodować awarię jądra (odmowa usługi) podczas obsługi błędów alokacji funkcji USB gadget.

Rekomendacja

Zaktualizuj jądro Linux do wersji z poprawką dodającą sprawdzenie NULL dla fi->fd przed dereferencją.

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: usb: gadget: fix null pointer dereference in usb_put_function_instance() usb_put_function_instance() attempts to dereference fd inside fi struct to get mod in uvc_alloc_inst() error path. However, fd is not allocated until later in try_get_usb_function_instance() after allocating fi in uvc_alloc_inst() and thus guranteed to be null in error path. Fix this by adding a null check for fi->fd that returns if fd is null.

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