Files
linux-stable-mirror/drivers/net
Kuniyuki IwashimaandGreg Kroah-Hartman 9c58c729d3 vxlan: Fix potential null-ptr-deref in vxlan_gro_prepare_receive().
[ Upstream commit 30a45c0bff ]

udp_tunnel_sock_release() could set sk->sk_user_data to NULL
while vxlan_gro_prepare_receive() is running.

Let's check if rcu_dereference_sk_user_data() is NULL after
skb_gro_remcsum_init().

Fixes: 5602c48cf8 ("vxlan: change vxlan to use UDP socket GRO")
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260502031401.3557229-7-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-07-24 15:54:33 +02:00
..
2026-06-01 17:38:50 +02:00
2026-06-01 17:39:24 +02:00