[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180214.150705.2283747472043725914.davem@davemloft.net>
Date: Wed, 14 Feb 2018 15:07:05 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: borisp@...lanox.com
Cc: netdev@...r.kernel.org, ilyal@...lanox.com, aviadye@...lanox.com
Subject: Re: [PATCH 2/3] tls: reset the crypto info if copy_from_user fails
From: Boris Pismenny <borisp@...lanox.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 <borisp@...lanox.com>
Applied.
Powered by blists - more mailing lists