On Sat, Dec 07, 2019 at 10:15:15PM +0800, Herbert Xu wrote: > The function crypto_spawn_alg is racy because it drops the lock > before shooting the dying algorithm. The algorithm could disappear > altogether before we shoot it. > > This patch fixes it by moving the shooting into the locked section. > > Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Does this need Fixes and Cc stable tags? - Eric