[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172549323302.1198891.1143973524818862490.git-patchwork-notify@kernel.org>
Date: Wed, 04 Sep 2024 23:40:33 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, dsahern@...nel.org, tom@...bertland.com,
kuni1840@...il.com, netdev@...r.kernel.org, alkurian@...zon.com
Subject: Re: [PATCH v2 net] fou: Fix null-ptr-deref in GRO.
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Mon, 2 Sep 2024 10:39:27 -0700 you wrote:
> We observed a null-ptr-deref in fou_gro_receive() while shutting down
> a host. [0]
>
> The NULL pointer is sk->sk_user_data, and the offset 8 is of protocol
> in struct fou.
>
> When fou_release() is called due to netns dismantle or explicit tunnel
> teardown, udp_tunnel_sock_release() sets NULL to sk->sk_user_data.
> Then, the tunnel socket is destroyed after a single RCU grace period.
>
> [...]
Here is the summary with links:
- [v2,net] fou: Fix null-ptr-deref in GRO.
https://git.kernel.org/netdev/net/c/7e4196935069
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