summaryrefslogtreecommitdiffstats
path: root/net/ax25/ax25_addr.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-08-30 11:56:55 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-15 12:17:03 +0200
commit12f99f07a5f4d7ec8d72da6ee8ef66f048634f6a (patch)
tree440b7f2c06ce9185822a1738de515dc3a9f1472b /net/ax25/ax25_addr.c
parentb216cb5469c14e6949b234c90015bf38e54c83f2 (diff)
downloadlinux-stable-12f99f07a5f4d7ec8d72da6ee8ef66f048634f6a.tar.gz
linux-stable-12f99f07a5f4d7ec8d72da6ee8ef66f048634f6a.tar.bz2
linux-stable-12f99f07a5f4d7ec8d72da6ee8ef66f048634f6a.zip
tcp: annotate data-race around challenge_timestamp
[ Upstream commit 8c70521238b7863c2af607e20bcba20f974c969b ] challenge_timestamp can be read an written by concurrent threads. This was expected, but we need to annotate the race to avoid potential issues. Following patch moves challenge_timestamp and challenge_count to per-netns storage to provide better isolation. Fixes: 354e4aa391ed ("tcp: RFC 5961 5.2 Blind Data Injection Attack Mitigation") Reported-by: syzbot <syzkaller@googlegroups.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ax25/ax25_addr.c')
0 files changed, 0 insertions, 0 deletions