[GIT PULL] Crypto Fixes for 7.0

From: Herbert Xu

Date: Sun Apr 12 2026 - 01:42:42 EST


Hi Linus:

The following changes since commit e02494114ebf7c8b42777c6cd6982f113bfdbec7:

crypto: authencesn - Do not place hiseq at end of dst for out-of-place decryption (2026-03-31 17:11:48 +0900)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 tags/v7.0-p5

for you to fetch changes up to 3d14bd48e3a77091cbce637a12c2ae31b4a1687c:

crypto: algif_aead - Fix minimum RX size check for decryption (2026-04-12 13:38:19 +0800)

----------------------------------------------------------------
This push contains the following changes:

- Enforce rx socket buffer limit in af_alg.
- Fix array overflow in af_alg_pull_tsgl.
- Fix out-of-bounds access when parsing extensions in X.509.
- Fix minimum rx size check in algif_aead.
----------------------------------------------------------------

Douya Le (1):
crypto: af_alg - limit RX SG extraction by receive buffer budget

Herbert Xu (2):
crypto: af_alg - Fix page reassignment overflow in af_alg_pull_tsgl
crypto: algif_aead - Fix minimum RX size check for decryption

Lukas Wunner (1):
X.509: Fix out-of-bounds access when parsing extensions

crypto/af_alg.c | 6 ++++--
crypto/algif_aead.c | 2 +-
crypto/algif_skcipher.c | 5 +++++
crypto/asymmetric_keys/x509_cert_parser.c | 8 ++++----
4 files changed, 14 insertions(+), 7 deletions(-)

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt