]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ipip: validate header length in ipip_tunnel_xmit
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Thu, 25 Jul 2019 03:07:56 +0000 (11:07 +0800)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 17 Sep 2019 16:02:18 +0000 (18:02 +0200)
commit2981cedf8e5962352075a4406721232937c847ea
tree44a7d7f460e3afae2e9fdb4365ada750bd94f2a3
parent2d9b53baaf736fa1cf79a9cc069f74c3803788bd
ipip: validate header length in ipip_tunnel_xmit

BugLink: https://bugs.launchpad.net/bugs/1840378
[ Upstream commit 47d858d0bdcd47cc1c6c9eeca91b091dd9e55637 ]

We need the same checks introduced by commit cb9f1b783850
("ip: validate header length on virtual device xmit") for
ipip tunnel.

Fixes: cb9f1b783850b ("ip: validate header length on virtual device xmit")
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
net/ipv4/ipip.c