From: Greg Kroah-Hartman <gre...@linuxfoundation.org> Date: Fri, 1 Feb 2019 15:15:22 +0100
> 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: 4910280503f3 ("sctp: add support for snd flag SCTP_SENDALL process in > sendmsg") > Reported-by: Secunia Research <v...@secunia.com> > Tested-by: Secunia Research <v...@secunia.com> > Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> Applied and queued up for -stable.