Re: [PATCH v2] net: ppp: Add bound checking for skb d on ppp_sync_txmung

[email protected] Thu, 10 Apr 2025 09:40:38 +0000
Newsgroups gmane.linux.ppp,gmane.linux.network,gmane.linux.kernel
Message-ID <174427803852.3591786.2538899437111580046.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <[email protected]>:

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