Katalog CVE

CVE-2026-98616

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.17%

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

Streszczenie

W jądrze Linux w sterowniku fbnic (eth: fbnic) licznik num_napi nie był zerowany przy zwalnianiu wektorów NAPI. W wyniku tego, gdy ścieżka zarządzania energią (PM) lub odzyskiwanie po błędzie PCIe nie odbuduje datapath, num_napi pozostaje dodatnie mimo zwolnionych wektorów, co prowadzi do użycia zwolnionej pamięci i dereferencji NULL w fbnic_dbg_down().

Ocena ryzyka

Może wystąpić awaria jądra (oops/panic) przy usuwaniu lub odłączaniu interfejsu sieciowego, co prowadzi do niedostępności systemu lub usług sieciowych. Dotyczy to szczególnie systemów z kartami fbnic narażonymi na błędy PCIe lub problemy z zarządzaniem energią.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę, która zeruje num_napi przy zwalnianiu wektorów NAPI. Jeśli aktualizacja nie jest możliwa, unikaj nieudanych cykli zawieszania/wznawiania i odzyskiwania po błędach PCIe na urządzeniach fbnic.

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: reset num_napi when the napi vectors are freed fbn->num_napi is the count of live napi vectors, each of which owns an IRQ. The PM path had freed them without clearing the count. fbnic_pm_suspend() tears the datapath down via ndo_stop() and frees the IRQs, but leaves netif_running() true so resume knows to re-open. Resume rebuilds the datapath in __fbnic_pm_resume() and fbnic_reset_queues() sets num_napi and __fbnic_open() re-allocates the vectors. When the datapath is torn down but never rebuilt, num_napi is left pointing at freed vectors under 2 different scenarios: - a PCIe error recovery that fails (fbnic_err_slot_reset() -> __fbnic_pm_resume() returns an error -> PCI_ERS_RESULT_DISCONNECT), so .resume never runs; or - an __fbnic_open() that fails partway on resume and unwinds, freeing the vectors after fbnic_reset_queues() has already set num_napi. The netdev is then running with num_napi > 0 but napi[] freed, and the eventual remove/unbind close re-enters fbnic_down() -> fbnic_dbg_down() and dereferences the freed vectors: BUG: kernel NULL pointer dereference, address: 0000000000000210 RIP: fbnic_dbg_down+0x28 Clear num_napi when the vectors are freed: in the suspend teardown (a good resume re-establishes it before __fbnic_open()) and on the resume open failure. A redundant ndo_stop() then walks an empty napi[]. The normal ndo_stop() down/up cycle is untouched and keeps num_napi for the next ndo_open().

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