Re: [PATCH net-next] vxlan: fix incorrect nlattr access in MTU check

From: David Miller
Date: Tue Jun 27 2017 - 14:41:07 EST


From: Matthias Schiffer <mschiffer@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Jun 2017 14:42:43 +0200

> The access to the wrong variable could lead to a NULL dereference and
> possibly other invalid memory reads in vxlan newlink/changelink requests
> with a IFLA_MTU attribute.
>
> Fixes: a985343ba906 "vxlan: refactor verification and application of configuration"
> Signed-off-by: Matthias Schiffer <mschiffer@xxxxxxxxxxxxxxxxxxxx>

Applied, thanks.