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:	Thu, 13 Nov 2014 15:20:25 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	mleitner@...hat.com
Cc:	netdev@...r.kernel.org, stephen@...workplumber.org,
	sergei.shtylyov@...entembedded.com
Subject: Re: [PATCH net v3] vxlan: Do not reuse sockets for a different
 address family

From: Marcelo Ricardo Leitner <mleitner@...hat.com>
Date: Thu, 13 Nov 2014 14:43:08 -0200

> Currently, we only match against local port number in order to reuse
> socket. But if this new vxlan wants an IPv6 socket and a IPv4 one bound
> to that port, vxlan will reuse an IPv4 socket as IPv6 and a panic will
> follow. The following steps reproduce it:
> 
>    # ip link add vxlan6 type vxlan id 42 group 229.10.10.10 \
>        srcport 5000 6000 dev eth0
>    # ip link add vxlan7 type vxlan id 43 group ff0e::110 \
>        srcport 5000 6000 dev eth0
>    # ip link set vxlan6 up
>    # ip link set vxlan7 up
>    <panic>
 ...
> So address family must also match in order to reuse a socket.
> 
> Reported-by: Jean-Tsung Hsiao <jhsiao@...hat.com>
> Signed-off-by: Marcelo Ricardo Leitner <mleitner@...hat.com>

Hey, this one actually compiles :-)

Applied and queued up for -stable, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ