diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-06-28 08:45:41 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-06-28 09:58:29 +0200 |
| commit | 48067b2ae4504500a7093d9e1e16b42e70330480 (patch) | |
| tree | 2836acb5da2e44aec92478d3c69b16c870621abe /scripts/sbom | |
| parent | 77880a3be88d378d60cc1e8f8ec70430e2ed0518 (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 'scripts/sbom')
0 files changed, 0 insertions, 0 deletions
