]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.15-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 17:34:35 +0000 (19:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 17:34:35 +0000 (19:34 +0200)
added patches:
x86-set-spectre_bhi_on-as-default.patch

queue-5.15/series
queue-5.15/x86-set-spectre_bhi_on-as-default.patch [new file with mode: 0644]

index 5c93a474ec336e15e8cf9ca5ad110280edf9bc67..08646d3deebffd801fce8a9a7dc1bbc9ca4300d6 100644 (file)
@@ -694,3 +694,4 @@ x86-bhi-enumerate-branch-history-injection-bhi-bug.patch
 x86-bhi-add-bhi-mitigation-knob.patch
 x86-bhi-mitigate-kvm-by-default.patch
 kvm-x86-add-bhi_no.patch
+x86-set-spectre_bhi_on-as-default.patch
diff --git a/queue-5.15/x86-set-spectre_bhi_on-as-default.patch b/queue-5.15/x86-set-spectre_bhi_on-as-default.patch
new file mode 100644 (file)
index 0000000..9bffec6
--- /dev/null
@@ -0,0 +1,28 @@
+From foo@baz Tue Apr  9 07:32:41 PM CEST 2024
+Date: Tue, 09 Apr 2024 19:32:41 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: x86: set SPECTRE_BHI_ON as default
+
+commit 2bb69f5fc72183e1c62547d900f560d0e9334925 upstream.
+
+Part of a merge commit from Linus that adjusted the default setting of
+SPECTRE_BHI_ON.
+
+Cc: Linus Torvalds <torvalds@linux-foundation.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ arch/x86/Kconfig |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/x86/Kconfig
++++ b/arch/x86/Kconfig
+@@ -2508,7 +2508,7 @@ config MITIGATION_RFDS
+ choice
+       prompt "Clear branch history"
+       depends on CPU_SUP_INTEL
+-      default SPECTRE_BHI_AUTO
++      default SPECTRE_BHI_ON
+       help
+         Enable BHI mitigations. BHI attacks are a form of Spectre V2 attacks
+         where the branch history buffer is poisoned to speculatively steer