commit | f709b45ec461b548c41a00044dba1f1b572783bf | [log] [tgz] |
---|---|---|
author | Tom Lendacky <thomas.lendacky@amd.com> | Wed Apr 13 10:52:25 2016 -0500 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Apr 15 22:13:56 2016 +0800 |
tree | 8bf82dcdad57d141c1ff585865bff2ced1fc7c6a | |
parent | 0851561d9c965df086ef8a53f981f5f95a57c2c8 [diff] |
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>