Privilege escalation in Xen
CVE-2021-28702
PCI devices with RMRRs not deassigned correctly Certain PCI devices in a system might be assigned Reserved Memory Regions (specified via Reserved Memory Region Reporting, "RMRR"). These are typically used for platform tasks such as legacy USB emulation. If such a device is passed through to a guest, then on guest shutdown the device is not properly deassigned. The IOMMU configuration for these devices which are not properly deassigned ends up pointing to a freed data structure, including the IO Pagetables. Subsequent DMA or interrupts from the device will have unpredictable behaviour, ranging from IOMMU faults to memory corruption.
Vulnerability class: Privilege Escalation
EPSS: 0.004 (35.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Xen — versions unspecified, 4.12.x, next of xen-unstable
- Debian Debian_linux — versions 9.0
- Fedoraproject Fedora — versions 33, 34, 35
Weakness classification (CWE)
References
- security@xen.org (x_refsource_MISC, Vendor Advisory)
- security@xen.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
- security@xen.org (x_refsource_FEDORA, vendor-advisory)
- security@xen.org (x_refsource_FEDORA, vendor-advisory)
- security@xen.org (x_refsource_FEDORA, vendor-advisory)
- security@xen.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
- security@xen.org (vendor-advisory, Third Party Advisory, x_refsource_GENTOO)
Frequently asked questions
- What is CVE-2021-28702?
- CVE-2021-28702 is a high-severity vulnerability in Xen, classified under Improper Privilege Management. CVSS score: 7.6/10. Published 2021-10-06.
- How severe is CVE-2021-28702?
- High severity. CVSS v3 base score is 7.6 out of 10.