aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2023-01-22 16:07:37 +0800
committerHerbert Xu <[email protected]>2023-01-27 18:58:09 +0800
commit51c082514c2dedf2711c99d93c196cc4eedceb40 (patch)
tree6c57ecf45ec5048aabdf8709d81d030bc029ca9d /tools/perf/scripts/python/bin
parent4bc713a49d7f97f7328e5a595b8f5d231d9ebfca (diff)
crypto: xts - Handle EBUSY correctly
As it is xts only handles the special return value of EINPROGRESS, which means that in all other cases it will free data related to the request. However, as the caller of xts 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: 8083b1bf8163 ("crypto: xts - add support for ciphertext stealing") Signed-off-by: Herbert Xu <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions