Re: RFC: Tainting the kernel on raw I/O access

From: Ingo Molnar
Date: Thu Sep 04 2014 - 01:07:47 EST



* H. Peter Anvin <h.peter.anvin@xxxxxxxxx> wrote:

> In a meeting earlier today, we discussed MSR access and that it could be
> used to do bad things. The same applies to other forms of raw I/O
> (/dev/mem, /dev/port, ioperm, iopl, etc.)
>
> This is basically the same problem with which the secure boot people
> have been struggling.
>
> Peter Z. suggested we should taint the kernel on raw I/O access, and I
> tend to concur.

Lets start with the 'only for developers and the crazy'
interfaces, like /dev/msr access, and extend it step by step?

Thanks,

Ingo
--
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/