[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170926.101344.586556748727836059.davem@davemloft.net>
Date: Tue, 26 Sep 2017 10:13:44 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: alexey.kodanev@...cle.com
Cc: netdev@...r.kernel.org, steffen.klassert@...unet.com,
herbert@...dor.apana.org.au
Subject: Re: [PATCH] vti: fix use after free in
vti_tunnel_xmit/vti6_tnl_xmit
From: Alexey Kodanev <alexey.kodanev@...cle.com>
Date: Tue, 26 Sep 2017 15:14:29 +0300
> When running LTP IPsec tests, KASan might report:
>
> BUG: KASAN: use-after-free in vti_tunnel_xmit+0xeee/0xff0 [ip_vti]
> Read of size 4 at addr ffff880dc6ad1980 by task swapper/0/0
> ...
...
> Can be fixed if we get skb->len before dst_output().
>
> Fixes: b9959fd3b0fa ("vti: switch to new ip tunnel code")
> Fixes: 22e1b23dafa8 ("vti6: Support inter address family tunneling.")
> Signed-off-by: Alexey Kodanev <alexey.kodanev@...cle.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists