summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-08-19 14:01:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-05 11:28:54 +0300
commite5796ff9acc5e922be3b1a599e004534e4fe23cf (patch)
treea099c1cd89d65b2873e585680531c084ee6b4a45 /lib
parentadee8f3082b01e5dab620d651e3ec75f57c0c855 (diff)
downloadlinux-e5796ff9acc5e922be3b1a599e004534e4fe23cf.tar.xz
x86/nospec: Fix i386 RSB stuffing
commit 332924973725e8cdcc783c175f68cf7e162cb9e5 upstream. Turns out that i386 doesn't unconditionally have LFENCE, as such the loop in __FILL_RETURN_BUFFER isn't actually speculation safe on such chips. Fixes: ba6e31af2be9 ("x86/speculation: Add LFENCE to RSB fill sequence") Reported-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/Yv9tj9vbQ9nNlXoY@worktop.programming.kicks-ass.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions