]> git.proxmox.com Git - pve-kernel.git/blob - patches/kernel/0061-x86-unwinder-Make-CONFIG_UNWINDER_ORC-y-the-default-.patch
KPTI: add follow-up fixes
[pve-kernel.git] / patches / kernel / 0061-x86-unwinder-Make-CONFIG_UNWINDER_ORC-y-the-default-.patch
1 From a405dd2b4172c310101f96c2152598bc24e9e6f8 Mon Sep 17 00:00:00 2001
2 From: Ingo Molnar <mingo@kernel.org>
3 Date: Thu, 12 Oct 2017 09:24:30 +0200
4 Subject: [PATCH 061/241] x86/unwinder: Make CONFIG_UNWINDER_ORC=y the default
5 in the 64-bit defconfig
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 CVE-2017-5754
11
12 Increase testing coverage by turning on the primary x86 unwinder for
13 the 64-bit defconfig.
14
15 Cc: Josh Poimboeuf <jpoimboe@redhat.com>
16 Cc: Linus Torvalds <torvalds@linux-foundation.org>
17 Cc: Peter Zijlstra <peterz@infradead.org>
18 Cc: Thomas Gleixner <tglx@linutronix.de>
19 Cc: linux-kernel@vger.kernel.org
20 Signed-off-by: Ingo Molnar <mingo@kernel.org>
21 (cherry picked from commit 1e4078f0bba46ad61b69548abe6a6faf63b89380)
22 Signed-off-by: Andy Whitcroft <apw@canonical.com>
23 Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
24 (cherry picked from commit ebcba768c005dce435721f6c998e3afdf5534666)
25 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
26 ---
27 arch/x86/configs/x86_64_defconfig | 1 +
28 1 file changed, 1 insertion(+)
29
30 diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig
31 index 4a4b16e56d35..eb65c248708d 100644
32 --- a/arch/x86/configs/x86_64_defconfig
33 +++ b/arch/x86/configs/x86_64_defconfig
34 @@ -299,6 +299,7 @@ CONFIG_DEBUG_STACKOVERFLOW=y
35 # CONFIG_DEBUG_RODATA_TEST is not set
36 CONFIG_DEBUG_BOOT_PARAMS=y
37 CONFIG_OPTIMIZE_INLINING=y
38 +CONFIG_ORC_UNWINDER=y
39 CONFIG_SECURITY=y
40 CONFIG_SECURITY_NETWORK=y
41 CONFIG_SECURITY_SELINUX=y
42 --
43 2.14.2
44