[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201025185334.389061-1-peterx@redhat.com>
Date: Sun, 25 Oct 2020 14:53:32 -0400
From: Peter Xu <peterx@...hat.com>
To: linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Cc: Vitaly Kuznetsov <vkuznets@...hat.com>, peterx@...hat.com,
Sean Christopherson <sean.j.christopherson@...el.com>,
Paolo Bonzini <pbonzini@...hat.com>
Subject: [PATCH 0/2] Fix null pointer dereference in kvm_msr_ignored_check
Bug report: https://lore.kernel.org/kvm/bug-209845-28872@https.bugzilla.kernel.org%2F/
Unit test attached, which can reproduce the same issue.
Thanks,
Peter Xu (2):
KVM: selftests: Add get featured msrs test case
KVM: X86: Fix null pointer reference for KVM_GET_MSRS
arch/x86/kvm/x86.c | 4 +-
.../testing/selftests/kvm/include/kvm_util.h | 3 +
tools/testing/selftests/kvm/lib/kvm_util.c | 14 +++++
.../testing/selftests/kvm/x86_64/state_test.c | 58 +++++++++++++++++++
4 files changed, 77 insertions(+), 2 deletions(-)
--
2.26.2
Powered by blists - more mailing lists