aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2018-09-30 18:33:39 +0000
committerDavid S. Miller <[email protected]>2018-10-03 05:32:05 +0000
commit64199fc0a46ba211362472f7f942f900af9492fd (patch)
tree35b727833c02a05799aa522edde425018b33160a /net/tipc/node.c
parentMerge tag 'mlx5-fixes-2018-10-01' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadkernel-64199fc0a46ba211362472f7f942f900af9492fd.tar.gz
kernel-64199fc0a46ba211362472f7f942f900af9492fd.zip
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 <[email protected]> Cc: Willem de Bruijn <[email protected]> Reported-by: syzbot <[email protected]> Acked-by: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions