[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240802202941.344889-1-seanjc@google.com>
Date: Fri, 2 Aug 2024 13:29:39 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Michal Luczaj <mhal@...x.co>, Haoyu Wu <haoyuwu254@...il.com>,
syzbot+545f1326f405db4e1c3e@...kaller.appspotmail.com
Subject: [PATCH 0/2] KVM: x86: Disallow changing x2APIC ID via userspace
Silently ignore userspace attempts to change the x2APIC ID via
KVM_SET_LAPIC.
I've been hunting for this series since January[*], and *finally* stumbled
across it while tidying up my (too) many git trees.
[*] https://lore.kernel.org/all/ZbPkHvuJv0EdJhVN@google.com
Michal Luczaj (1):
KVM: selftests: Add a testcase to verify x2APIC is fully readonly
Sean Christopherson (1):
KVM: x86: Make x2APIC ID 100% readonly
arch/x86/kvm/lapic.c | 18 +++++++++---
.../selftests/kvm/x86_64/xapic_state_test.c | 28 +++++++++++++++++++
2 files changed, 42 insertions(+), 4 deletions(-)
base-commit: 332d2c1d713e232e163386c35a3ba0c1b90df83f
--
2.46.0.rc2.264.g509ed76dc8-goog
Powered by blists - more mailing lists