[PATCH v1 net] calipso: Don't call calipso functions for AF_INET sk.

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Wed May 28 07:10:37 UTC 2025


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni at redhat.com>:

On Thu, 22 May 2025 15:18:56 -0700 you wrote:
> syzkaller reported a null-ptr-deref in txopt_get(). [0]
> 
> The offset 0x70 was of struct ipv6_txoptions in struct ipv6_pinfo,
> so struct ipv6_pinfo was NULL there.
> 
> However, this never happens for IPv6 sockets as inet_sk(sk)->pinet6
> is always set in inet6_create(), meaning the socket was not IPv6 one.
> 
> [...]

Here is the summary with links:
  - [v1,net] calipso: Don't call calipso functions for AF_INET sk.
    https://git.kernel.org/netdev/net/c/6e9f2df1c550

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





More information about the Linux-security-module-archive mailing list