On 5/21/22 15:59, gregkh@linuxfoundation.org wrote:
The patch below does not apply to the 5.4-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to stable@vger.kernel.org.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From 9f46c187e2e680ecd9de7983e4d081c3391acc76 Mon Sep 17 00:00:00 2001
From: Paolo Bonzini pbonzini@redhat.com Date: Fri, 20 May 2022 13:48:11 -0400 Subject: [PATCH] KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID
I don't think 5.4 or earlier need this patch as (AFAICT) the bug was introduced by:
commit 5efac0741ce238e0844d3f7af00198f81e84926a Author: Paolo Bonzini pbonzini@redhat.com Date: Mon Mar 23 20:42:57 2020 -0400
KVM: x86: introduce kvm_mmu_invalidate_gva
which was merged in v5.8 and has not been backported to v5.4.y or any earlier stable branch.
The reproducer does not crash on latest v5.4.y, which agrees with the above.
Vegard