summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2018-07-26 13:14:55 +0200
committerThomas Gleixner <tglx@linutronix.de>2018-07-31 00:45:15 +0200
commitfdf82a7856b32d905c39afc85e34364491e46346 (patch)
tree9aaead977f0e8179b929ee98ca2b2914fc119b7d /arch/x86/include/asm
parentx86/kexec: Allocate 8k PGDs for PTI (diff)
downloadlinux-fdf82a7856b32d905c39afc85e34364491e46346.tar.xz
linux-fdf82a7856b32d905c39afc85e34364491e46346.zip
x86/speculation: Protect against userspace-userspace spectreRSB
The article "Spectre Returns! Speculation Attacks using the Return Stack Buffer" [1] describes two new (sub-)variants of spectrev2-like attacks, making use solely of the RSB contents even on CPUs that don't fallback to BTB on RSB underflow (Skylake+). Mitigate userspace-userspace attacks by always unconditionally filling RSB on context switch when the generic spectrev2 mitigation has been enabled. [1] https://arxiv.org/pdf/1807.07940.pdf Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com> Acked-by: Tim Chen <tim.c.chen@linux.intel.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: Borislav Petkov <bp@suse.de> Cc: David Woodhouse <dwmw@amazon.co.uk> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/nycvar.YFH.7.76.1807261308190.997@cbobk.fhfr.pm
Diffstat (limited to 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions