diff options
author | 2019-08-19 17:17:48 -0700 | |
---|---|---|
committer | 2019-08-19 21:54:16 -0700 | |
commit | 96c4f67293e4cd8b3394adce5a8041a2784e68a3 (patch) | |
tree | 3751173c1272f25476857239381f2c63165ee7cf /include/linux/linux_logo.h | |
parent | PCI: Lock down BAR access when the kernel is locked down (diff) | |
download | linux-dev-96c4f67293e4cd8b3394adce5a8041a2784e68a3.tar.xz linux-dev-96c4f67293e4cd8b3394adce5a8041a2784e68a3.zip |
x86: Lock down IO port access when the kernel is locked down
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@google.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
cc: x86@kernel.org
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include/linux/linux_logo.h')
0 files changed, 0 insertions, 0 deletions