[PATCH 13/24] x86: Lock down IO port access when the kernel is locked down

Thomas Gleixner tglx at linutronix.de
Fri Apr 14 18:28:39 UTC 2017


On Wed, 5 Apr 2017, David Howells wrote:
> From: Matthew Garrett <matthew.garrett at nebula.com>
> 
> 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 <matthew.garrett at nebula.com>
> Signed-off-by: David Howells <dhowells at redhat.com>

Reviewed-by: Thomas Gleixner <tglx at linutronix.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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