All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
* [Devel] [PATCH hci-8.1 00/14] objtool/klp and KVM fixes for the 8.1 kernel
@ 2026-11-26 14:30 Konstantin Khorenko
  2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 01/14] ms/KVM: x86/mmu: Conditionally resched when retrying gPTE walk on A/D update failure Konstantin Khorenko
                   ` (14 more replies)
  0 siblings, 15 replies; 30+ messages in thread
From: Konstantin Khorenko @ 2026-11-26 14:30 UTC (permalink / raw)
  To: Pavel Tikhomirov; +Cc: devel

Upstream fixes for the 24.x branch.

KVM, from 6.12.y stable where it has them:
- patches 1-4 (VSTOR-157287): guest-triggered host lockups and
  exhaustion, CVE-2026-99713, CVE-2026-99712, an nVMX MSR unwind fix
  and CVE-2026-99710, in patch order.
- patches 5-7 (VSTOR-157389): CVE-2026-99312, L1 left on a stale L2
  MMU root after INIT (patch 5), the same stale root reached when L2
  clears EFER.SVME without an intercept (patch 6) and its selftest.

objtool/klp (VSTOR-157133, patches 8-14): RK modules built from this
kernel would leave calls into other modules' exports unrelocated
("call +0"), point into the middle of cloned strings, accept a static
key of another module and bind a static symbol to a same-named export.
tools/objtool now matches the tree RK 10.15 for 20.14 is built with.

Assisted-by: LLM
Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
---
Joe Lawrence (2):
      ms/objtool/klp: fix data alignment in __clone_symbol()
      ms/objtool/klp: Normalize Module.symvers paths to module names

Josh Poimboeuf (5):
      ms/objtool: Fix data alignment in elf_add_data()
      ms/objtool/klp: Fix module name normalization for paths with dots
      ms/objtool/klp: Fix cross-module klp relocation section naming
      ms/objtool/klp: Fix detection of corrupt static branch/call entries
      ms/objtool/klp: Don't match local symbols against exports

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/objtool/elf.c                                |  2 +-
 tools/objtool/include/objtool/klp.h                | 10 ++-
 tools/objtool/klp-diff.c                           | 71 +++++++++++++++++-----
 tools/objtool/klp-post-link.c                      | 53 +++++++++-------
 tools/testing/selftests/kvm/Makefile.kvm           |  1 +
 .../selftests/kvm/x86/svm_nested_clear_efer_svme.c | 55 +++++++++++++++++
 11 files changed, 203 insertions(+), 55 deletions(-)
---
base-commit: 8d0b6e79cc277f9895f7b25ae4356351a38f2202
change-id: 20261126-khorenko-vstor-157133-klp-and-kvm-fixes-da27221d06b3

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

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

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

end of thread, other threads:[~2026-12-01  0:44 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26 14:30 [Devel] [PATCH hci-8.1 00/14] objtool/klp and KVM fixes for the 8.1 kernel Konstantin Khorenko
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 01/14] ms/KVM: x86/mmu: Conditionally resched when retrying gPTE walk on A/D update failure Konstantin Khorenko
2026-12-01  0:34   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 02/14] ms/KVM: x86: Conditionally resched when restarting REP string emulation Konstantin Khorenko
2026-12-01  0:34   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 03/14] ms/KVM: nVMX: Process each host MSR entry at most once when unwinding failed VM-Entry Konstantin Khorenko
2026-12-01  0:35   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 04/14] ms/KVM: x86/mmu: Cap number of parent PTEs per SP at 1000 (the arbitrary rmap limit) Konstantin Khorenko
2026-12-01  0:36   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 05/14] ms/KVM: x86: Unconditionally reset MMU context when emulating INIT Konstantin Khorenko
2026-12-01  0:37   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 06/14] ms/KVM: SVM: Triple fault L1 on unintercepted EFER.SVME clear by L2 Konstantin Khorenko
2026-12-01  0:38   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 07/14] ms/KVM: selftests: Add a test for L2 clearing EFER.SVME without intercept Konstantin Khorenko
2026-12-01  0:38   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 08/14] ms/objtool: Fix data alignment in elf_add_data() Konstantin Khorenko
2026-12-01  0:39   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 09/14] ms/objtool/klp: fix data alignment in __clone_symbol() Konstantin Khorenko
2026-12-01  0:39   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 10/14] ms/objtool/klp: Fix module name normalization for paths with dots Konstantin Khorenko
2026-12-01  0:40   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 11/14] ms/objtool/klp: Normalize Module.symvers paths to module names Konstantin Khorenko
2026-12-01  0:40   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 12/14] ms/objtool/klp: Fix cross-module klp relocation section naming Konstantin Khorenko
2026-12-01  0:41   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 13/14] ms/objtool/klp: Fix detection of corrupt static branch/call entries Konstantin Khorenko
2026-12-01  0:43   ` no-reply
2026-11-26 14:30 ` [Devel] [PATCH hci-8.1 14/14] ms/objtool/klp: Don't match local symbols against exports Konstantin Khorenko
2026-12-01  0:43   ` no-reply
2026-11-26 14:46 ` [Devel] [PATCH hci-8.1 00/14] objtool/klp and KVM fixes for the 8.1 kernel Konstantin Khorenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.