Katalog CVE

CVE-2026-89953

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux funkcja mtdoops_notify_add() alokuje bitmapę oops_page_used przy rejestracji urządzenia MTD, ale mtdoops_notify_remove() nie zwalnia jej. Ponowna rejestracja tego samego urządzenia MTD powoduje wyciek jednej alokacji vmalloc na każdy cykl remove/add.

Ocena ryzyka

Powtarzające się cykle usunięcia i ponownej rejestracji urządzenia MTD prowadzą do wycieku pamięci jądra, co może ostatecznie wyczerpać zasoby i wpłynąć na stabilność systemu.

Rekomendacja

Zaktualizuj jądro Linux do wersji z poprawką zwalniającą bitmapę po wyrejestrowaniu dumpera i opróżnieniu oczekujących workerów oraz czyszczącą wskaźnik i licznik stron.

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: mtd: mtdoops: free page bitmap when the backing MTD is removed mtdoops_notify_add() allocates oops_page_used when the configured MTD device is registered. mtdoops_notify_remove() detaches from that device but leaves the bitmap allocated. If the same MTD device is later registered again, the add path allocates a new bitmap and overwrites the old pointer, leaking one vmalloc allocation per remove/add cycle. This is only visible when the backing MTD device can disappear and be registered again while mtdoops remains loaded, so the usual static MTD case does not expose it. Free the bitmap after unregistering the dumper and flushing the pending workers, then clear the pointer and page count before a later attach can allocate fresh state. Clearing the pointer also keeps the module exit path from freeing the same bitmap a second time after a remove event.

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