This is a note to let you know that I've just added the patch titled ipv6: Inhibit IPv4-mapped src address on the wire. to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: ipv6-inhibit-ipv4-mapped-src-address-on-the-wire.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From foo@baz Thu Jun 15 09:36:39 CEST 2017 From: "Jonathan T. Leighton" <jtleight@xxxxxxxx> Date: Tue, 23 May 2017 21:53:34 -0400 Subject: ipv6: Inhibit IPv4-mapped src address on the wire. From: "Jonathan T. Leighton" <jtleight@xxxxxxxx> [ Upstream commit ec5e3b0a1d41fbda0cc33a45bc9e54e91d9d12c7 ] This patch adds a check for the problematic case of an IPv4-mapped IPv6 source address and a destination address that is neither an IPv4-mapped IPv6 address nor in6addr_any, and returns an appropriate error. The check in done before returning from looking up the route. Signed-off-by: Jonathan T. Leighton <jtleight@xxxxxxxx> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> Signed-off-by: Sasha Levin <alexander.levin@xxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- net/ipv6/ip6_output.c | 3 +++ 1 file changed, 3 insertions(+) --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c @@ -1004,6 +1004,9 @@ static int ip6_dst_lookup_tail(struct ne } } #endif + if (ipv6_addr_v4mapped(&fl6->saddr) && + !(ipv6_addr_v4mapped(&fl6->daddr) || ipv6_addr_any(&fl6->daddr))) + return -EAFNOSUPPORT; return 0; Patches currently in stable-queue which might be from jtleight@xxxxxxxx are queue-4.4/ipv6-inhibit-ipv4-mapped-src-address-on-the-wire.patch queue-4.4/ipv6-handle-ipv4-mapped-src-to-in6addr_any-dst.patch