[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171115115412.uqdy3y74w4sdnzlo@hirez.programming.kicks-ass.net>
Date: Wed, 15 Nov 2017 12:54:12 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Cc: Borislav Petkov <bp@...en8.de>,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH v5 11/11] intel_sgx: driver documentation
On Tue, Nov 14, 2017 at 10:49:48PM +0200, Jarkko Sakkinen wrote:
> In these cases IA32_FEATURE_CONTROL[17] would be zeroed before locking
> the feature control, which would mean that the kernel could not write
> new values with wrmsr for the root key hash.
> The question is whether we want to allow this or not. If the answer is
> no, a check can be added to the driver initialization code whether 17 is
> set, and if not, it driver would fail to initialize.
That has my vote; I would not trust a firmware/BIOS key.
Powered by blists - more mailing lists