Katalog CVE

CVE-2026-90216

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w podsystemie UBI funkcja ubi_init_attach() wycofuje nieudane inicjalizacje, skanując ubi_devices[0..i-1] i zakładając, że indeks parametru mtd= odpowiada numerowi urządzenia UBI. Przy jawnie podanym ubi_num założenie jest błędne i pomyślnie podłączone urządzenie może zostać pominięte przy wycofywaniu.

Ocena ryzyka

Nieprawidłowe wycofywanie może pozostawić urządzenia w niespójnym stanie, prowadząc do wycieków zasobów lub błędów jądra przy nieudanej inicjalizacji.

Rekomendacja

Zaktualizuj jądro Linux do wersji, która skanuje całą tablicę ubi_devices[] i odłącza urządzenia po rzeczywistym indeksie tablicy.

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: ubi: Fix rollback for explicit UBI device numbers ubi_init_attach() rolls back module initialization failures by scanning ubi_devices[0..i-1], where i is the mtd= parameter index. That assumes the parameter index matches the UBI device number. That assumption is not true when mtd= specifies an explicit ubi_num. A successfully attached device can be stored at a higher ubi_devices[] slot, and a later failure can miss it during rollback. Scan the full ubi_devices[] array and detach by the actual array index, matching the way UBI devices are stored.

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