linux_dsm_epyc7002/include/net/sctp
Jakub Audykowicz afd0a8006e sctp: frag_point sanity check
If for some reason an association's fragmentation point is zero,
sctp_datamsg_from_user will try to endlessly try to divide a message
into zero-sized chunks. This eventually causes kernel panic due to
running out of memory.

Although this situation is quite unlikely, it has occurred before as
reported. I propose to add this simple last-ditch sanity check due to
the severity of the potential consequences.

Signed-off-by: Jakub Audykowicz <jakub.audykowicz@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-05 20:37:52 -08:00
..
auth.h
checksum.h
command.h
constants.h sctp: count both sk and asoc sndbuf with skb truesize and sctp_chunk size 2018-10-18 11:23:47 -07:00
sctp.h sctp: frag_point sanity check 2018-12-05 20:37:52 -08:00
sm.h sctp: fix the data size calculation in sctp_data_size 2018-10-17 22:32:21 -07:00
stream_interleave.h
stream_sched.h
structs.h sctp: kfree_rcu asoc 2018-12-03 15:54:41 -08:00
tsnmap.h
ulpevent.h
ulpqueue.h