]> www.infradead.org Git - users/dwmw2/linux.git/commit
Merge tag 'x86_bugs_post_ibpb' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 18 Oct 2024 02:12:38 +0000 (19:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 18 Oct 2024 02:12:38 +0000 (19:12 -0700)
commitade8ff3b6aca47c234e5353b1e9dc1e5a8f21ffe
tree99aaa25e06d1fefafd7fc62898ba4c0578cb4c89
parent4d939780b70592e0f4bc6c397e52e518f8fb7916
parentc62fa117c32bd1abed9304c58e0da6940f8c7fc2
Merge tag 'x86_bugs_post_ibpb' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 IBPB fixes from Borislav Petkov:
 "This fixes the IBPB implementation of older AMDs (< gen4) that do not
  flush the RSB (Return Address Stack) so you can still do some leaking
  when using a "=ibpb" mitigation for Retbleed or SRSO. Fix it by doing
  the flushing in software on those generations.

  IBPB is not the default setting so this is not likely to affect
  anybody in practice"

* tag 'x86_bugs_post_ibpb' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/bugs: Do not use UNTRAIN_RET with IBPB on entry
  x86/bugs: Skip RSB fill at VMEXIT
  x86/entry: Have entry_ibpb() invalidate return predictions
  x86/cpufeatures: Add a IBPB_NO_RET BUG flag
  x86/cpufeatures: Define X86_FEATURE_AMD_IBPB_RET