Katalog CVE

CVE-2026-107470

ŚrednieCVSS 6.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Streszczenie

Sterownik WINC1500 Wi-Fi offload (drivers/wifi/winc1500/wifi_winc1500.c) przechowuje stan gniazd w tablicy socket_data[] o rozmiarze CONFIG_WIFI_WINC1500_OFFLOAD_MAX_SOCKETS (domyślnie 2). Funkcje winc1500_socket_cb() i handle_socket_msg_accept() indeksują tę tablicę identyfikatorami gniazd zgłaszanymi przez firmware WINC1500 bez sprawdzania granic, a w przypadku accept negatywny identyfikator błędu również trafia do ścieżki indeksowania. Gdy aplikacja uruchamia serwer TCP na interfejsie offload, zdalny peer może spowodować zgłoszenie identyfikatora gniazda 2 lub wyższego, co prowadzi do memcpy() poza tablicą i dalszych odczytów/zapisów poza granicami, korupcji sąsiedniego stanu sterownika (w tym wskaźników funkcji) i w konsekwencji do awarii (zdalna odmowa usługi) oraz możliwego naruszenia integralności.

Ocena ryzyka

Zdalny atakujący może wywołać awarię systemu (odmowa usługi) poprzez otwieranie połączeń TCP do serwera działającego na interfejsie WINC1500, a w niektórych przypadkach możliwe jest naruszenie integralności danych. Dodatkowo złośliwy lub przejęty moduł WINC1500 może wywołać te same błędy z dowolnymi identyfikatorami gniazd.

Rekomendacja

Zaktualizuj sterownik WINC1500 do wersji zawierającej poprawkę dodającą sprawdzanie granic identyfikatorów gniazd w winc1500_socket_cb() i handle_socket_msg_accept() oraz zwracającej wczesny powrót w gałęzi błędu. Do czasu wdrożenia poprawki unikaj uruchamiania serwerów TCP na interfejsie offload WINC1500 lub ogranicz dostęp sieciowy do takich usług.

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

The WINC1500 Wi-Fi offload driver (drivers/wifi/winc1500/wifi_winc1500.c) keeps per-socket state in w1500_data.socket_data[], sized by CONFIG_WIFI_WINC1500_OFFLOAD_MAX_SOCKETS (default 2). The socket event callback winc1500_socket_cb() and the accept handler handle_socket_msg_accept() indexed this array with socket IDs reported by the WINC1500 firmware without any bounds check. In the accept handler, a negative (error) socket ID also fell through into the indexing path because the error branch did not return. The firmware assigns the socket ID of each inbound TCP connection from its own pool of 7 TCP sockets, independent of the 2-entry Zephyr table. When an application runs a TCP server over the WINC1500 offloaded interface, a remote network peer that opens connections can cause the firmware to report an accepted socket ID of 2 or higher. handle_socket_msg_accept() then memcpy()s a full struct socket_data past the end of socket_data[], and later receive callbacks and winc1500_recv()/winc1500_put() read and write further out-of-bounds state for that ID. The out-of-bounds writes corrupt adjacent driver state, including w1500_data.iface and the scan_cb function pointer, as well as following static data, and the driver later calls through function pointers loaded from the corrupted memory. The written contents are mostly copies of the listening socket's state rather than attacker-chosen bytes, so the practical impact is memory corruption leading to a crash (remote denial of service), with integrity impact possible. A malicious or compromised WINC1500 module could also trigger the same out-of-bounds accesses with arbitrary socket IDs.

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