-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Xen Security Advisory CVE-2026-142564 / XSA-543 x86: insufficient grant unmapping checks for HVM domains ISSUE DESCRIPTION ================= Grants allow a domain to map pages of another domain, either read-only or writable. When an x86 HVM or PVH guest unmaps a grant, Xen checks that the address given by the guest holds a grant mapping of the right page, but not whether that mapping is the read-only or the writable one. A HVM/PVH domain which has the same page mapped both writable and read-only can therefore ask Xen to remove its writable mapping while naming the read-only one. Xen then no longer accounts for a writable mapping, but the guest still has it. This is the same problem that XSA-234 fixed for PV guests. IMPACT ====== A domain can retain an unaccounted writable mapping to a page. This can lead to privilege escalation, Denial of Service (DoS) affecting the entire host, and information leaks. VULNERABLE SYSTEMS ================== Xen versions 4.0 and onwards are vulnerable. Xen versions 3.4 and older are not vulnerable. Only x86 systems are vulnerable. Arm systems are not vulnerable. Only HVM and PVH domains can leverage the vulnerability. MITIGATION ========== There is no known mitigation. CREDITS ======= This issue was discovered by an automated scan run by AMD. RESOLUTION ========== Applying the attached patch resolves this issue. Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches. xsa543.patch xen-unstable - Xen 4.17.x $ sha256sum xsa543* 615a54b90403e655756fa984738097ee35e334550e7ce5a8e433fe8c8e77e5c4 xsa543.patch $ NOTE REGARDING LACK OF EMBARGO ============================== The issue was (also) reported in public. -----BEGIN PGP SIGNATURE----- iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmsR3RoMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZRq4H/2M0qRDDGj7UDLSmrnm7g+gUslArIzcNKl53asma XWqI31w2dQ6DknZMthHDBJvvorWUxEvcqpSNYqYKc6X4BZDfjfg8JozpHi9WBtLL 4FmmQ2cSv8HBj0TUmuDQIGryexxQGM8zICTlumOSCeFyZL9YcQ0hTjYyWWYi+TcW Lbjpw0AeLQZSwOdTf9aqVH1sMM6MuFe8iLjlIuDpxAIjl5H79O0BUuvPruuQ6leY 76biUX5No27HhXIOuJwJd5QYxzGEdqAk0cRm87/VopPhMb2VZ+O7B4cbnEsTg7x5 Fith5amVEHpvy2uv7vUy7Ao8kUwud3oFh+Xvnvpbf93nAkQ= =l8Fd -----END PGP SIGNATURE-----