[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175951441449.20895.2740639730759580288.git-patchwork-notify@kernel.org>
Date: Fri, 03 Oct 2025 18:00:14 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org,
ncardwell@...gle.com, kuniyu@...gle.com, daniel.zahka@...il.com,
willemb@...gle.com
Subject: Re: [PATCH net-next] net: psp: don't assume reply skbs will have a
socket
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 30 Sep 2025 19:24:26 -0700 you wrote:
> Rx path may be passing around unreferenced sockets, which means
> that skb_set_owner_edemux() may not set skb->sk and PSP will crash:
>
> KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
> RIP: 0010:psp_reply_set_decrypted (./include/net/psp/functions.h:132 net/psp/psp_sock.c:287)
> tcp_v6_send_response.constprop.0 (net/ipv6/tcp_ipv6.c:979)
> tcp_v6_send_reset (net/ipv6/tcp_ipv6.c:1140 (discriminator 1))
> tcp_v6_do_rcv (net/ipv6/tcp_ipv6.c:1683)
> tcp_v6_rcv (net/ipv6/tcp_ipv6.c:1912)
>
> [...]
Here is the summary with links:
- [net-next] net: psp: don't assume reply skbs will have a socket
https://git.kernel.org/netdev/net/c/7a0f94361ffd
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists