summaryrefslogtreecommitdiff
path: root/net/bpf
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-09-30 11:33:39 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-18 09:16:17 +0200
commit32b193216e185a3ba817a179f29a53a9973665a9 (patch)
treec825ea0bc82c6c6915a1a7de308f1d4a86b32aab /net/bpf
parentdeb33b68f40e788c974acf61bc220dc077cb8032 (diff)
ipv4: fix use-after-free in ip_cmsg_recv_dstaddr()
[ Upstream commit 64199fc0a46ba211362472f7f942f900af9492fd ] Caching ip_hdr(skb) before a call to pskb_may_pull() is buggy, do not do it. Fixes: 2efd4fca703a ("ip: in cmsg IP(V6)_ORIGDSTADDR call pskb_may_pull") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Willem de Bruijn <willemb@google.com> Reported-by: syzbot <syzkaller@googlegroups.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/bpf')
0 files changed, 0 insertions, 0 deletions