Re: [PATCH net v1] udp: fix potential use-after-free in tunnel segmentation

[email protected] Tue, 04 Aug 2026 01:40:13 +0000
Newsgroups gmane.linux.network,gmane.linux.kernel
Message-ID <178580761363.2910544.1396255785067576567.git-patchwork-notify@kernel.org>
Hello:

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

On Thu, 30 Jul 2026 17:35:54 +0800 you wrote:
> From: Xuanqiang Luo <[email protected]>
> 
> __skb_udp_tunnel_segment() gets the UDP header before ensuring the
> tunnel header is in the skb head. If the pull reallocates skb->head,
> the saved UDP header pointer is no longer valid.
> 
> Get the UDP header after the pull to avoid a potential use-after-free.
> 
> [...]

Here is the summary with links:
  - [net,v1] udp: fix potential use-after-free in tunnel segmentation
    https://git.kernel.org/netdev/net/c/d0f86fb36eb2

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