Files
linux/net
Greg Kroah-Hartman 7c2361308e sctp: walk the list of asoc safely
[ Upstream commit ba59fb0273 ]

In sctp_sendmesg(), when walking the list of endpoint associations, the
association can be dropped from the list, making the list corrupt.
Properly handle this by using list_for_each_entry_safe()

Fixes: 4910280503 ("sctp: add support for snd flag SCTP_SENDALL process in sendmsg")
Reported-by: Secunia Research <vuln@secunia.com>
Tested-by: Secunia Research <vuln@secunia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-12 19:47:22 +01:00
..
2019-01-13 09:51:08 +01:00
2018-11-04 14:50:51 +01:00
2019-01-31 08:14:31 +01:00
2018-12-01 09:37:27 +01:00
2018-09-24 12:19:27 -07:00
2019-02-06 17:30:07 +01:00
2018-11-04 14:50:51 +01:00
2019-02-12 19:47:22 +01:00
2019-01-13 09:51:00 +01:00
2018-07-24 14:10:42 -07:00
2018-07-24 14:10:42 -07:00
2019-01-09 17:38:33 +01:00
2018-07-24 14:10:43 -07:00
2018-10-18 16:43:06 -07:00