Skip to content

AF_ALG fixes

Eric Biggers linux-crypto stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8crypto: scatterwalk - Backport memcpy_sglist()crypto/scatterwalk.c include/crypto/scatterwalk.h+125 -00 replies
2/8crypto: algif_aead - use memcpy_sglist() instead of null skciphercrypto/Kconfig crypto/algif_aead.c+18 -840 replies
3/8crypto: algif_aead - Revert to operating out-of-placecrypto/af_alg.c crypto/algif_aead.c crypto/algif_skcipher.c +1 more+34 -1260 replies
4/8crypto: algif_aead - snapshot IV for async AEAD requestscrypto/algif_aead.c+8 -20 replies
5/8crypto: authenc - use memcpy_sglist() instead of null skciphercrypto/Kconfig crypto/authenc.c crypto/authencesn.c+4 -670 replies
6/8crypto: authencesn - Do not place hiseq at end of dst for out-of-place decryptioncrypto/authencesn.c+29 -190 replies
7/8crypto: authencesn - Fix src offset when decrypting in-placecrypto/authencesn.c+4 -20 replies
8/8crypto: af_alg - Fix page reassignment overflow in af_alg_pull_tsglcrypto/af_alg.c+2 -20 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by.

PatchYucheng Lu
1/8
2/8
3/8
4/8T-b
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 6.12 0/8] AF_ALG fixes

This series backports the recent AF_ALG fixes to 6.12. These include the fix for https://copy.fail/, fixes for that fix, and some other fixes that went in at around the same time that seem related.

To enable the 5 actual fix commits to cherry-pick cleanly, commit 1 copies the latest implementation of memcpy_sglist() from upstream, and commits 2 and 5 cleanly cherry-pick a couple cleanup commits.

I didn't check older kernels yet, but this should be usable as a starting point for them.

Douya Le (1):
crypto: algif_aead - snapshot IV for async AEAD request

Eric Biggers (3):
crypto: scatterwalk - Backport memcpy_sglist()
crypto: algif_aead - use memcpy_sglist() instead of null skcipher
crypto: authenc - use memcpy_sglist() instead of null skcipher

Herbert Xu (4):
crypto: algif_aead - Revert to operating out-of-place
crypto: authencesn - Do not place hiseq at end of dst for out-of-place
decryption
crypto: authencesn - Fix src offset when decrypting in-place
crypto: af_alg - Fix page reassignment overflow in af_alg_pull_tsgl

 crypto/Kconfig               |   2 -
 crypto/af_alg.c              |  51 ++-------
 crypto/algif_aead.c          | 203 +++++++----------------------------
 crypto/algif_skcipher.c      |   6 +-
 crypto/authenc.c             |  32 +-----
 crypto/authencesn.c          |  84 ++++++---------
 crypto/scatterwalk.c         |  94 ++++++++++++++++
 include/crypto/if_alg.h      |   5 +-
 include/crypto/scatterwalk.h |  31 ++++++
 9 files changed, 215 insertions(+), 293 deletions(-)

base-commit: c286ea5e62389897291fa742d2bb909ecc9ef2d0

Signature · 1 line
2.54.0