Katalog CVE

CVE-2026-90284

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w firmware_loader występuje problem z kolejkowaniem zakończonych żądań fallback sysfs. Funkcja fw_load_sysfs_fallback() wywołuje device_add() przed dodaniem fw_priv do pending_fw_head. To pozwala użytkownikowi przestrzeni użytkownika na ukończenie żądania przed jego zakolejkowaniem, co prowadzi do zakolejkowania już zakończonego żądania i potencjalnego błędu przy następnym żądaniu. Poprawka sprawdza, czy żądanie jest już zakończone i nie kolejkuje go.

Ocena ryzyka

Może to prowadzić do użycia po zwolnieniu pamięci, co może skutkować awarią systemu lub potencjalną eskalacją uprawnień. Atakujący z dostępem do sysfs może wywołać ten błąd.

Rekomendacja

Zastosuj aktualizację jądra Linux zawierającą tę poprawkę. Ogranicz dostęp do interfejsu sysfs dla nieuprawnionych użytkownikó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: firmware_loader: do not queue completed sysfs fallback requests fw_load_sysfs_fallback() calls device_add() before adding the fw_priv to pending_fw_head. device_add() publishes the fallback loading interface, so a userspace helper which discovers the device by scanning sysfs can write 0 to the loading attribute and complete the request before it is queued as pending. In that interleaving firmware_loading_store() calls fw_state_done() while pending_list still points to itself, so it cannot remove an entry from pending_fw_head. The subsequent unconditional list_add() then queues an already-completed fw_priv. Once the request is released, pending_fw_head can retain a pointer to freed memory and the next fallback request can fault while validating the list. Only in-flight fallback requests need suspend or reboot abort handling. If the request is already DONE after device_add(), return success from the fallback path without sending another uevent, waiting again, or queueing it as pending. This preserves the invariant that pending_fw_head contains only active fallback requests.

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