Messages in this thread | | | Date | Fri, 17 Aug 2012 14:27:29 -0400 | From | Paul Gortmaker <> | Subject | Re: [v2.6.34-stable 050/165] TPM: Zero buffer after copying to userspace |
| |
On 12-08-17 11:48 AM, Herton Ronaldo Krzesinski wrote: > 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.
Agreed. I see no reason to not queue this.
Thanks, Paul. --
>
| |