[00/10] crypto: Assorted bug fixes across crypto drivers

Message ID 20261123151055.2533735-1-lee@kernel.org (mailing list archive)
Headers
Series crypto: Assorted bug fixes across crypto drivers |

Message

Lee Jones Nov. 23, 2026, 3:09 p.m. UTC
These issues were reported by Sashiko.

None of these changes have been tested on physical hardware.

Cc: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: "Horia Geantă" <horia.geanta@nxp.com>
Cc: "Ritesh Harjani (IBM)" <ritesh.list@gmail.com>
Cc: Aleksander Jan Bajkowski <olek2@wp.pl>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Antoine Tenart <atenart@kernel.org>
Cc: Bartosz Golaszewski <brgl@kernel.org>
Cc: Bharat Bhushan <bbhushan2@marvell.com>
Cc: bui duc phuc <phucduc.bui@gmail.com>
Cc: Bulent Abali <abali@us.ibm.com>
Cc: Chen-Yu Tsai <wens@kernel.org>
Cc: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Cc: Corentin Labbe <clabbe.montjoie@gmail.com>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: Haren Myneni <haren@us.ibm.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Jernej Skrabec <jernej.skrabec@gmail.com>
Cc: Kim Phillips <kim.phillips@freescale.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-crypto@vger.kernel.org
Cc: linux-sunxi@lists.linux.dev
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Longfang Liu <liulongfang@huawei.com>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Cc: Meng Yu <yumeng18@huawei.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Nicolas Royer <nicolas@eukrea.com>
Cc: Pankaj Gupta <pankaj.gupta@nxp.com>
Cc: Pascal van Leeuwen <pvanleeuwen@insidesecure.com>
Cc: Paul Louvel <paul.louvel@bootlin.com>
Cc: Robert Jennings <rcj@linux.vnet.ibm.com>
Cc: Sahil Malhotra <sahil.malhotra@nxp.com>
Cc: Samuel Holland <samuel@sholland.org>
Cc: Seth Jennings <sjenning@linux.vnet.ibm.com>
Cc: Shrikanth Hegde <sshegde@linux.ibm.com>
Cc: Srujana Challa <schalla@marvell.com>
Cc: Stanimir Varbanov <svarbanov@mm-sol.com>
Cc: Steffen Trumtrar <kernel@pengutronix.de>
Cc: Thorsten Blum <blum@kernel.org>
Cc: Tudor Ambarus <tudor.ambarus@linaro.org>
Cc: Weili Qian <qianweili@huawei.com>
Cc: Zaibo Xu <xuzaibo@huawei.com>
Cc: Zhiqi Song <songzhiqi1@huawei.com>

Lee Jones (10):
  crypto: caam - Fix descriptor buffer overflow in caam_process_blob()
  crypto: marvell - Fix AEAD key buffer overflow for SHA-384/512 HMAC
  crypto: nx - Fix bounce buffer copy overflow in decompress()
  crypto: sun8i-ss - Fix scatterlist array overflow for HMAC requests
  crypto: hisilicon/hpre - Fix buffer overflow on odd ECDH input size
  crypto: talitos - Remove duplicate IV unmap in AEAD encrypt path
  crypto: safexcel - Check scatterlist errors before max() for in-place
  crypto: qce - Pass mapped scatterlist count to qce_dma_prep_sgs()
  crypto: qce - Terminate RX DMA channel if TX preparation fails
  crypto: atmel-tdes - Update output IV before clearing busy flag

 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c  |  7 +++++--
 drivers/crypto/atmel-tdes.c                        |  7 +++++--
 drivers/crypto/caam/blob_gen.c                     | 12 ++++++++----
 drivers/crypto/hisilicon/hpre/hpre_crypto.c        |  5 +++--
 drivers/crypto/inside-secure/safexcel_cipher.c     |  7 +++----
 drivers/crypto/marvell/octeontx/otx_cptvf_algs.h   |  2 +-
 drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.h |  2 +-
 drivers/crypto/nx/nx-842.c                         |  5 ++++-
 drivers/crypto/qce/dma.c                           |  8 ++++++--
 drivers/crypto/qce/sha.c                           |  9 +++++----
 drivers/crypto/talitos.c                           |  4 ----
 11 files changed, 41 insertions(+), 27 deletions(-)