Katalog CVE

CVE-2026-98617

Niskie ryzyko· EPSS 8%
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.19%

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

Streszczenie

W jądrze Linux naprawiono błąd w sterowniku fbnic (eth: fbnic), który dotyczył wyboru wektora NAPI dla kolejki odbiorczej (Rx). Kod używał indeksu modulo liczby wektorów NAPI, co dawało nieprawidłowe przypisanie, gdy istniały samodzielne wektory nadawcze (Tx). Poprawka wykorzystuje wskaźnik NAPI przechowywany w netdev_rx_queue.napi, ustawiany przez fbnic_set_netif_napi() i czyszczony przez fbnic_reset_netif_napi(), co eliminuje potrzebę dzielenia modulo i zapewnia spójność w sytuacjach, gdy datapath jest wyłączony.

Ocena ryzyka

Błędne przypisanie wektora NAPI do kolejki Rx może prowadzić do nieprawidłowego działania sterownika sieciowego, w tym do problemów z wydajnością, błędów w obsłudze przerwań lub potencjalnych awarii systemu (np. użycie zwolnionych struktur po zatrzymaniu interfejsu). W środowiskach produkcyjnych może to skutkować utratą łączności sieciowej lub niestabilnością jądra.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej tę poprawkę (commit opisany w CVE-2026-98617). Jeśli używasz sterownika fbnic, zweryfikuj, czy Twoja wersja jądra zawiera poprawkę, i zaplanuj aktualizację w najbliższym oknie serwisowym.

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: eth: fbnic: use the Rx queue napi pointer to find the napi vector The queue management ndos pick the napi vector for an Rx queue with: nv = fbn->napi[idx % fbn->num_napi]; The issue is this is only correct in the cases where there are no standalone Tx vectors. In those cases we were allocating the Tx vectors first and then the Rx so the queues would be pointing to Tx NAPI vectors instead of the Rx ones. The mapping the ndos want is already recorded. fbnic_set_netif_napi() publishes it with netif_queue_set_napi(), which stores the napi pointer in netdev_rx_queue.napi, and fbnic_reset_netif_napi() clears it again. Both run under the netdev instance lock that the queue management ndos also hold, so the pointer can be read directly. Use it and drop the divide. The pointer is NULL exactly while the datapath is down, so fbnic_queue_mem_alloc() can reject that case rather than reaching into freed state: netdev_rx_queue_restart() calls it before it tests netif_running(), and fbnic_pm_suspend() leaves netif_running() true across a PCIe recovery that never completes, so a queue restart can arrive after fbnic_stop() has freed the rings and the vectors. fbnic_stop() clears the association in fbnic_reset_netif_queues() before fbnic_free_napi_vectors(), so the NULL is always published first. fbnic_queue_start() and fbnic_queue_stop() need no check of their own, as netdev_rx_queue_reconfig() only reaches them once fbnic_queue_mem_alloc() has succeeded under the same instance lock.

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