Searched hist:"64199 fc0a46ba211362472f7f942f900af9492fd" (Results 1 – 1 of 1) sorted by relevance
/linux/net/ipv4/ |
H A D | ip_sockglue.c | diff 64199fc0a46ba211362472f7f942f900af9492fd Sun Sep 30 20:33:39 CEST 2018 Eric Dumazet <edumazet@google.com> ipv4: fix use-after-free in ip_cmsg_recv_dstaddr()
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>
|