Thread (6 messages) 6 messages, 4 authors, 2019-02-01

Re: [PATCH net] sctp: walk the list of asoc safely

From: David Miller <davem@davemloft.net>
Date: 2019-02-01 19:04:58
Also in: linux-sctp

From: Greg Kroah-Hartman <gregkh@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 <redacted>
Tested-by: Secunia Research <redacted>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Applied and queued up for -stable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help