Fix bad page state in process qemu-kvm when using TDP_MMU
Upstream Status: linus
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2055725
There has been a report of a BUG hit on c9s where the "KVM triggers a use-after-free in the form of marking a struct page as dirty/accessed after it has been put back on the free list". A simple upstream fix has been identified.
Signed-off-by: Nico Pache npache@redhat.com
Edited by Nico Pache