Kernel KVM virtualization development
 help / color / mirror / Atom feed
* [PATCH 5.15.y v3 0/7] KVM: fixes for CVE-2026-46113 and related issues
@ 2026-09-13 15:55 Kenta Akagi
  2026-09-13 15:55 ` [PATCH 5.15.y v3 1/7] KVM: x86/mmu: Use a bool for direct Kenta Akagi
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Kenta Akagi @ 2026-09-13 15:55 UTC (permalink / raw)
  To: linux-kernel, kvm, stable; +Cc: Paolo Bonzini, Kenta Akagi

This is a backport of the CVE-2026-46113 and CVE-2026-53359 fixes to 5.15.y.

The only difference from Paolo's v2 [1] is that commit ef057cbf825e ("KVM:
x86/mmu: Ensure hugepage is in by slot before checking max mapping level") is
not included, as it has already been backported to 5.15.y.

I believe v2 was not merged two months ago because of the regression reported
in [2], which occurs when only these patches are applied.

Commit a955cad84cda ("KVM: x86/mmu: Retry page fault if root is invalidated by
memslot update") was proposed as a fix for this regression. I have confirmed
that applying the v2 patches triggers the WARN, and that applying a955cad84cda
fixes it.

Since a955cad84cda has already been backported to 5.15.218, it is not included
in this series.

[1] https://lore.kernel.org/all/20260626174620.1819772-1-pbonzini@redhat.com/
[2] https://lore.kernel.org/kvm/20260630223723.83727-1-zcgao@amazon.com/ 

David Matlack (2):
  KVM: x86/mmu: Use a bool for direct
  KVM: x86/mmu: Stop passing "direct" to mmu_alloc_root()

Paolo Bonzini (4):
  KVM: x86/mmu: Derive shadow MMU page role from parent
  KVM: x86/mmu: Always pass 0 for @quadrant when gptes are 8 bytes
  KVM: x86/mmu: pull call to drop_large_spte() into __link_shadow_page()
  KVM: x86: Fix shadow paging use-after-free due to unexpected role

Sean Christopherson (1):
  KVM: x86: Fix shadow paging use-after-free due to unexpected GFN

 arch/x86/kvm/mmu/mmu.c         | 174 +++++++++++++++++++++------------
 arch/x86/kvm/mmu/paging_tmpl.h |  32 +++---
 arch/x86/kvm/mmu/spte.h        |   5 +
 3 files changed, 129 insertions(+), 82 deletions(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-09-13 16:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-13 15:55 [PATCH 5.15.y v3 0/7] KVM: fixes for CVE-2026-46113 and related issues Kenta Akagi
2026-09-13 15:55 ` [PATCH 5.15.y v3 1/7] KVM: x86/mmu: Use a bool for direct Kenta Akagi
2026-09-13 15:55 ` [PATCH 5.15.y v3 2/7] KVM: x86/mmu: Stop passing "direct" to mmu_alloc_root() Kenta Akagi
2026-09-13 15:55 ` [PATCH 5.15.y v3 3/7] KVM: x86/mmu: Derive shadow MMU page role from parent Kenta Akagi
2026-09-13 16:56   ` sashiko-bot
2026-09-13 15:55 ` [PATCH 5.15.y v3 4/7] KVM: x86/mmu: Always pass 0 for @quadrant when gptes are 8 bytes Kenta Akagi
2026-09-13 16:49   ` sashiko-bot
2026-09-13 15:55 ` [PATCH 5.15.y v3 5/7] KVM: x86/mmu: pull call to drop_large_spte() into __link_shadow_page() Kenta Akagi
2026-09-13 16:51   ` sashiko-bot
2026-09-13 15:55 ` [PATCH 5.15.y v3 6/7] KVM: x86: Fix shadow paging use-after-free due to unexpected GFN Kenta Akagi
2026-09-13 15:55 ` [PATCH 5.15.y v3 7/7] KVM: x86: Fix shadow paging use-after-free due to unexpected role Kenta Akagi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox