diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-03-02 12:36:00 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-19 16:15:18 +0100 |
| commit | 080b0e210088296dd50d6637c06c1db14246adfe (patch) | |
| tree | 74194c05867fc1cd11fbf7d6f65dbdb1af9d49e3 /include/net/aligned_data.h | |
| parent | 8afa1884b635b2716838be8b75d548192abc5b19 (diff) | |
net/tcp-ao: Fix MAC comparison to be constant-time
commit 67edfec516d30d3e62925c397be4a1e5185802fc upstream.
To prevent timing attacks, MACs need to be compared in constant
time. Use the appropriate helper function for this.
Fixes: 0a3a809089eb ("net/tcp: Verify inbound TCP-AO signed segments")
Cc: stable@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>
Link: https://patch.msgid.link/20260302203600.13561-1-ebiggers@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
