Katalog CVE

CVE-2026-89948

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W module batman-adv jądra Linux podczas usuwania interfejsu mesh funkcja batadv_bla_del_backbone_claims() nie jest wykonywana, ponieważ batadv_bla_free() ustawia claim_hash na NULL przed wywołaniem, co uniemożliwia zwolnienie wszystkich claims. Dodatkowo batadv_handle_unclaim() może nie znaleźć odpowiedniego backbone z powodu braku obsługi rehashingu. Poprawka upraszcza proces zwalniania claims.

Ocena ryzyka

Podatność może prowadzić do wycieku pamięci (niezwolnione obiekty claims) przy wielokrotnym tworzeniu i usuwaniu interfejsów mesh, co z czasem może wyczerpać zasoby systemowe. Dotyczy systemów używających batman-adv z BLA.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę prawidłowo zwalniającą claims przy usuwaniu interfejsu mesh. Monitoruj zużycie pamięci w systemach z dynamicznie tworzonymi interfejsami mesh.

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: batman-adv: bla: fix freeing of claims on meshif deletion When the mesh interface is getting deleted, then batadv_bla_del_backbone_claims() (via batadv_bla_purge_backbone_gw()) could make sure that all claims gets removed. But this function is only executed when bat_priv->bla.claim_hash is not NULL. And since batadv_bla_free() is always setting it to NULL before it is (indirectly) called, it was never actually executed. But the batadv_bla_purge_claims() -> batadv_handle_unclaim() is at the moment too fragile because the BLA code is not handling the rehashing in batadv_bla_update_orig_address(). The stored backbone address doesn't have to be the one actually used for the hash bucket selection during the initial adding of the backbone. The batadv_handle_unclaim() can therefore fail to find the respective backbone for the unclaim and then stop the deletion. But the actual backbone_gw object is not needed for the unclaim because all relevant information is always provided by the caller. And the check for the existence of the backbone_gw doesn't provide any additional security check for the deletion of a claim.

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