diff options
author | 2025-02-03 17:08:38 +0000 | |
---|---|---|
committer | 2025-02-04 14:03:58 -0800 | |
commit | a1300691aed9ee852b0a9192e29e2bdc2411a7e6 (patch) | |
tree | 16d852f56d8cb02c72674fd15df0007428d78ad7 /tools/testing/selftests/net/mptcp/mptcp_connect.c | |
parent | net: atlantic: fix warning during hot unplug (diff) | |
download | wireguard-linux-a1300691aed9ee852b0a9192e29e2bdc2411a7e6.tar.xz wireguard-linux-a1300691aed9ee852b0a9192e29e2bdc2411a7e6.zip |
net: rose: lock the socket in rose_bind()
syzbot reported a soft lockup in rose_loopback_timer(),
with a repro calling bind() from multiple threads.
rose_bind() must lock the socket to avoid this issue.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Reported-by: syzbot+7ff41b5215f0c534534e@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/netdev/67a0f78d.050a0220.d7c5a.00a0.GAE@google.com/T/#u
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Link: https://patch.msgid.link/20250203170838.3521361-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/mptcp/mptcp_connect.c')
0 files changed, 0 insertions, 0 deletions