[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190201.110456.1003158949772454122.davem@davemloft.net>
Date: Fri, 01 Feb 2019 11:04:56 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: gregkh@...uxfoundation.org
Cc: vyasevich@...il.com, nhorman@...driver.com,
marcelo.leitner@...il.com, linux-sctp@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net] sctp: walk the list of asoc safely
From: Greg Kroah-Hartman <gregkh@...uxfoundation.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 <vuln@...unia.com>
> Tested-by: Secunia Research <vuln@...unia.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Applied and queued up for -stable.
Powered by blists - more mailing lists