Re: [PATCH] net: prevent receive header offset overflow during decapsulation

From: patchwork-bot+netdevbpf

Date: Thu Nov 19 2026 - 09:40:21 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Wed, 18 Nov 2026 08:32:27 -0600 you wrote:
> Repeated decapsulation can leave skb->data far from skb->head while
> the remaining packet data is still valid. Since the skb header positions
> are 16-bit offsets, a later header update can truncate and make header
> access use unrelated bytes and eventually crash.
>
> Limit receive headroom to 32 KiB. This is well beyond the headroom of
> normal packets while allowing the networking stack to pull enough
> headers in a single pass without overflowing 16-bit header offsets.
>
> [...]

Here is the summary with links:
- net: prevent receive header offset overflow during decapsulation
https://git.kernel.org/netdev/net/c/b10c986f1769

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html