Katalog CVE

CVE-2026-90277

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w podsystemie md/md-llbitmap funkcja llbitmap_create() publikuje mddev->bitmap przed odczytem superbloku bitmapy. Jeśli llbitmap_read_sb() zawiedzie, stara ścieżka czyszczenia zwalniała llbitmap przed wyczyszczeniem mddev->bitmap, przez co czytelnicy tacy jak /proc/mdstat mogli zobaczyć nieaktualny wskaźnik. Poprawka czyści mddev->bitmap przy trzymanym mutexie bitmap_info.mutex.

Ocena ryzyka

Może prowadzić do użycia zwolnionej pamięci (use-after-free) i niestabilności jądra podczas nieudanego tworzenia bitmapy. Może skutkować awarią systemu lub błędnymi odczytami statystyk macierzy.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę czyszczącą mddev->bitmap pod mutexem. Aktualizacja jest zalecana szczególnie na systemach intensywnie korzystających z macierzy md i llbitmap.

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: md/md-llbitmap: prevent create failure bitmap UAF llbitmap_create() publishes mddev->bitmap before reading the bitmap superblock. This is needed because llbitmap_read_sb() can initialize a new bitmap and flush it through helpers that use mddev->bitmap. If llbitmap_read_sb() fails, the old cleanup dropped bitmap_info.mutex and freed llbitmap before clearing mddev->bitmap. Readers such as /proc/mdstat rely on bitmap_info.mutex to keep the bitmap pointer stable while collecting bitmap stats, so they could observe the stale pointer after the failed create path released the mutex. Clear mddev->bitmap while still holding bitmap_info.mutex, then free the failed llbitmap after dropping the mutex. This makes mutex-protected readers see either a live bitmap or no bitmap.

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