Katalog CVE

CVE-2026-139112

KrytyczneCVSS 9.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Podwyższone ryzyko
1.28%

Percentyl 71 - wyżej niż 71% wszystkich znanych CVE

Streszczenie

W jądrze Linux w rnbd-srv funkcja rnbd_sess_dev_alloc() zapisuje pusty sess_dev w XArray jako pierwszy krok. Wiadomość IO z nowym ID z innego połączenia może go znaleźć przed ustawieniem bdev_file lub trzymać odwołanie, gdy nieudane OPEN zwalnia go po samym okresie RCU. Poprawka rezerwuje ID wpisem NULL i zapisuje sess_dev dopiero, gdy nic już nie może zawieść.

Ocena ryzyka

Może wystąpić use-after-free lub dostęp do niezainicjalizowanej struktury w serwerze RNBD, wywoływalny przez dowolnego hosta mogącego otworzyć urządzenie.

Rekomendacja

Zaktualizuj jądro Linux do wersji z poprawką publikującą sess_dev na końcu OPEN w rnbd-srv.

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: rnbd-srv: publish the sess_dev at the end of OPEN rnbd_sess_dev_alloc() stores the empty sess_dev in the XArray as its first step. An IO message with the new ID from another connection can find it before bdev_file is set, or hold a reference while a failing OPEN frees it after a mere RCU grace period. Both are reachable from any host that can open a device. Reserve the ID with a NULL entry and store the sess_dev once nothing can fail anymore. The error path still erases the ID, and no longer needs synchronize_rcu().

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