[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251115230817.26070-1-ebiggers@kernel.org>
Date: Sat, 15 Nov 2025 15:08:15 -0800
From: Eric Biggers <ebiggers@...nel.org>
To: linux-crypto@...r.kernel.org,
Herbert Xu <herbert@...dor.apana.org.au>
Cc: Colin Ian King <coking@...dia.com>,
linux-kernel@...r.kernel.org,
Eric Biggers <ebiggers@...nel.org>
Subject: [PATCH v2 0/2] crypto: Fix memcpy_sglist()
This series rewrites memcpy_sglist() to fix the bug where it called
functions that could fail and ignored errors.
This series is targeting crypto/master.
Changed in v2:
- Don't try to support arbitrary overlaps
- Use memcpy_page()
Eric Biggers (2):
crypto: scatterwalk - Fix memcpy_sglist() to always succeed
Revert "crypto: scatterwalk - Move skcipher walk and use it for
memcpy_sglist"
crypto/scatterwalk.c | 345 +++++++----------------------
crypto/skcipher.c | 261 +++++++++++++++++++++-
include/crypto/algapi.h | 12 +
include/crypto/internal/skcipher.h | 48 +++-
include/crypto/scatterwalk.h | 117 +++-------
5 files changed, 431 insertions(+), 352 deletions(-)
base-commit: 59b0afd01b2ce353ab422ea9c8375b03db313a21
--
2.51.2
Powered by blists - more mailing lists