CVE-2021-28709

Name
CVE-2021-28709
Description
issues with partially successful P2M updates on x86 T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] x86 HVM and PVH guests may be started in populate-on-demand (PoD) mode, to provide a way for them to later easily have more memory assigned. Guests are permitted to control certain P2M aspects of individual pages via hypercalls. These hypercalls may act on ranges of pages specified via page orders (resulting in a power-of-2 number of pages). In some cases the hypervisor carries out the requests by splitting them into smaller chunks. Error handling in certain PoD cases has been insufficient in that in particular partial success of some operations was not properly accounted for. There are two code paths affected - page removal (CVE-2021-28705) and insertion of new pages (CVE-2021-28709). (We provide one patch which combines the fix to both issues.)
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://xenbits.xenproject.org/xsa/advisory-389.txt
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I7ZGWVVRI4XY2XSTBI3XEMWBXPDVX6OT/
Third Party Advisory https://www.debian.org/security/2021/dsa-5017
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXUI4VMD52CH3T7YXAG3J2JW7ZNN3SXF/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:o:xen:xen:*:*:*:*:*:*:x86:* xen >= 3.4.0 <= 4.12.4
cpe:2.3:o:xen:xen:*:*:*:*:*:*:x86:* xen >= 4.13.0 <= 4.13.4
cpe:2.3:o:xen:xen:*:*:*:*:*:*:x86:* xen >= 4.14.0 <= 4.14.3
cpe:2.3:o:xen:xen:4.15.0:*:*:*:*:*:x86:* xen == None == 4.15.0
cpe:2.3:o:xen:xen:4.15.1:*:*:*:*:*:x86:* xen == None == 4.15.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
xen 3.14-main 4.15.1-r2 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.13-main 4.14.3-r2 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.12-main 4.13.4-r2 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
xen 3.11-main 4.13.4-r2 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
xen 3.15-main 4.15.1-r2 Natanael Copa <ncopa@alpinelinux.org> fixed