Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: xts - Fix use-after-free on EINPROGRESS
When we get an EINPROGRESS completion in xts, we will end up marking the request as done and freeing it. This then blows up when the request is really completed as we've already freed the memory. Fixes: f1c131b ("crypto: xts - Convert to skcipher") Cc: <[email protected]> Reported-by: Nathan Royce <[email protected]> Reported-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Herbert Xu <[email protected]> Tested-by: Krzysztof Kozlowski <[email protected]>
- Loading branch information