OpenVZ / Virtuozzo kernel development (devel@openvz.org)
 help / color / mirror / Atom feed
From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>,
	Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>
Cc: devel@openvz.org
Subject: [Devel] [PATCH hci-8.2 0/7] KVM fixes for the 8.2 kernel
Date: Thu, 26 Nov 2026 22:52:58 +0100	[thread overview]
Message-ID: <20261126-khorenko-vstor-157390-kvm-fixes-v1-0-ea4024e03c63@virtuozzo.com> (raw)

The KVM fixes the 8.1 kernel got in 24.4, for the 26.x branch: from
6.12.y stable where it has them, patches 6-7 from mainline.

- Patches 1-4 (VSTOR-157287): a guest can lock up or exhaust the host.
  - Patch 1: CVE-2026-99713.
  - Patch 2: CVE-2026-99712.
  - Patch 3: nVMX MSR unwind on a failed VM-Entry.
  - Patch 4: CVE-2026-99710.
- Patch 5 (VSTOR-157390): CVE-2026-99312, a stale L2 MMU root after
  INIT.
- Patches 6-7 (VSTOR-157390): L2 clearing EFER.SVME without an L1
  intercept now triple-faults L1, with a selftest.

Assisted-by: LLM
Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
---
Sean Christopherson (5):
      ms/KVM: x86/mmu: Conditionally resched when retrying gPTE walk on A/D update failure
      ms/KVM: x86: Conditionally resched when restarting REP string emulation
      ms/KVM: nVMX: Process each host MSR entry at most once when unwinding failed VM-Entry
      ms/KVM: x86/mmu: Cap number of parent PTEs per SP at 1000 (the arbitrary rmap limit)
      ms/KVM: x86: Unconditionally reset MMU context when emulating INIT

Yosry Ahmed (2):
      ms/KVM: SVM: Triple fault L1 on unintercepted EFER.SVME clear by L2
      ms/KVM: selftests: Add a test for L2 clearing EFER.SVME without intercept

 arch/x86/kvm/mmu/mmu.c                             | 10 ++++
 arch/x86/kvm/mmu/paging_tmpl.h                     | 11 ++++-
 arch/x86/kvm/svm/svm.c                             | 13 +++++
 arch/x86/kvm/vmx/nested.c                          |  1 +
 arch/x86/kvm/x86.c                                 | 31 +++++++-----
 tools/testing/selftests/kvm/Makefile.kvm           |  1 +
 .../selftests/kvm/x86/svm_nested_clear_efer_svme.c | 55 ++++++++++++++++++++++
 7 files changed, 109 insertions(+), 13 deletions(-)
---
base-commit: 9d3240d27f8b8c140461a96daa199ed0705ebe91
change-id: 20261126-khorenko-vstor-157390-kvm-fixes-355774e97940

Best regards,
--  
Konstantin Khorenko,
Virtuozzo Linux Kernel Team

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

             reply	other threads:[~2026-11-26 21:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 21:52 Konstantin Khorenko [this message]
2026-11-26 21:52 ` [Devel] [PATCH hci-8.2 1/7] ms/KVM: x86/mmu: Conditionally resched when retrying gPTE walk on A/D update failure Konstantin Khorenko
2026-12-01  0:44   ` no-reply
2026-11-26 21:53 ` [Devel] [PATCH hci-8.2 2/7] ms/KVM: x86: Conditionally resched when restarting REP string emulation Konstantin Khorenko
2026-12-01  0:45   ` no-reply
2026-11-26 21:53 ` [Devel] [PATCH hci-8.2 3/7] ms/KVM: nVMX: Process each host MSR entry at most once when unwinding failed VM-Entry Konstantin Khorenko
2026-12-01  0:45   ` no-reply
2026-11-26 21:53 ` [Devel] [PATCH hci-8.2 4/7] ms/KVM: x86/mmu: Cap number of parent PTEs per SP at 1000 (the arbitrary rmap limit) Konstantin Khorenko
2026-12-01  0:46   ` no-reply
2026-11-26 21:53 ` [Devel] [PATCH hci-8.2 5/7] ms/KVM: x86: Unconditionally reset MMU context when emulating INIT Konstantin Khorenko
2026-12-01  0:47   ` no-reply
2026-11-26 21:53 ` [Devel] [PATCH hci-8.2 6/7] ms/KVM: SVM: Triple fault L1 on unintercepted EFER.SVME clear by L2 Konstantin Khorenko
2026-12-01  0:49   ` no-reply
2026-11-26 21:53 ` [Devel] [PATCH hci-8.2 7/7] ms/KVM: selftests: Add a test for L2 clearing EFER.SVME without intercept Konstantin Khorenko
2026-12-01  0:50   ` no-reply
2026-11-27 14:43 ` [Devel] [PATCH hci-8.2 0/7] KVM fixes for the 8.2 kernel Konstantin Khorenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261126-khorenko-vstor-157390-kvm-fixes-v1-0-ea4024e03c63@virtuozzo.com \
    --to=khorenko@virtuozzo.com \
    --cc=devel@openvz.org \
    --cc=ptikhomirov@virtuozzo.com \
    --cc=vasileios.almpanis@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox