Re: [PATCH v2] net: ppp: Add bound checking for skb d on ppp_sync_txmung
From: patchwork-bot+netdevbpf
Date: Thu Apr 10 2025 - 05:41:40 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Tue, 08 Apr 2025 17:55:08 +0200 you wrote:
> Ensure we have enough data in linear buffer from skb before accessing
> initial bytes. This prevents potential out-of-bounds accesses
> when processing short packets.
>
> When ppp_sync_txmung receives an incoming package with an empty
> payload:
> (remote) gef➤ p *(struct pppoe_hdr *) (skb->head + skb->network_header)
> $18 = {
> type = 0x1,
> ver = 0x1,
> code = 0x0,
> sid = 0x2,
> length = 0x0,
> tag = 0xffff8880371cdb96
> }
>
> [...]
Here is the summary with links:
- [v2] net: ppp: Add bound checking for skb d on ppp_sync_txmung
https://git.kernel.org/netdev/net/c/aabc6596ffb3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html