Re: [PATCH] crypto: ccp - Prevent information leakage on export

2016-04-15 Thread Herbert Xu
On Wed, Apr 13, 2016 at 10:52:25AM -0500, Tom Lendacky wrote: > 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

[PATCH] crypto: ccp - Prevent information leakage on export

2016-04-13 Thread Tom Lendacky
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: # 3.14.x- Reported-by: Ben