CVE-2026-53129
WysokieCVSS 7.8Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 5 - wyżej niż 5% wszystkich znanych CVE
Streszczenie
W jądrze Linux wykryto podatność polegającą na użyciu po zwolnieniu (use-after-free) w mechanizmie mbcache. Funkcja mb_cache_destroy() nie anuluje oczekującego zadania c_shrink_work przed zwolnieniem pamięci, co może prowadzić do dostępu do już zwolnionego obszaru.
Ocena ryzyka
Ryzyko polega na możliwości uruchomienia kodu w kontekście jądra przez uprzywilejowanego użytkownika (root lub CAP_SYS_ADMIN) podczas odmontowywania systemu plików ext2/ext4/ocfs2, co może skutkować awarią systemu lub eskalacją uprawnień.
Rekomendacja
Należy niezwłocznie zaktualizować jądro Linux do wersji zawierającej poprawkę, która dodaje wywołanie cancel_work_sync() przed wywołaniem shrinker_free() w funkcji mb_cache_destroy().
Oryginalny opis (angielski, źródło NVD)
In the Linux kernel, the following vulnerability has been resolved: fs/mbcache: cancel shrink work before destroying the cache mb_cache_destroy() calls shrinker_free() and then frees all cache entries and the cache itself, but it does not cancel the pending c_shrink_work work item first. If mb_cache_entry_create() schedules c_shrink_work via schedule_work() and the work item is still pending or running when mb_cache_destroy() runs, mb_cache_shrink_worker() will access the cache after its memory has been freed, causing a use-after-free. This is only reachable by a privileged user (root or CAP_SYS_ADMIN) who can trigger the last put of a mounted ext2/ext4/ocfs2 filesystem. Cancel the work item with cancel_work_sync() before calling shrinker_free(), ensuring the worker has finished and will not be rescheduled before the cache is torn down.

