| Date | Fri, 17 Aug 2012 12:48:58 -0300 | From | Herton Ronaldo Krzesinski <> | Subject | Re: [v2.6.34-stable 050/165] TPM: Zero buffer after copying to userspace |
| |
On Wed, Aug 15, 2012 at 03:46:34PM -0400, Paul Gortmaker wrote: > From: Peter Huewe <huewe.external.infineon@googlemail.com> > > ------------------- > This is a commit scheduled for the next v2.6.34 longterm release. > http://git.kernel.org/?p=linux/kernel/git/paulg/longterm-queue-2.6.34.git > If you see a problem with using this for longterm, please comment. > ------------------- > > commit 3321c07ae5068568cd61ac9f4ba749006a7185c9 upstream. > > 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> > Signed-off-by: James Morris <jmorris@namei.org> > Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> [...]
commit 3ab1aff89477dafb1aaeafe8c8669114a02b7226 ("TPM: Zero buffer whole after copying to userspace") is something to consider to be applied after this, either with this update or later 2.6.34 update. It complements this change, just fyi.
-- []'s Herton
|