summaryrefslogtreecommitdiff
path: root/crypto/memneq.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-01-19 09:58:40 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-01-31 03:21:44 +0300
commit66eae850333d639fc278d6f915c6fc01499ea893 (patch)
tree762c1725b95e6da5650e3af44230401967c84fbe /crypto/memneq.c
parentc2a28fdb2f4e0b1676709426d80a986dd601200e (diff)
downloadlinux-66eae850333d639fc278d6f915c6fc01499ea893.tar.xz
crypto: authenc - Fix sleep in atomic context in decrypt_tail
The function crypto_authenc_decrypt_tail discards its flags argument and always relies on the flags from the original request when starting its sub-request. This is clearly wrong as it may cause the SLEEPABLE flag to be set when it shouldn't. Fixes: 92d95ba91772 ("crypto: authenc - Convert to new AEAD interface") Reported-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/memneq.c')
0 files changed, 0 insertions, 0 deletions