Bugzilla – Bug 1192555
VUL-0: CVE-2021-28703: xen: grant table v2 status pages may remain accessible after de-allocation (take two) (XSA-387)
Last modified: 2024-05-28 12:13:30 UTC
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Xen Security Advisory CVE-2021-28703 / XSA-387 grant table v2 status pages may remain accessible after de-allocation (take two) *** EMBARGOED UNTIL 2021-11-23 12:00 UTC *** ISSUE DESCRIPTION ================= Guest get permitted access to certain Xen-owned pages of memory. The majority of such pages remain allocated / associated with a guest for its entire lifetime. Grant table v2 status pages, however, get de-allocated when a guest switched (back) from v2 to v1. The freeing of such pages requires that the hypervisor know where in the guest these pages were mapped. The hypervisor tracks only one use within guest space, but racing requests from the guest to insert mappings of these pages may result in any of them to become mapped in multiple locations. Upon switching back from v2 to v1, the guest would then retain access to a page that was freed and perhaps re-used for other purposes. This bug was fortuitously fixed by code cleanup in Xen 4.14, and backported to security-supported Xen branches as a prerequisite of the fix for XSA-378. IMPACT ====== A malicious guest may be able to elevate its privileges to that of the host, cause host or guest Denial of Service (DoS), or cause information leaks. VULNERABLE SYSTEMS ================== All Xen branches up to and including 4.13 are vulnerable, but only if the patches for XSA-378 have not been applied. Xen versions 4.13.4, 4.14.x and 4.15.x are not affected. Only x86 HMV and PVH guests permitted to use grant table version 2 interfaces can leverage this vulnerability. x86 PV guests cannot leverage this vulnerability. On Arm, grant table v2 use is explicitly unsupported. MITIGATION ========== Running only PV guests will avoid this vulnerability. Suppressing use of grant table v2 interfaces for HVM or PVH guests will also avoid this vulnerability. RESOLUTION ========== Applying the following patch resolves the issue: x86/p2m: don't assert that the passed in MFN matches for a remove This patch was supplied with XSA-378, as one of 378's prerequisites. The fix has already been applied to Xen stable branches as follows: c65ea16dbcafbe4fe21693b18f8c2a3c5d14600e in Xen 4.14.x, 4.15.x f50fbddbae81fcccae56d27317bd71cc0e678ba2 in Xen 4.13.4 d44643199c96ac22491ae002d3bcd1c989b95ea4 in xen.git#stable-4.12 66f400c71d12fe8adfb895984b14f2941e8cb6ce in xen.git#stable-4.11 DEPLOYMENT DURING EMBARGO ========================= Deployment of the patches and/or mitigations described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators. But: Distribution of updated software is prohibited (except to other members of the predisclosure list). Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team. (Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.) For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html -----BEGIN PGP SIGNATURE----- iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmGKtlUMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZi6kH/2waE4i/aq462576MTg5RkfmjD9zI8GRBJlNUGaP t5ewM8GZF7h1mi4y4JOvnNxpGmH2WvjWX2SPTvYBFdLGv5PnY/I2JdP2LJis85BW 68SHG8XrRjtxw6heSs06SijnKv5Cv8KU/hj6Px41G7E6IOEhGatmgB10/+wVvrqB Of052PDibj1EhaVPeVpoYjrv37ld4dm+DxxZYAvqpmJjCpThhW2+TZyqm/dj7eox VyzY9Vmcoc98mM/sHtpSzGP//C/D5apSUlrV/dohkllRL+9cTqigh26O+MKSVehS ADOcF98pqUfAMerdOR3hM4QhkO8tWGtpPm5+IiBx5tXNZ3k= =Eac/ -----END PGP SIGNATURE-----
(In reply to Gianluca Gabrielli from comment #0) > VULNERABLE SYSTEMS > ================== > > All Xen branches up to and including 4.13 are vulnerable, > but only if the patches for XSA-378 have not been applied. Hence no further action should be required here, i.e. I'd like to suggest to close this again right away.
(In reply to Jan Beulich from comment #3) > (In reply to Gianluca Gabrielli from comment #0) > > VULNERABLE SYSTEMS > > ================== > > > > All Xen branches up to and including 4.13 are vulnerable, > > but only if the patches for XSA-378 have not been applied. > > Hence no further action should be required here, i.e. I'd like to suggest to > close this again right away. You're almost correct, but I see there are missing submissions for CVE-2021-28694 (XSA-378) to the following packages: - SUSE:SLE-11-SP1:Update:Teradata/xen 4.0.3_21548_20 - SUSE:SLE-11-SP3:Update/xen 4.2.5_22 - SUSE:SLE-11-SP3:Update:Teradata/xen 4.2.5_26 - SUSE:SLE-11-SP4:Update/xen 4.4.4_48
is public
SUSE-SU-2021:14848-1: An update that fixes 17 vulnerabilities is now available. Category: security (moderate) Bug References: 1182654,1186013,1186429,1186433,1186434,1187369,1187376,1187378,1189150,1189376,1189378,1189632,1192526,1192554,1192555,1192559 CVE References: CVE-2021-0089,CVE-2021-20255,CVE-2021-28690,CVE-2021-28692,CVE-2021-28697,CVE-2021-28698,CVE-2021-28701,CVE-2021-28703,CVE-2021-28705,CVE-2021-28706,CVE-2021-28709,CVE-2021-3527,CVE-2021-3592,CVE-2021-3594,CVE-2021-3595,CVE-2021-3682,CVE-2021-3930 JIRA References: Sources used: SUSE Linux Enterprise Server 11-SP4-LTSS (src): xen-4.4.4_50-61.67.1 SUSE Linux Enterprise Debuginfo 11-SP4 (src): xen-4.4.4_50-61.67.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Done, closing.