[PATCH 06/12] x86: Require CAP_COMPROMISE_KERNEL for IO port access

H. Peter Anvin hpa at zytor.com
Tue Mar 19 21:00:18 EDT 2013


On 03/18/2013 02:32 PM, Matthew Garrett wrote:
> 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.
> 

Again, if you are going to do this, just kill bloody RAWIO.  Quite
frankly saying brainfucked SCSI drivers have abused it doesn't hold
water, because as far as you know those same commands can trigger
arbitrary DMA activity.

	-hpa




More information about the kexec mailing list