Re: [PATCH net v2] tcp: fix authentication bypass via unsupported TCP auth options

From: patchwork-bot+netdevbpf

Date: Tue Nov 10 2026 - 19:00:46 EST


Hello:

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

On Sat, 7 Nov 2026 22:47:33 +0000 you wrote:
> tcp_inbound_hash() parses both TCP-MD5 and TCP-AO options when at
> least one of the two features is enabled. With TCP_MD5SIG=y and
> TCP_AO=n, a packet carrying an AO option reaches the disabled
> tcp_inbound_ao_hash() stub. That stub returns success, so sockets
> configured to require MD5 authentication end up accepting
> unauthenticated data. A forged AO option skips the unsigned fast
> path, which is the only place where tcp_inbound_hash() can return
> SKB_DROP_REASON_TCP_MD5NOTFOUND.
>
> [...]

Here is the summary with links:
- [net,v2] tcp: fix authentication bypass via unsupported TCP auth options
https://git.kernel.org/netdev/net/c/7cc235fb1251

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