Actions
Bug #462
openbla: potential deletion of wrong claim
Start date:
07/30/2026
Due date:
% Done:
0%
Estimated time:
Description
Does the same hash removal bug fixed by this patch also exist in the Bridge Loop Avoidance (BLA) subsystem?
Looking at batadv_bla_del_claim():
net/batman-adv/bridge_loop_avoidance.c:batadv_bla_del_claim() {
...
claim_removed_node = batadv_hash_remove(bat_priv->bla.claim_hash,
batadv_compare_claim,
batadv_choose_claim, claim);
...
}
Since batadv_compare_claim() matches any claim with the same MAC address and VLAN ID rather than checking exact pointer identity, could a newly added claim be incorrectly unlinked from the hash if a concurrent UNCLAIM preempts the process?
See https://sashiko.dev/#/patchset/20260730-tt-fixes-v1-0-64e9e525d555%40narfation.org
No data to display
Actions