[PATCH v2 0/2] crypto: Fix memcpy_sglist()
From: Eric Biggers
Date: Sat Nov 15 2025 - 18:09:37 EST
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