[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1477649076.git.lucien.xin@gmail.com>
Date: Fri, 28 Oct 2016 18:10:51 +0800
From: Xin Long <lucien.xin@...il.com>
To: network dev <netdev@...r.kernel.org>, linux-sctp@...r.kernel.org
Cc: davem@...emloft.net,
Marcelo Ricardo Leitner <marcelo.leitner@...il.com>,
Vlad Yasevich <vyasevich@...il.com>, daniel@...earbox.net
Subject: [PATCH net 0/3] sctp: a bunch of fixes by holding transport
There are several places where it holds assoc after getting transport by
searching from transport rhashtable, it may cause use-after- free issue.
This patchset is to fix them by holding transport instead.
Xin Long (3):
sctp: hold transport instead of assoc in sctp_diag
sctp: return back transport in __sctp_rcv_init_lookup
sctp: hold transport instead of assoc when lookup assoc in rx path
include/net/sctp/sctp.h | 2 +-
net/sctp/input.c | 35 +++++++++++++++++------------------
net/sctp/ipv6.c | 2 +-
net/sctp/socket.c | 5 +----
4 files changed, 20 insertions(+), 24 deletions(-)
--
2.1.0
Powered by blists - more mailing lists