TPM: Zero buffer after copying to userspace
authorPeter Huewe <huewe.external.infineon@googlemail.com>
Thu, 15 Sep 2011 17:47:42 +0000 (14:47 -0300)
committerJames Morris <jmorris@namei.org>
Thu, 22 Sep 2011 23:46:41 +0000 (09:46 +1000)
Since the buffer might contain security related data it might be a good idea to
zero the buffer after we have copied it to userspace.

This got assigned CVE-2011-1162.

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Cc: Stable Kernel <stable@kernel.org>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found