In the Linux kernel, the following vulnerability has been resolved: crypto: essiv - fix use-after-free in AEAD path The request that ESSIV submits to its wrapped AEAD transform may finish before crypto_aead_encrypt() or crypto_aead_decrypt() returns. In case this happens, essiv_aead_done() calls aead_request_complete() on the original ESSIV request, which can end up freeing the request before essiv_aead_crypt() resumes, creating a UAF: BUG: KASAN: slab-use-after-free in essiv_aead_crypt+0x8e6/0x950 Read of size 8 at addr ffff888102af1360 by task init/66 Check the return status before dereferencing rctx after submitting that request. If the operation did not return -EINPROGRESS or -EBUSY, then the request cannot have been freed yet.
https://git.kernel.org/stable/c/ef857caf7f0ec6380d927b37a1b5378d0ac01e29
https://git.kernel.org/stable/c/e9ce64dce975a14700e835003847415e29918474
https://git.kernel.org/stable/c/e46fad652d07a9dda4efda43b5be1344f8ef5bd9
https://git.kernel.org/stable/c/7bc21bd6c9c86d0e9be7c8e38f306df84cebfc33
https://git.kernel.org/stable/c/10fac0aa92fd71eaac744cc7d44807f6514f73ab
https://git.kernel.org/stable/c/052a1969e83f7fbf263126a8939fc4ea48c1d835