archive mirror
 help / color / mirror / Atom feed
From: David Miller <>
Subject: Re: [PATCH net] sctp: walk the list of asoc safely
Date: Fri, 01 Feb 2019 11:04:56 -0800 (PST)	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

From: Greg Kroah-Hartman <>
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 <>
> Tested-by: Secunia Research <>
> Signed-off-by: Greg Kroah-Hartman <>

Applied and queued up for -stable.

      parent reply	other threads:[~2019-02-01 19:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-01 14:15 [PATCH net] sctp: walk the list of asoc safely Greg Kroah-Hartman
2019-02-01 14:20 ` Marcelo Ricardo Leitner
2019-02-01 14:43   ` Greg Kroah-Hartman
2019-02-01 14:58     ` Marcelo Ricardo Leitner
2019-02-01 15:55 ` Neil Horman
2019-02-01 19:04 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).