Linux
KVM: SEV: Fix page dirtying in sev_gmem_post_populate()
In the Linux kernel, the following vulnerability has been resolved: 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(). [sean: tag for stable]
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 97cd21d57e9bd2da79845178d9250cfd19289cd4, < 184382f9852d433af21de96c334ecf43b8414ed8
- >= 97cd21d57e9bd2da79845178d9250cfd19289cd4, < 97818b2fa7082e940ddd36dab12a68615300e798
Fixed in 184382f9852d433af21de96c334ecf43b8414ed8, 97818b2fa7082e940ddd36dab12a68615300e798
- 7.2
Fixed in 0, 7.2.13, 7.3
Mitigation
Upgrade Linux to 184382f9852d433af21de96c334ecf43b8414ed8 or 97818b2fa7082e940ddd36dab12a68615300e798 or later.
Upgrade Linux to 0 or 7.2.13 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.