diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-25 16:49:51 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-31 22:50:40 +0800 |
commit | c8346f455b3fe4296e7d504e943e0cd67e25d78a (patch) | |
tree | 2326fa1be1047065ef9d4c02ca0f4326b3e2b5c6 /crypto/drbg.c | |
parent | c5df76a185f097d771c0851daddcac1e7ee75d0a (diff) | |
download | linux-crypto-c8346f455b3fe4296e7d504e943e0cd67e25d78a.tar.gz linux-crypto-c8346f455b3fe4296e7d504e943e0cd67e25d78a.zip |
crypto: cryptd - Use correct tfm object for AEAD tracking
The AEAD code path incorrectly uses the child tfm to track the
cryptd refcnt, and then potentially frees the child tfm.
Fixes: d7a0f8f86515 ("crypto: cryptd - Add helpers to check...")
Reported-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions