Katalog CVE

CVE-2026-90391

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w lib/test_hmm funkcja dmirror_fault() zwraca 0, gdy mmget_not_zero() zawiedzie, mimo że żadna strona nie została obsłużona i nie zainstalowano wpisu tablicy stron urządzenia. Powoduje to, że wywołujący ponawia ten sam adres, trafia na -ENOENT i może zapętlić się w nieskończoność. Poprawka zwraca -EFAULT.

Ocena ryzyka

Może wystąpić nieskończona pętla w ioctl, prowadząca do zawieszenia procesu lub wyczerpania zasobów CPU. Dotyczy systemów korzystających z testowego modułu HMM.

Rekomendacja

Zaktualizuj jądro Linux do wersji z poprawką zwracającą -EFAULT, gdy lustrzany mm nie może być już obsłużony. Unikaj używania modułu test_hmm w środowisku produkcyjnym.

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: lib/test_hmm: fail dmirror_fault() when the mirrored mm is gone dmirror_fault() is called from the dmirror_read() and dmirror_write() retry loops after dmirror_do_read() or dmirror_do_write() finds a missing device page table entry. If the mirrored mm has already exited, mmget_not_zero() fails. The current code returns 0 in that case, which tells the caller that faulting succeeded even though no page was faulted and no device page table entry was installed. The caller then retries the same address, hits -ENOENT again, and can loop forever without making progress. Return -EFAULT instead, so the ioctl fails when the mirrored mm is no longer faultable.

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