]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
aesni: Fix an out-of-bounds read in AES_GCM_decrypt()
authorMark Johnston <markj@FreeBSD.org>
Thu, 16 Dec 2021 14:08:16 +0000 (09:08 -0500)
committerMark Johnston <markj@FreeBSD.org>
Thu, 16 Dec 2021 14:17:06 +0000 (09:17 -0500)
commit4a61d8ef42cb44c337dfdc17424cc2e2f1d67fd5
treebc25f9261d31b8dcb03dad29a577945b9eade4d1
parent014f98b119920d70db774b6c288d1f68a70cc5e0
aesni: Fix an out-of-bounds read in AES_GCM_decrypt()

This is the same as 4285655adb74 ("aesni: Avoid a potential
out-of-bounds load in AES_GCM_encrypt()") except for the decryption
path.

Reported by: Jenkins (KASAN job)
Reviewed by: cem
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33474
sys/crypto/aesni/aesni_ghash.c