lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <tip-0f7cda2b824bb2afe0d75716a8664117fa03f5e0@git.kernel.org> Date: Tue, 12 Dec 2017 02:56:47 -0800 From: tip-bot for Kees Cook <tipbot@...or.com> To: linux-tip-commits@...r.kernel.org Cc: linux-kernel@...r.kernel.org, keescook@...omium.org, will.deacon@....com, torvalds@...ux-foundation.org, labbott@...hat.com, akpm@...ux-foundation.org, mark.rutland@....com, hpa@...or.com, mingo@...nel.org, tglx@...utronix.de, peterz@...radead.org Subject: [tip:core/debug] Kconfig: Make STRICT_DEVMEM default-y on x86 and arm64 Commit-ID: 0f7cda2b824bb2afe0d75716a8664117fa03f5e0 Gitweb: https://git.kernel.org/tip/0f7cda2b824bb2afe0d75716a8664117fa03f5e0 Author: Kees Cook <keescook@...omium.org> AuthorDate: Fri, 1 Dec 2017 12:10:00 -0800 Committer: Ingo Molnar <mingo@...nel.org> CommitDate: Mon, 11 Dec 2017 18:41:26 +0100 Kconfig: Make STRICT_DEVMEM default-y on x86 and arm64 Distros have been shipping with CONFIG_STRICT_DEVMEM=y for years now. It is probably time to flip this default for x86 and arm64. Signed-off-by: Kees Cook <keescook@...omium.org> Acked-by: Laura Abbott <labbott@...hat.com> Cc: Andrew Morton <akpm@...ux-foundation.org> Cc: Linus Torvalds <torvalds@...ux-foundation.org> Cc: Mark Rutland <mark.rutland@....com> Cc: Peter Zijlstra <peterz@...radead.org> Cc: Thomas Gleixner <tglx@...utronix.de> Cc: Will Deacon <will.deacon@....com> Cc: kernel-hardening@...ts.openwall.com Link: http://lkml.kernel.org/r/20171201201000.GA44539@beast Signed-off-by: Ingo Molnar <mingo@...nel.org> --- lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 947d3e2..39b123d 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1985,7 +1985,7 @@ config STRICT_DEVMEM bool "Filter access to /dev/mem" depends on MMU && DEVMEM depends on ARCH_HAS_DEVMEM_IS_ALLOWED - default y if TILE || PPC + default y if TILE || PPC || X86 || ARM64 ---help--- If this option is disabled, you allow userspace (root) access to all of memory, including kernel and userspace memory. Accidental
Powered by blists - more mailing lists