aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2019-10-29 01:24:32 +0800
committerDavid S. Miller <davem@davemloft.net>2019-10-29 17:39:26 -0700
commiteadf52cf1852196a1363044dcda22fa5d7f296f7 (patch)
treea8905a9be405f6f988683a689ac62df2c96fc618 /fs
parenterspan: fix the tun_info options_len check for erspan (diff)
downloadlinux-dev-eadf52cf1852196a1363044dcda22fa5d7f296f7.tar.xz
linux-dev-eadf52cf1852196a1363044dcda22fa5d7f296f7.zip
vxlan: check tun_info options_len properly
This patch is to improve the tun_info options_len by dropping the skb when TUNNEL_VXLAN_OPT is set but options_len is less than vxlan_metadata. This can void a potential out-of-bounds access on ip_tun_info. Fixes: ee122c79d422 ("vxlan: Flow based tunneling") Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions