summaryrefslogtreecommitdiff
path: root/crypto/deflate.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-01-19 17:58:40 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-15 14:18:04 +0200
commit30d3f45bcfa7670ce29751527cc5d6930a8f13aa (patch)
tree24681676e6807de462615b43e231f0ce47f3d0d3 /crypto/deflate.c
parent9b19022137e8fa10ba419ec96b9405cb82fae800 (diff)
crypto: authenc - Fix sleep in atomic context in decrypt_tail
[ Upstream commit 66eae850333d639fc278d6f915c6fc01499ea893 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto/deflate.c')
0 files changed, 0 insertions, 0 deletions