Files
linux-stable-mirror/crypto
Herbert Xu e4c4a50745 crypto: af_alg - Cap AEAD AD length to 0x80000000
commit e4c06479d7 upstream.

In order to prevent arithmetic overflows when checking the TX
buffer size, cap the associated data length to 0x80000000.

Reported-by: Yiming Qian <yimingqian591@gmail.com>
Fixes: 400c40cf78 ("crypto: algif - add AEAD support")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-05-23 13:03:32 +02:00
..