diff options
| author | 2026-02-17 20:28:29 -0800 | |
|---|---|---|
| committer | 2026-02-22 21:27:28 -0600 | |
| commit | c5794709bc9105935dbedef8b9cf9c06f2b559fa (patch) | |
| tree | a942924745e9f909b3555e094b4db81cfcca2f00 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 7.0-rc1 (diff) | |
ksmbd: 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: e2f34481b24d ("cifsd: add server-side procedures for SMB3")
Cc: stable@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
