Katalog CVE

CVE-2026-80870

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w sterowniku amdkfd podczas przywracania stanu CRIU nie walidowano poprawnie identyfikatorów przywracanych z przestrzeni użytkownika przed użyciem ich w funkcji idr_alloc. Zbyt duże identyfikatory (powyżej INT_MAX) mogą wywołać ostrzeżenie WARN w warstwie IDR, co może prowadzić do paniki lub restartu systemu, jeśli włączona jest opcja panic_on_warn.

Ocena ryzyka

Atakujący z uprawnieniami do przywracania CRIU może spowodować awarię systemu (panikę) lub niepożądany restart, co prowadzi do przerwy w działaniu usług.

Rekomendacja

Zainstaluj najnowszą łatkę jądra Linux, która dodaje walidację INT_MAX przed użyciem przywracanych identyfikatorów w ścieżkach kfd_criu_restore_event() i criu_restore_memory_of_gpu().

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: drm/amdkfd: Validate CRIU-restored IDs before idr_alloc The KFD CRIU restore flow restores previously saved object IDs from userspace. For event restore: kfd_criu_restore_event() -> create_signal_event() / create_other_event() -> allocate_event_notification_slot() -> idr_alloc(..., *restore_id, *restore_id + 1, ...) For BO restore: criu_restore_memory_of_gpu() -> idr_alloc(..., bo_priv->idr_handle, ...) In both cases, the restored ID comes from userspace-provided CRIU data. idr_alloc() expects the ID range values to fit within signed int limits. If a restored ID is larger than INT_MAX, it can trigger a WARN in the IDR layer. A kernel WARN is undesirable because it prints a warning trace and may cause a panic or reboot on systems with panic_on_warn enabled. Smatch reported these paths as allowing unchecked userspace values to reach idr_alloc(). Add INT_MAX validation before using restored IDs in: - kfd_criu_restore_event() - criu_restore_memory_of_gpu() If the restored ID is invalid, return -EINVAL. This prevents invalid restore data from reaching the IDR layer and avoids WARN-triggering paths, while keeping valid restore behavior unchanged.

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