diff options
| author | 2026-05-05 13:00:56 +0000 | |
|---|---|---|
| committer | 2026-05-06 17:29:23 -0700 | |
| commit | 7aaa8f5e45a92678256c1e17f1fa2c2f45c61dd1 (patch) | |
| tree | a32967d41a88fefdc7f1694b3d5ed4b6f636dbc5 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | selftests: drv-net: fix sort order of makefile and config (diff) | |
ipv6: fix potential UAF caused by ip6_forward_proxy_check()
ip6_forward_proxy_check() calls pskb_may_pull() which might re-allocate
skb->head.
Reload ipv6_hdr() after the pskb_may_pull() call to avoid using
the freed memory.
Fixes: e21e0b5f19ac ("[IPV6] NDISC: Handle NDP messages to proxied addresses.")
Reported-by: Damiano Melotti <melotti@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260505130056.2927197-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
