• Linus Torvalds's avatar
    Merge tag 'x86_bugs_srso' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 138bcddb
    Linus Torvalds authored
    Pull x86/srso fixes from Borislav Petkov:
     "Add a mitigation for the speculative RAS (Return Address Stack)
      overflow vulnerability on AMD processors.
    
      In short, this is yet another issue where userspace poisons a
      microarchitectural structure which can then be used to leak privileged
      information through a side channel"
    
    * tag 'x86_bugs_srso' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/srso: Tie SBPB bit setting to microcode patch detection
      x86/srso: Add a forgotten NOENDBR annotation
      x86/srso: Fix return thunks in generated code
      x86/srso: Add IBPB on VMEXIT
      x86/srso: Add IBPB
      x86/srso: Add SRSO_NO support
      x86/srso: Add IBPB_BRTYPE support
      x86/srso: Add a Speculative RAS Overflow mitigation
      x86/bugs: Increase the x86 bugs vector size to two u32s
    138bcddb
bugs.c 75.7 KB