Re: [PATCH net] pppoe: reload header pointer after dev_hard_header()
From: patchwork-bot+netdevbpf
Date: Thu Jul 23 2026 - 10:16:57 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 22 Jul 2026 09:38:43 +0000 you wrote:
> pppoe_sendmsg() saves a pointer to the PPPoE header before calling
> dev_hard_header(). Device header callbacks are allowed to reallocate the
> skb head, invalidating pointers into it.
>
> This can happen when a send is blocked in copy_from_user() while the first
> non-Ethernet port is added to an empty team device. The team's delegated
> GRE header callback then expands the skb head. PPPoE subsequently writes
> six bytes through the stale pointer into the freed head.
>
> [...]
Here is the summary with links:
- [net] pppoe: reload header pointer after dev_hard_header()
https://git.kernel.org/netdev/net/c/e9c238f6fe42
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html