diff options
| author | 2025-10-28 17:12:28 +0100 | |
|---|---|---|
| committer | 2025-11-03 17:09:36 -0800 | |
| commit | f1fc201148c7e684c10a72b6a3375597f28d1ef6 (patch) | |
| tree | 0a6deb9aa9fc65cdf56a2248e9129bea59b231c4 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | sctp: Prevent TOCTOU out-of-bounds write (diff) | |
| download | wireguard-linux-f1fc201148c7e684c10a72b6a3375597f28d1ef6.tar.xz wireguard-linux-f1fc201148c7e684c10a72b6a3375597f28d1ef6.zip | |
sctp: Hold sock lock while iterating over address list
Move address list traversal in inet_assoc_attr_size() under the sock
lock to avoid holding the RCU read lock.
Suggested-by: Xin Long <lucien.xin@gmail.com>
Fixes: 8f840e47f190 ("sctp: add the sctp_diag.c file")
Signed-off-by: Stefan Wiehler <stefan.wiehler@nokia.com>
Acked-by: Xin Long <lucien.xin@gmail.com>
Link: https://patch.msgid.link/20251028161506.3294376-4-stefan.wiehler@nokia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
