Merge tag 'x86_urgent_for_v6.8_rc6' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 25 Feb 2024 18:22:21 +0000 (10:22 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 25 Feb 2024 18:22:21 +0000 (10:22 -0800)
commit1eee4ef38ca15137379028a5a7b0f859bd1bb9b0
tree7e017de2e623925c05132fda5d6912d7211f13ac
parent8c46ed3740e27aeba30866ea3da4bc41b08f98a4
parent43fb862de8f628c5db5e96831c915b9aebf62d33
Merge tag 'x86_urgent_for_v6.8_rc6' of git://git./linux/kernel/git/tip/tip

Pull x86 fixes from Borislav Petkov:

 - Make sure clearing CPU buffers using VERW happens at the latest
   possible point in the return-to-userspace path, otherwise memory
   accesses after the VERW execution could cause data to land in CPU
   buffers again

* tag 'x86_urgent_for_v6.8_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  KVM/VMX: Move VERW closer to VMentry for MDS mitigation
  KVM/VMX: Use BT+JNC, i.e. EFLAGS.CF to select VMRESUME vs. VMLAUNCH
  x86/bugs: Use ALTERNATIVE() instead of mds_user_clear static key
  x86/entry_32: Add VERW just before userspace transition
  x86/entry_64: Add VERW just before userspace transition
  x86/bugs: Add asm helpers for executing VERW