Files
linux/crypto
Herbert Xu 139653e11c crypto: api - Fix race condition in larval lookup
commit 77dbd7a95e upstream.

crypto_larval_lookup should only return a larval if it created one.
Any larval created by another entity must be processed through
crypto_larval_wait before being returned.

Otherwise this will lead to a larval being killed twice, which
will most likely lead to a crash.

Reported-by: Kees Cook <keescook@chromium.org>
Tested-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-09-26 17:18:01 -07:00
..
2013-04-29 18:28:42 -07:00
2011-07-26 16:49:47 -07:00
2013-02-04 21:16:53 +08:00
2013-02-04 21:16:53 +08:00
2013-02-04 21:16:53 +08:00
2013-02-04 21:16:53 +08:00
2013-04-25 21:01:47 +08:00
2013-02-04 21:16:53 +08:00
2010-02-16 20:33:49 +08:00
2010-12-02 14:47:16 +08:00
2013-04-25 21:01:47 +08:00
2011-08-06 18:32:45 -07:00
2013-02-04 21:16:53 +08:00