Re: [PATCH] intel_txt: add s3 userspace memory integrity verification

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Friday, December 4, 2009 - 10:13 am

> "bad stuff" would be the execution of any code (or use of any data that affects execution) that was not verified by tboot.  As long as panic() is within the code ranges MAC'ed by tboot (see above), it would be covered.  Do you know of some panic() code paths that are outside of this?

Not code path, but the code called by panic (console drivers, debuggers etc.)
can well use data that is stored >4GB

This can include structures with indirect pointers, like notifier chains.

Notifier chains have a special checker than can check
for <4GB, but there are other call vectors too.


Code coverage is not enough, you need data coverage too.  If someone 
modifies kernel data it's typically easy to subvert code as a next step.


-Andi
-- 
ak@linux.intel.com -- Speaking for myself only.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] intel_txt: add s3 userspace memory integrity v ..., Andi Kleen, (Fri Dec 4, 10:13 am)
Re: [PATCH v3] intel_txt: add support for S3 memory integr ..., Rafael J. Wysocki, (Wed Mar 10, 1:31 pm)
[tip:x86/txt] x86, tboot: Add support for S3 memory integr ..., tip-bot for Shane Wang, (Fri Mar 19, 2:18 pm)