summaryrefslogtreecommitdiff
path: root/drivers/peci
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-01-13 13:24:09 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-01-20 13:29:31 +0300
commitb5a772adf45a32c68bef28e60621f12617161556 (patch)
tree7424811162ff5e50f0a470dd8313e495c1312aea /drivers/peci
parentb0f4f74631979afaff6b5b7b8e54eb1cf2bd5cfa (diff)
downloadlinux-b5a772adf45a32c68bef28e60621f12617161556.tar.xz
crypto: essiv - Handle EBUSY correctly
As it is essiv only handles the special return value of EINPROGERSS, which means that in all other cases it will free data related to the request. However, as the caller of essiv may specify MAY_BACKLOG, we also need to expect EBUSY and treat it in the same way. Otherwise backlogged requests will trigger a use-after-free. Fixes: be1eb7f78aa8 ("crypto: essiv - create wrapper template...") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/peci')
0 files changed, 0 insertions, 0 deletions