Skip to content

fix authenc() kernel crash

Stephan Müller linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: skcipher - noop for enc/dec with NULL datainclude/crypto/skcipher.h+6 -012 replies
2/2crypto: shash - no kmap of zero SGcrypto/shash.c+3 -11 reply

Reviews trailers per patch

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

PatchStephan Müller
1/2T-b T-b
2/2

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 0/2] fix authenc() kernel crash

Hi Herbert,

The two patches together fix a kernel crash that can be triggered via AF_ALG when using authenc() with zero plaintext.

The changes are also tested to verify that the hashing on null data is still supported.

I suspect that the vulnerability fixed with patch 1 is present in abklcipher that was used before the switch to skcipher. Thus, I would suspect in older kernels that this vulnerability is still present. Could you please provide guidance on how to address that issue in such older kernels?

Stephan Mueller (2):
crypto: skcipher - noop for enc/dec with NULL data
crypto: shash - no kmap of zero SG

 crypto/shash.c            | 4 +++-
 include/crypto/skcipher.h | 6 ++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
Signature · 1 line
2.13.5