grant table v2 status pages may remain accessible after de-allocation 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.

References[email protected]/message/FZCNPSRPGFCQRYE2BI4D4Q4SCE56ANV2/[email protected]/message/LPRVHW4J4ZCPPOHZEWP5MOJT7XDGFFPJ/[email protected]/message/2VQCFAPBNGBBAOMJZG6QBREOG5IIDZID/


Source: MITRE

Published: 2021-08-27

Updated: 2022-09-28

Type: CWE-362

Risk Information


Base Score: 4.6

Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 3.9

Severity: MEDIUM


Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1.8

Severity: HIGH