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: f1c131b4 ("crypto: xts - Convert to skcipher") Cc: <stable@vger.kernel.org> Reported-by: NNathan Royce <nroycea+kernel@gmail.com> Reported-by: NKrzysztof Kozlowski <krzk@kernel.org> Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au> Tested-by: NKrzysztof Kozlowski <krzk@kernel.org>
Showing
想要评论请 注册 或 登录