FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 12-05-2011, 07:05 PM
Tim Gardner
 
Default TPM CVE and race patches

Seth - would you give this a quick review before I send it upstream:

The following changes since commit b6acbb61eb4296c2a25e47e851208bab843ac112:
Leann Ogasawara (1):
UBUNTU: [Config] updateconfigs after dropping i386 generic

are available in the git repository at:

git://kernel.ubuntu.com/rtg/ubuntu-precise.git master-next

Tim Gardner (2):
TPM: Zero whole buffer after copying to userspace
TPM: Close data_pending and data_buffer races

drivers/char/tpm/tpm.c | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
--
Tim Gardner tim.gardner@canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 12-05-2011, 08:22 PM
Seth Forshee
 
Default TPM CVE and race patches

On Mon, Dec 05, 2011 at 01:05:48PM -0700, Tim Gardner wrote:
> Seth - would you give this a quick review before I send it upstream:
>
> The following changes since commit b6acbb61eb4296c2a25e47e851208bab843ac112:
> Leann Ogasawara (1):
> UBUNTU: [Config] updateconfigs after dropping i386 generic
>
> are available in the git repository at:
>
> git://kernel.ubuntu.com/rtg/ubuntu-precise.git master-next
>
> Tim Gardner (2):
> TPM: Zero whole buffer after copying to userspace

That looks like it ought to do the job.

> TPM: Close data_pending and data_buffer races

That looks like it should work too, but if you're going to go the route
of protecting data_pending with the mutex then you've effectively
eliminated the need for it to be atomic. Seems like you might as well
take it to the logical conclusion and change data_pending to a plain
integer type (looks like size_t would be the appropriate choice).

>
> drivers/char/tpm/tpm.c | 20 +++++++++++---------
> 1 files changed, 11 insertions(+), 9 deletions(-)
> --
> Tim Gardner tim.gardner@canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 01:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org