[GIT PULL] Crypto Fixes for 6.17

From: Herbert Xu

Date: Fri Sep 19 2025 - 00:10:19 EST


Hi Linus:

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v6.17-p3

for you to fetch changes up to 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285:

crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg (2025-09-18 17:24:59 +0800)

----------------------------------------------------------------
This push fixes a NULL pointer dereference in ccp and a couple of
bugs in the af_alg interface.
----------------------------------------------------------------

Borislav Petkov (AMD) (1):
crypto: ccp - Always pass in an error pointer to __sev_platform_shutdown_locked()

Herbert Xu (2):
crypto: af_alg - Set merge to zero early in af_alg_sendmsg
crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg

crypto/af_alg.c | 10 +++++++++-
drivers/crypto/ccp/sev-dev.c | 2 +-
include/crypto/if_alg.h | 10 ++++++----
3 files changed, 16 insertions(+), 6 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