THREATINT

We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Fathom (Privacy friendly web analytics)
Zendesk (Helpdesk and Chat)

Ok

Home | EN
Support
CVE
PUBLISHED

CVE-2024-26990

KVM: x86/mmu: Write-protect L2 SPTEs in TDP MMU when clearing dirty status

AssignerLinux
Reserved2024-02-19
Published2024-05-01
Updated2024-06-14

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Write-protect L2 SPTEs in TDP MMU when clearing dirty status Check kvm_mmu_page_ad_need_write_protect() when deciding whether to write-protect or clear D-bits on TDP MMU SPTEs, so that the TDP MMU accounts for any role-specific reasons for disabling D-bit dirty logging. Specifically, TDP MMU SPTEs must be write-protected when the TDP MMU is being used to run an L2 (i.e. L1 has disabled EPT) and PML is enabled. KVM always disables PML when running L2, even when L1 and L2 GPAs are in the some domain, so failing to write-protect TDP MMU SPTEs will cause writes made by L2 to not be reflected in the dirty log. [sean: massage shortlog and changelog, tweak ternary op formatting]

Product status

Default status
unaffected

5982a5392663 before cdf811a93747
affected

5982a5392663 before e20bff0f1b2d
affected

5982a5392663 before 2673dfb591a3
affected

Default status
affected

6.4
affected

Any version before 6.4
unaffected

6.6.29
unaffected

6.8.8
unaffected

6.9
unaffected

References

https://git.kernel.org/stable/c/cdf811a937471af2d1facdf8ae80e5e68096f1ed

https://git.kernel.org/stable/c/e20bff0f1b2de9cfe303dd35ff46470104a87404

https://git.kernel.org/stable/c/2673dfb591a359c75080dd5af3da484b89320d22

cve.org CVE-2024-26990

nvd.nist.gov CVE-2024-26990

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-26990
© Copyright 2024 THREATINT. Made in Cyprus with +