Re: [PATCH] KVM: SEV: Fix page dirtying in sev_gmem_post_populate()

From: Sean Christopherson

Date: Fri Oct 02 2026 - 17:08:10 EST


On Mon, 10 Aug 2026 17:33:59 +0200, Jann Horn wrote:
> set_page_dirty() requires that the caller holds some kind of lock to
> ensure that the page's mapping does not concurrently go away.
> That is not the case for a random page we got from get_user_pages_fast(),
> so use set_page_dirty_lock().

Applied to kvm-x86 fixes, thanks!

[1/1] KVM: SEV: Fix page dirtying in sev_gmem_post_populate()
https://github.com/kvm-x86/linux/commit/97818b2fa708

--
https://github.com/kvm-x86/linux/tree/next