diff options
author | Nikolay Kuratov <kniv@yandex-team.ru> | 2024-12-19 19:21:14 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-23 21:10:13 +0300 |
commit | 4e86729d1ff329815a6e8a920cb554a1d4cb5b8d (patch) | |
tree | 9be4186c5419072dfde286881d3686e1c16473c7 /tools/perf/scripts/python | |
parent | a4fd163aed2edd967a244499754dec991d8b4c7d (diff) | |
download | linux-4e86729d1ff329815a6e8a920cb554a1d4cb5b8d.tar.xz |
net/sctp: Prevent autoclose integer overflow in sctp_association_init()
While by default max_autoclose equals to INT_MAX / HZ, one may set
net.sctp.max_autoclose to UINT_MAX. There is code in
sctp_association_init() that can consequently trigger overflow.
Cc: stable@vger.kernel.org
Fixes: 9f70f46bd4c7 ("sctp: properly latch and use autoclose value from sock to association")
Signed-off-by: Nikolay Kuratov <kniv@yandex-team.ru>
Acked-by: Xin Long <lucien.xin@gmail.com>
Link: https://patch.msgid.link/20241219162114.2863827-1-kniv@yandex-team.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions