Thread (5 messages) 5 messages, 4 authors, 2025-06-03

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-05-28 07:10:03
Also in: linux-security-module

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help