Re: [GIT PULL] x86/txt for v2.6.32

From: Shane Wang
Date: Tue Sep 29 2009 - 02:34:20 EST


Pavel Machek wrote:
On Mon 2009-09-28 14:11:25, H. Peter Anvin wrote:
On 09/28/2009 02:07 PM, Rafael J. Wysocki wrote:
Well, I worry that S3 support for TXT makes TXT completely useless. A
little liquid nitrogen, remove RAM, place it in another machine,
modify it in any way you want, more liquid nitrogen, place it back.

Oops, protection provided by TXT is lost.
Ah, I see your point now.

Shane Wang sent me a patch for S3 support, but it missed the merge window:

http://marc.info/?i=4A9CE0B2.5060608@xxxxxxxxx

*As far as I understand* -- and I haven't looked into it in detail yet,
having just come back from Plumber's -- this provides integrity
protection, not content extraction protection.

How does it provide integrity protection? I'm free to modify RAM
content in the other machine....
Pavel

Hi Pavel,

Before S3 sleep, tboot patch will MAC the memory, and after S3 resume, the memory integrity will be verified according to the MAC value. So, you can't modify RAM, or else you will fail on S3 resume.

The current patch hpa mentioned is for userspace memory integrity. For kernel memory integrity, the code is already in with the previous txt patch.

Thanks.
Shane
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/