Katalog CVE

CVE-2026-98796

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.17%

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

Streszczenie

W jądrze Linux w sterowniku mtk_eth_soc występuje problem kolejności inicjalizacji: urządzenia sieciowe MAC są rejestrowane przed utworzeniem wewnętrznego urządzenia dummy i wspólnego NAPI. Jeśli interfejs zostanie podniesiony w tym oknie (np. przez netifd natychmiast po rejestracji), ścieżka pierwszego otwarcia odwołuje się do NULL (eth->dummy_dev lub napi->dev), co powoduje ostrzeżenie w net/core/xdp.c i błąd -ENODEV. Poprawka alokuje dummy netdev i dodaje NAPI przed pętlą register_netdev() oraz porządkuje ścieżki błędów.

Ocena ryzyka

Podatność może powodować błędy i awarie podczas inicjalizacji interfejsów sieciowych na urządzeniach z SoC MediaTek (NETSYS v1 i v2+), co prowadzi do niedostępności sieci. Wymaga jednak lokalnego dostępu do konfiguracji interfejsów w krytycznym momencie, więc ryzyko jest ograniczone do środowisk, w których interfejsy są automatycznie podnoszone podczas startu systemu.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę dla sterownika mtk_eth_soc. Jeśli aktualizacja nie jest możliwa, rozważ opóźnienie automatycznego podnoszenia interfejsów sieciowych do momentu pełnego zainicjalizowania sterownika.

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: net: ethernet: mtk_eth_soc: allocate dummy netdev sooner The RX rings and the shared NAPI are carried by an internal "dummy" netdev (eth->dummy_dev). mtk_probe() creates that dummy device, and adds the shared tx/rx NAPI to it, only after the MAC netdevs have been registered. That order has been there since the MT7623 support was added and leaves a window in which the netdevs are visible to the network core before the shared NAPI and the dummy device exist. If anything brings the first netdev up during that window (e.g. netifd opening the WAN link the instant the interface is registered), the first-open path runs without them. On NETSYS v2 and later SoCs mtk_rx_alloc() -> __xdp_rxq_info_reg() then dereferences eth->dummy_dev == NULL: WARNING: CPU: ... Missing net_device from driver in net/core/xdp.c and mtk_open() fails with -ENODEV. On NETSYS v1 SoCs (MT7621/MT7622/MT7623/MT7629) there is no page pool, so the same open instead calls napi_enable() on a napi_struct that netif_napi_add() has not initialised yet and dereferences a NULL napi->dev. Allocate the dummy netdev and add the shared tx/rx NAPI to it before the register_netdev() loop. Both the dummy-allocation failure and a register_netdev() failure now unwind through mtk_unreg_dev(), which unregisters the net_device notifiers and the netdevs registered so far, stopping a concurrently-opened netdev (ndo_stop) and its NAPI before the dummy carrier is freed. A netdev that opened during the window can also have queued the frame-engine reset worker (via the tx watchdog or phylink), so the probe error path now cancels eth->pending_work before freeing the shared state, as mtk_cleanup() already does on remove.

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