Skip to content
Commit 789f2023 authored by Li RongQing's avatar Li RongQing Committed by David S. Miller
Browse files

xfrm6: fix a potential use after free in xfrm6_policy.c



pskb_may_pull() maybe change skb->data and make nh and exthdr pointer
oboslete, so recompute the nd and exthdr

Signed-off-by: default avatarLi RongQing <roy.qing.li@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8751b12c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment