fix authenc() kernel crash
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | crypto: skcipher - noop for enc/dec with NULL datainclude/ | +6 | 12 replies | |
| 2/2 | crypto: shash - no kmap of zero SGcrypto/ | +3 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Stephan Müller |
|---|---|
| 1/2 | T-b T-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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