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
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.004, 38.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Xen — versions unspecified, 4.12.x, next of xen-unstable
- Debian Linux — versions 9.0
- Fedoraproject Fedora — versions 33, 34, 35
Weakness classification (CWE)
References
- xenbits.xenproject.org/xsa/advisory-386.txt (Vendor Advisory)
- [oss-security] 20211007 Xen Security Advisory 386 v2 (CVE-2021-28702) - PCI devices with RMRRs not deassigned correctly (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2021-80bbe7def0 (vendor-advisory)
- FEDORA-2021-0b7a484688 (vendor-advisory)
- FEDORA-2021-829f5f2f43 (vendor-advisory)
- DSA-5017 (vendor-advisory, Third Party Advisory)
- GLSA-202208-23 (vendor-advisory, Third Party Advisory)