diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-02-18 07:27:02 +0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-03-04 05:56:36 +0300 |
| commit | 26bc83b88bbbf054f0980a4a42047a8d1e210e4c (patch) | |
| tree | 44acc0de73a5c17e95a83a5727d5c45ce778628d /include/linux | |
| parent | 8098179dc981c361c4ff238bc3935329a93bbdfb (diff) | |
| download | linux-26bc83b88bbbf054f0980a4a42047a8d1e210e4c.tar.xz | |
smb: client: Compare MACs in constant time
To prevent timing attacks, MAC comparisons need to be constant-time.
Replace the memcmp() with the correct function, crypto_memneq().
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
