summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-06-28 08:45:41 +0200
committerSven Eckelmann <sven@narfation.org>2026-06-28 09:58:29 +0200
commit48067b2ae4504500a7093d9e1e16b42e70330480 (patch)
tree2836acb5da2e44aec92478d3c69b16c870621abe /rust
parent77880a3be88d378d60cc1e8f8ec70430e2ed0518 (diff)
batman-adv: dat: acquire ARP hw source only after skb realloc
The pskb_may_pull() called by batadv_get_vid() could reallocate the buffer behind the skb. Variables which were pointing to the old buffer need to be reassigned to avoid an use-after-free. Cc: stable@vger.kernel.org Fixes: b61ec31c8575 ("batman-adv: Snoop DHCPACKs for DAT") Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions