Thanks Sean!
On 6/7/2022 12:56 AM, Sean Christopherson wrote:
On Mon, Jun 06, 2022, shaoqin.huang@xxxxxxxxx wrote:
From: Shaoqin Huang <shaoqin.huang@xxxxxxxxx>
When freeing obsolete previous roots, check prev_roots as intended, not
the current root.
Signed-off-by: Shaoqin Huang <shaoqin.huang@xxxxxxxxx>
Fixes: 527d5cd7eece ("KVM: x86/mmu: Zap only obsolete roots if a root shadow page is zapped")
Because KVM patches aren't guaranteed to be backported without it (though it's
"only" v5.18 that's affected), this needs:
Cc: stable@xxxxxxxxxxxxxxx
Reviewed-by: Sean Christopherson <seanjc@xxxxxxxxxx>