linux-stable/include/crypto
Eric Biggers 7ec68c5946 crypto: acomp - Fix CFI failure due to type punning
commit 962ddc5a7a upstream.

To avoid a crash when control flow integrity is enabled, make the
workspace ("stream") free function use a consistent type, and call it
through a function pointer that has that same type.

Fixes: 42d9f6c774 ("crypto: acomp - Move scomp stream allocation code into acomp")
Cc: stable@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
[Giovanni: Backport to 6.16.y. Removed logic in crypto/zstd.c as commit
f5ad93ffb5 ("crypto: zstd - convert to acomp") is not going to be
backported to stable.]
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-28 16:34:34 +02:00
..
internal crypto: acomp - Fix CFI failure due to type punning 2025-08-28 16:34:34 +02:00
acompress.h
aead.h
aes.h
akcipher.h
algapi.h
arc4.h
aria.h
authenc.h
b128ops.h
blake2b.h
blake2s.h
blowfish.h
cast5.h
cast6.h
cast_common.h
chacha20poly1305.h
chacha.h
cryptd.h
ctr.h
curve25519.h
des.h
dh.h
drbg.h
ecc_curve.h
ecdh.h
engine.h
gcm.h
gf128mul.h
ghash.h
hash_info.h
hash.h crypto: hash - Increase HASH_MAX_DESCSIZE for hmac(sha3-224-s390) 2025-08-28 16:34:14 +02:00
hkdf.h
hmac.h
if_alg.h
kdf_sp800108.h
kpp.h
krb5.h
md5.h dm-crypt: Extend state buffer size in crypt_iv_lmk_one 2025-06-23 13:50:02 +02:00
nhpoly1305.h
null.h
padlock.h
pcrypt.h
pkcs7.h
poly1305.h
polyval.h
public_key.h
rng.h
scatterwalk.h
serpent.h
sha1_base.h
sha1.h
sha2.h
sha3.h
sha512_base.h
sig.h
skcipher.h
sm3_base.h
sm3.h
sm4.h
streebog.h
twofish.h
utils.h
xts.h