From: Xin Long <lucien.xin@xxxxxxxxx> Date: Sun, 3 Mar 2019 16:50:26 +0800 > The user msg is also copied to the abort packet when doing SCTP_ABORT in > sctp_sendmsg_check_sflags(). When SCTP_SENDALL is set, iov_iter_revert() > should have been called for sending abort on the next asoc with copying > this msg. Otherwise, memcpy_from_msg() in sctp_make_abort_user() will > fail and return error. > > Fixes: 4910280503f3 ("sctp: add support for snd flag SCTP_SENDALL process in sendmsg") > Reported-by: Ying Xu <yinxu@xxxxxxxxxx> > Signed-off-by: Xin Long <lucien.xin@xxxxxxxxx> Applied and queued up for -stable.