[PATCH v2 0/4] crypto: caam - fix use-after-free KASAN issue

From: Iuliana Prodan
Date: Mon Apr 06 2020 - 18:47:39 EST


This series fixes a use-after-free KASAN issue that was introduce
by CAAM backlogging support[1].
This is fixed for SKCIPHER, HASH, RSA and AEAD algorithms.

[1] https://patchwork.kernel.org/cover/11378941/

---
Changes since V1:
- update commit messages by adding the complete KASAN report;
- keep resource freeing before request completion callback;
- added stable tag.

Iuliana Prodan (4):
crypto: caam - fix use-after-free KASAN issue for SKCIPHER algorithms
crypto: caam - fix use-after-free KASAN issue for AEAD algorithms
crypto: caam - fix use-after-free KASAN issue for HASH algorithms
crypto: caam - fix use-after-free KASAN issue for RSA algorithms

drivers/crypto/caam/caamalg.c | 8 ++++++--
drivers/crypto/caam/caamhash.c | 8 ++++++--
drivers/crypto/caam/caampkc.c | 8 ++++++--
3 files changed, 18 insertions(+), 6 deletions(-)

--
2.1.0