diff options
author | Jakub Audykowicz <[email protected]> | 2018-12-04 20:27:41 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-12-05 20:37:52 -0800 |
commit | afd0a8006e98b1890908f81746c94ca5dae29d7c (patch) | |
tree | 22a7070a7d5b13891bc65368b42bcb18cc56d6f1 /tools/perf/scripts | |
parent | b2b7af861122a0c0f6260155c29a1b2e594cd5b5 (diff) |
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 <[email protected]>
Acked-by: Neil Horman <[email protected]>
Acked-by: Marcelo Ricardo Leitner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions