diff options
| author | 2026-08-10 17:33:59 +0200 | |
|---|---|---|
| committer | 2026-09-30 06:40:48 -0700 | |
| commit | 97818b2fa7082e940ddd36dab12a68615300e798 (patch) | |
| tree | ffeb3d493b93ca6c290151a4d6841a94d6c6f7e1 /scripts/Makefile.thinlto | |
| parent | KVM: SVM: Clear AVIC Physical ID table entry if vCPU creation fails (diff) | |
KVM: SEV: Fix page dirtying in sev_gmem_post_populate()
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().
Fixes: 97cd21d57e9b ("KVM: SEV: Mark source page dirty when writing back CPUID data on failure")
Cc: stable@vger.kernel.org
Signed-off-by: Jann Horn <jannh@google.com>
Link: https://patch.msgid.link/20260810-x86-kvm-setpagedirty-v1-1-85f180892d4f@google.com
[sean: tag for stable]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
