From: Boris Pismenny <bor...@mellanox.com>
Date: Wed, 14 Feb 2018 10:46:07 +0200

> copy_from_user could copy some partial information, as a result
> TLS_CRYPTO_INFO_READY(crypto_info) could be true while crypto_info is
> using uninitialzed data.
> 
> This patch resets crypto_info when copy_from_user fails.
> 
> fixes: 3c4d7559159b ("tls: kernel TLS support")
> Signed-off-by: Boris Pismenny <bor...@mellanox.com>

Applied.

Reply via email to