CVE-2026-19937
ŚrednieCVSS 5.7Streszczenie
Podatność w stosie Bluetooth Mesh w Zephyr powoduje trwałą utratę kontekstów wiadomości z puli, co prowadzi do odmowy usługi (DoS) po wyczerpaniu puli. Atakujący w sieci mesh może celowo wywołać wyciek kontekstów, a urządzenie przestaje odpowiadać na żądania do czasu restartu.
Ocena ryzyka
Organizacja narażona jest na trwałą niedostępność urządzeń mesh (np. czujników, oświetlenia) po ataku DoS z sieci mesh. Atak nie wymaga fizycznego dostępu i może być przeprowadzony zdalnie przez zalogowanego węzła, co zakłóca działanie infrastruktury IoT.
Rekomendacja
Zaleca się natychmiastowe zastosowanie poprawki od dostawcy (Zephyr) oraz, jeśli to możliwe, wyłączenie opóźnionych wiadomości (CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG) lub zwiększenie limitów puli, aby zmniejszyć ryzyko wyczerpania. Należy również monitorować urządzenia pod kątem braku odpowiedzi i planować restart po incydencie.
Inne podatności w Zephyr Bluetooth Mesh
Zobacz wszystkie- CVE-2026-15894Wysokie
Podatność w stosie Bluetooth Mesh Zephyr dotyczy obsługi pakietów Solicitation w funkcji sol_pdu_decrypt(). Odebrany pakiet PDU jest kopiowany do stałego bufora 17-bajtowego na stosie bez sprawdzania długości źródła, co w wersjach produkcyjnych (gdzie asercje są wyłączone) prowadzi do przepełnienia bufora. Atakujący może wysłać specjalnie spreparowaną reklamę Bluetooth, która spowoduje zapis danych poza bufor, bez potrzeby posiadania kluczy szyfrujących.
- CVE-2026-5589Średnie
Niedomiar liczby całkowitej w funkcji bt_mesh_sol_recv() w obsłudze zapytań Bluetooth Mesh (subsys/bluetooth/mesh/solicitation.c) prowadzi do zapisu poza dozwolonym obszarem. Gdy CONFIG_BT_MESH_OD_PRIV_PROXY_SRV jest włączone, funkcja analizuje ramki PDU zapytań z surowych reklam BLE. Pętla parsowania AD odczytuje kontrolowaną przez atakującego długość (reported_len) i oblicza reported_len - 3 bez sprawdzania, czy reported_len >= 3. Gdy reported_len jest mniejsze niż 3, odejmowanie daje ujemną wartość, która omija zabezpieczenie długości i jest niejawnie konwertowana na bardzo duży rozmiar size_t przy przekazywaniu do net_buf_simple_pull_mem(). W kompilacjach bez asercji zawija to długość bufora i przesuwa wskaźnik danych daleko poza zakres, powodując odczyt z nieprawidłowej pamięci. Urządzenie BLE w pobliżu może to wywołać za pomocą reklamy niełączącej z strukturą AD UUID16 i spreparowaną długością, bez konieczności parowania lub wcześniejszego skojarzenia, potencjalnie prowadząc do odmowy usługi lub zdalnego wykonania kodu.
Oryginalny opis (angielski, źródło NVD)
The Bluetooth Mesh Access layer delayable-message machinery in subsys/bluetooth/mesh/delayable_msg.c manages a static pool of CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_COUNT message contexts (default 4) threaded onto a free_ctx or busy_ctx list. release_delayable_msg_ctx() returned a context to free_ctx only when sys_slist_find_and_remove() found it on busy_ctx. The chunk-exhaustion error path in bt_mesh_delayable_msg_manage() releases a context that was already popped off free_ctx but not yet inserted on busy_ctx, so the context was appended to neither list and was permanently lost from the pool. Because bt_mesh_delayable_msg_init() runs only once from bt_mesh_init(), and node reset/suspend only drain busy_ctx, the loss survives unprovision, re-provision and suspend/resume — it is cleared only by a reboot. The error path is reached when the chunk pool (CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_CHUNK_COUNT, default 40 chunks) is short of the chunks a new delayed message needs and the oldest pending message cannot be flushed because bt_mesh_access_send() returns -EBUSY or -ENOBUFS (all segmented-TX contexts busy, or advertising/segment buffers exhausted). A peer that is provisioned into the mesh network — holding a valid NetKey plus an AppKey or DevKey bound to a server model — can drive both conditions by flooding the victim with requests that elicit segmented responses while withholding the Segment Acknowledgment, which keeps the transmit contexts occupied while queued responses hold the chunk pool. Each further request that arrives in that window leaks one context. Once the pool is drained, bt_mesh_delayable_msg_manage() returns -ENOMEM for every subsequent send and bt_mesh_model_send() propagates that error with no fallback to an immediate transmit. Since CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG and CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG_CTX_ENABLED are both enabled by default, ctx->rnd_delay is set for every received access message, so all replies from Configuration Server, Health Server and application server models are silently dropped. The node keeps receiving and processing traffic but never answers, a persistent denial of service until the device is restarted. There is no memory corruption, information disclosure or integrity impact; releases before the fix compute the chunk count from the transmit buffer capacity rather than its payload length, making chunk-pool starvation — and therefore the leak — considerably easier to provoke.
Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS

