summaryrefslogtreecommitdiff
path: root/crypto/async_tx
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-01-18 16:13:05 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-15 14:18:03 +0200
commit4f7a0bc04e4e7d8e8b558d2733ef485bc1f2a4be (patch)
treed7056404d51955da84c415e30f080d505413e24c /crypto/async_tx
parent44fe7e8c24680cb632f9e97f8d800538932ec9a0 (diff)
downloadlinux-crypto-4f7a0bc04e4e7d8e8b558d2733ef485bc1f2a4be.tar.gz
linux-crypto-4f7a0bc04e4e7d8e8b558d2733ef485bc1f2a4be.zip
crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
commit a24611ea356c7f3f0ec926da11b9482ac1f414fd upstream. Before checking whether the expected digest_info is present, we need to check that there are enough bytes remaining. Fixes: 39669c60ba49 ("crypto: Add hash param to pkcs1pad") Cc: <stable@vger.kernel.org> # v4.6+ Cc: Tadeusz Struk <tadeusz.struk@linaro.org> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions