From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946977Ab3BHTnH (ORCPT ); Fri, 8 Feb 2013 14:43:07 -0500 Received: from terminus.zytor.com ([198.137.202.10]:35678 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946899Ab3BHTnE (ORCPT ); Fri, 8 Feb 2013 14:43:04 -0500 Message-ID: <5115553A.5000708@zytor.com> Date: Fri, 08 Feb 2013 11:42:50 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Kees Cook CC: LKML , Matthew Garrett , Thomas Gleixner , Ingo Molnar , x86@kernel.org, linux-efi@vger.kernel.org, linux-security-module Subject: Re: [PATCH] x86: Lock down MSR writing in secure boot References: <20130208191213.GA25081@www.outflux.net> <00780235-deac-4f80-b936-867834e05661@email.android.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/08/2013 11:18 AM, Kees Cook wrote: > No. CAP_RAWIO is for reading. Writing needs a much stronger check. > > -Kees If so, I suspect we need to do this for *all* raw I/O... but I keep wondering how much more sensitive writing really is than reading. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.