summaryrefslogtreecommitdiff
path: root/scripts/stackdelta
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-05-06 23:20:50 +0300
committerSven Eckelmann <sven@narfation.org>2026-05-08 15:28:51 +0300
commit4ae1709a314060a196981b344610d023ea841e57 (patch)
tree96c67ed87e4b693c34020226b5a540c3570fa071 /scripts/stackdelta
parentce425dd05d0fe7594930a0fb103634f35ac47bb6 (diff)
downloadlinux-4ae1709a314060a196981b344610d023ea841e57.tar.xz
batman-adv: bla: prevent use-after-free when deleting claims
When batadv_bla_del_backbone_claims() removes all claims for a backbone, it does this by dropping the link entry in the hash list. This list entry itself was one of the references which need to be dropped at the same time via batadv_claim_put(). But the batadv_claim_put() must not be done before the last access to the claim object in this function. Otherwise the claim might be freed already by the batadv_claim_release() function before the list entry was dropped. Cc: stable@kernel.org Fixes: 23721387c409 ("batman-adv: add basic bridge loop avoidance code") Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'scripts/stackdelta')
0 files changed, 0 insertions, 0 deletions