Skip to contentSkip to conversation

Patch "ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Nov 18, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped

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-dccp-add-missing-bind_conflict-to-dccp_ipv6_mapped.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 <[email protected]> know about it.

Quoted 1 line

From foo@baz Fri Nov 18 11:09:43 CET 2016

From: Eric Dumazet <[email protected]>
Date: Thu, 3 Nov 2016 08:59:46 -0700
Subject: ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped

From: Eric Dumazet <[email protected]>

[ Upstream commit 990ff4d84408fc55942ca6644f67e361737b3d8e ]

While fuzzing kernel with syzkaller, Andrey reported a nasty crash in inet6_bind() caused by DCCP lacking a required method.

Fixes ab1e0a13d7029 ("[SOCK] proto: Add hashinfo member to struct proto")
Cc Arnaldo Carvalho de Melo <[email protected]>
---
 net/dccp/ipv6.c |    1 +
 1 file changed, 1 insertion(+)
net/dccp/ipv6.c +1 -0
@@ -948,6 +948,7 @@ static const struct inet_connection_sock
 	.getsockopt	   = ipv6_getsockopt,
 	.addr2sockaddr	   = inet6_csk_addr2sockaddr,
 	.sockaddr_len	   = sizeof(struct sockaddr_in6),
+	.bind_conflict	   = inet6_csk_bind_conflict,
 #ifdef CONFIG_COMPAT
 	.compat_setsockopt = compat_ipv6_setsockopt,
 	.compat_getsockopt = compat_ipv6_getsockopt,

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/net-__skb_flow_dissect-must-cap-its-return-value.patch queue-4.4/tcp-take-care-of-truncations-done-by-sk_filter.patch queue-4.4/net-clear-sk_err_soft-in-sk_clone_lock.patch queue-4.4/net-mangle-zero-checksum-in-skb_checksum_help.patch queue-4.4/ipv6-dccp-fix-out-of-bound-access-in-dccp_v6_err.patch queue-4.4/ipv6-dccp-add-missing-bind_conflict-to-dccp_ipv6_mapped.patch queue-4.4/tcp-fix-potential-memory-corruption.patch queue-4.4/dccp-do-not-send-reset-to-already-closed-sockets.patch queue-4.4/dccp-fix-out-of-bound-access-in-dccp_v4_err.patch queue-4.4/sock-fix-sendmmsg-for-partial-sendmsg.patch