summaryrefslogtreecommitdiff
path: root/net/dccp/feat.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-11-28 17:26:49 +0300
committerDavid S. Miller <davem@davemloft.net>2016-11-30 04:37:26 +0300
commit648f0c28df282636c0c8a7a19ca3ce5fc80a39c3 (patch)
tree21a521e1c65060e4ef3060e122915134c29aa931 /net/dccp/feat.c
parentffac0e967f20b7637936dbaa21df08c55f672604 (diff)
downloadlinux-648f0c28df282636c0c8a7a19ca3ce5fc80a39c3.tar.xz
net/dccp: fix use-after-free in dccp_invalid_packet
pskb_may_pull() can reallocate skb->head, we need to reload dh pointer in dccp_invalid_packet() or risk use after free. Bug found by Andrey Konovalov using syzkaller. Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: Andrey Konovalov <andreyknvl@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/feat.c')
0 files changed, 0 insertions, 0 deletions