Re: [PATCH net 1/6] batman-adv: retrieve ethhdr after potential skb realloc on RX
[email protected] Thu, 02 Jul 2026 08:40:13 +0000
| Newsgroups | org.open-mesh.lists.batman,org.kernel.vger.netdev,org.kernel.vger.stable |
|---|---|
| Message-ID | <178298161396.1523446.3039520497502044353.git-patchwork-notify@kernel.org> |
Hello: This series was applied to netdev/net.git (main) by Sven Eckelmann <[email protected]>: On Tue, 30 Jun 2026 15:44:25 +0200 you wrote: > From: Sven Eckelmann <[email protected]> > > pskb_may_pull() in batadv_interface_rx() 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. > > This was done correctly for the VLAN header but missed for the ethernet > header which is later used for the TT and AP isolation handling. > > [...] Here is the summary with links: - [net,1/6] batman-adv: retrieve ethhdr after potential skb realloc on RX https://git.kernel.org/netdev/net/c/035e1fed892d - [net,2/6] batman-adv: access unicast_ttvn skb->data only after skb realloc https://git.kernel.org/netdev/net/c/7141990add3f - [net,3/6] batman-adv: gw: acquire ethernet header only after skb realloc https://git.kernel.org/netdev/net/c/77880a3be88d - [net,4/6] batman-adv: dat: acquire ARP hw source only after skb realloc https://git.kernel.org/netdev/net/c/48067b2ae450 - [net,5/6] batman-adv: bla: reacquire gw address after skb realloc https://git.kernel.org/netdev/net/c/cdf3b5af2bc4 - [net,6/6] batman-adv: dat: ensure accessible eth_hdr proto field https://git.kernel.org/netdev/net/c/26560c4a03dc You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html