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:22 +0200 |
| commit | 77880a3be88d378d60cc1e8f8ec70430e2ed0518 (patch) | |
| tree | 3d8c77dae8e0b15978b17e2eb5d800f1523840bf /lib/raid/raid6/git@git.tavy.me:linux-stable.git | |
| parent | 7141990add3f75436f2933cb310654cad3b1e3e9 (diff) | |
batman-adv: gw: acquire ethernet header 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: 6c413b1c22a2 ("batman-adv: send every DHCP packet as bat-unicast")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'lib/raid/raid6/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
