CVE-2026-72227
WysokieCVSS 8.1Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 26 - wyżej niż 26% wszystkich znanych CVE
Streszczenie
W jądrze Linux w module batman-adv, podczas sprawdzania dostępności danych dla pola num_dests w strukturze batadv_tvlv_mcast_tracker, użyto offsetof() zamiast offsetofend(), co zawsze zwraca 0. To powoduje, że sprawdzenie zawsze przechodzi, nawet gdy dostępnych jest tylko 0 lub 1 bajt, co prowadzi do odczytu poza zakresem (OOB).
Ocena ryzyka
Podatność może umożliwić atakującemu odczyt danych poza buforem, co może prowadzić do wycieku informacji lub awarii systemu.
Rekomendacja
Zainstaluj poprawkę jądra Linux, która używa offsetofend() do prawidłowego sprawdzenia rozmiaru. Ogranicz dostęp do sieci dla nieautoryzowanych użytkowników.
Oryginalny opis (angielski, źródło NVD)
In the Linux kernel, the following vulnerability has been resolved: batman-adv: mcast: avoid OOB read of num_dests header Before the access to struct batadv_tvlv_mcast_tracker's num_dests, it is attempted to check whether enough space is actually in the network header. But instead of using offsetofend() to check for the whole size (2) which must be accessible, offsetof() of is called. The latter is always returning 0. The comparison with the network header length will always return that enough data is available - even when only 1 or 0 bytes are accessible. Instead of using offsetofend(), use the more common check for the whole header.

