Re: [PATCH net] pppoe: delete session hash entries by pointer match

From: patchwork-bot+netdevbpf

Date: Wed Oct 21 2026 - 20:35:15 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 20 Oct 2026 17:21:11 +0800 you wrote:
> pppoe_connect() copies the requested PPPoE address to a socket before
> attempting to insert the socket into the session hash table. If the
> tuple already exists, __set_item() returns -EALREADY, but the copied
> address and ifindex remain set on the failed socket.
>
> Closing that socket then deletes the existing socket's hash entry
> through pppoe_release(), preventing it from receiving further session
> traffic. An unprivileged process in the same network namespace can
> trigger this through a duplicate connection attempt.
>
> [...]

Here is the summary with links:
- [net] pppoe: delete session hash entries by pointer match
https://git.kernel.org/netdev/net/c/b5b8c81836e2

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