diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-05-02 03:12:59 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-05 17:47:04 -0700 |
| commit | 30a45c0bffdd62350261e2f2689fdba426a33578 (patch) | |
| tree | 83393fb9eab908c58b78f78353cfd71710a0dfc7 /include/linux/timerqueue.h | |
| parent | af3f903fbb70eced6394770cd704951767394015 (diff) | |
vxlan: Fix potential null-ptr-deref in vxlan_gro_prepare_receive().
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: 5602c48cf875 ("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>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
