lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 24 Feb 2017 13:37:37 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     brussell@...cade.com
Cc:     netdev@...r.kernel.org
Subject: Re: [PATCH net v2] vxlan: don't allow overwrite of config src addr

From: Brian Russell <brussell@...cade.com>
Date: Fri, 24 Feb 2017 17:47:11 +0000

> When using IPv6 transport and a default dst, a pointer to the configured
> source address is passed into the route lookup. If no source address is
> configured, then the value is overwritten.
> 
> IPv6 route lookup ignores egress ifindex match if the source address is set,
> so if egress ifindex match is desired, the source address must be passed
> as any. The overwrite breaks this for subsequent lookups.
> 
> Avoid this by copying the configured address to an existing stack variable
> and pass a pointer to that instead.
> 
> Fixes: 272d96a5ab10 ("net: vxlan: lwt: Use source ip address during route lookup.")
> 
> Signed-off-by: Brian Russell <brussell@...cade.com>
> Acked-by: Jiri Benc <jbenc@...hat.com>

Applied and queued up for -stable, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ