diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2019-04-09 11:47:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-11 08:02:23 +0200 |
commit | 988dc4a9a3b66be75b30405a5494faf0dc7cffb6 (patch) | |
tree | fe658830a34a330da5c2d403a7f5b059eeff4991 /net/smc/smc_close.c | |
parent | tipc: missing entries in name table of publications (diff) | |
download | linux-988dc4a9a3b66be75b30405a5494faf0dc7cffb6.tar.xz linux-988dc4a9a3b66be75b30405a5494faf0dc7cffb6.zip |
net: fou: do not use guehdr after iptunnel_pull_offloads in gue_udp_recv
gue tunnels run iptunnel_pull_offloads on received skbs. This can
determine a possible use-after-free accessing guehdr pointer since
the packet will be 'uncloned' running pskb_expand_head if it is a
cloned gso skb (e.g if the packet has been sent though a veth device)
Fixes: a09a4c8dd1ec ("tunnels: Remove encapsulation offloads on decap")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_close.c')
0 files changed, 0 insertions, 0 deletions