CVE-2021-28710 Privilege escalation in xen
Guests can write to leaf page table entries due to missing stripping in shared page tables, enabling privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-28710?
CVE-2021-28710 is a high-severity vulnerability in Fedoraproject Fedora, published on 21 Nov 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
certain VT-d IOMMUs may not work in shared page table mode For efficiency reasons, address translation control structures (page tables) may (and, on suitable hardware, by default will) be shared between CPUs, for second-level translation (EPT), and IOMMUs. These page tables are presently set up to always be 4 levels deep. However, an IOMMU may require the use of just 3 page table levels. In such a configuration the lop level table needs to be stripped before inserting the root table's address into the hardware pagetable base register. When sharing page tables, Xen erroneously skipped this stripping. Consequently, the guest is able to write to leaf page table entries.
Weakness: CWE-269
Which versions are affected by CVE-2021-28710?
It affects 2 products.
Products include Fedoraproject Fedora, Xen Xen.
How do I fix CVE-2021-28710?
Apply the vendor's patch.
Is CVE-2021-28710 being exploited?
There is no known exploitation of CVE-2021-28710 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2021-28710, GHSA-ccqw-rpfw-2m25.