diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2016-04-13 10:52:25 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-15 22:13:56 +0800 |
commit | f709b45ec461b548c41a00044dba1f1b572783bf (patch) | |
tree | 8bf82dcdad57d141c1ff585865bff2ced1fc7c6a /certs | |
parent | 0851561d9c965df086ef8a53f981f5f95a57c2c8 (diff) | |
download | linux-stable-f709b45ec461b548c41a00044dba1f1b572783bf.tar.gz linux-stable-f709b45ec461b548c41a00044dba1f1b572783bf.tar.bz2 linux-stable-f709b45ec461b548c41a00044dba1f1b572783bf.zip |
crypto: ccp - Prevent information leakage on export
Prevent information from leaking to userspace by doing a memset to 0 of
the export state structure before setting the structure values and copying
it. This prevents un-initialized padding areas from being copied into the
export area.
Cc: <stable@vger.kernel.org> # 3.14.x-
Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions