]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
x86/speculation: Make "seccomp" the default mode for Speculative Store Bypass
authorKees Cook <keescook@chromium.org>
Thu, 3 May 2018 21:37:54 +0000 (14:37 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 14 May 2018 10:39:18 +0000 (12:39 +0200)
commit4eae6d512317a9b3b4c1779691c94012e7c2d331
treedd756ee7d0e04b8c9733b924ebac12cf87e5d109
parent32e3c48098bc81b2f258e1baea3cc2851dd423e8
x86/speculation: Make "seccomp" the default mode for Speculative Store Bypass

Unless explicitly opted out of, anything running under seccomp will have
SSB mitigations enabled. Choosing the "prctl" mode will disable this.

[ tglx: Adjusted it to the new arch_seccomp_spec_mitigate() mechanism ]

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CVE-2018-3639 (x86)

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Documentation/admin-guide/kernel-parameters.txt
arch/x86/include/asm/nospec-branch.h
arch/x86/kernel/cpu/bugs.c