[PATCH V32 11/27] x86: Lock down IO port access when the kernel is locked down

Thomas Gleixner tglx at linutronix.de
Thu Apr 4 07:49:02 UTC 2019


On Wed, 3 Apr 2019, Matthew Garrett wrote:

> From: Matthew Garrett <mjg59 at srcf.ucam.org>
> 
> IO port access would permit users to gain access to PCI configuration
> registers, which in turn (on a lot of hardware) give access to MMIO
> register space. This would potentially permit root to trigger arbitrary
> DMA, so lock it down by default.
> 
> This also implicitly locks down the KDADDIO, KDDELIO, KDENABIO and
> KDDISABIO console ioctls.
> 
> Signed-off-by: Matthew Garrett <mjg59 at google.com>
> Signed-off-by: David Howells <dhowells at redhat.com>

Reviewed-by: Thomas Gleixner <tglx at linutronix.de>



More information about the Linux-security-module-archive mailing list