Xin Long df132eff46 sctp: clear the transport of some out_chunk_list chunks in sctp_assoc_rm_peer
If a transport is removed by asconf but there still are some chunks with
this transport queuing on out_chunk_list, later an use-after-free issue
will be caused when accessing this transport from these chunks in
sctp_outq_flush().

This is an old bug, we fix it by clearing the transport of these chunks
in out_chunk_list when removing a transport in sctp_assoc_rm_peer().

Reported-by: syzbot+56a40ceee5fb35932f4d@syzkaller.appspotmail.com
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-10-29 20:49:44 -07:00
..
2018-06-12 16:19:22 -07:00
2018-02-13 13:56:31 -05:00
2018-07-24 14:10:42 -07:00
2018-02-13 13:56:31 -05:00
2018-07-24 14:10:42 -07:00
2013-12-06 12:37:56 -05:00
2018-09-10 10:06:53 -07:00