From: Eric Biggers <ebiggers@kernel.org>
To: linux-crypto@vger.kernel.org, Herbert Xu <herbert@gondor.apana.org.au>
Cc: Colin Ian King <coking@nvidia.com>,
linux-kernel@vger.kernel.org, Eric Biggers <ebiggers@kernel.org>
Subject: [PATCH v2 0/2] crypto: Fix memcpy_sglist()
Date: Sat, 15 Nov 2025 15:08:15 -0800 [thread overview]
Message-ID: <20251115230817.26070-1-ebiggers@kernel.org> (raw)
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
next reply other threads:[~2025-11-15 23:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-15 23:08 Eric Biggers [this message]
2025-11-15 23:08 ` [PATCH v2 1/2] crypto: scatterwalk - Fix memcpy_sglist() to always succeed Eric Biggers
2025-11-15 23:08 ` [PATCH v2 2/2] Revert "crypto: scatterwalk - Move skcipher walk and use it for memcpy_sglist" Eric Biggers
2025-11-18 3:23 ` [PATCH v2 0/2] crypto: Fix memcpy_sglist() Herbert Xu
2025-11-22 3:19 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251115230817.26070-1-ebiggers@kernel.org \
--to=ebiggers@kernel.org \
--cc=coking@nvidia.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.