Xen Test Framework
XSA-444

Advisory: XSA-444

This is for CVE-2023-34328 only.

Xen has a per-domain mapping area, containing the live GDT/LDTs. On Xen 4.13 and earlier, the Compat Translate Area (XLAT) is adjacent to the GDT/LDTs.

The XLAT area isn't used by 64bit PV guests, but it is present in the memory map, which is common to all guest types. The XLAT area is used by 32bit PV guests, but they can't set a breakpoint address above 4G, and therefore can't mount the attack.

Prior to the XSA-444 fix, Xen allowed PV guests to place breakpoints on the XLAT area. Combined with the AMD DBEXT extension, a breakpoint in the XLAT area can be widened to cover the live GDT too.

This results in one of two behaviours, both of which are fatal to Xen.

See also
tests/xsa-444/main.c