Re: [PATCH V31 11/25] x86: Lock down IO port access when the kernel is locked down
From: Andy Lutomirski <luto@kernel.org>
Date: 2019-03-26 20:57:04
Also in:
linux-security-module, lkml
From: Andy Lutomirski <luto@kernel.org>
Date: 2019-03-26 20:57:04
Also in:
linux-security-module, lkml
On Tue, Mar 26, 2019 at 11:28 AM Matthew Garrett [off-list ref] wrote:
From: Matthew Garrett <mjg59@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.
Reviewed-by: Andy Lutomirski <luto@kernel.org>