DistroNews

The week in Linux, gathered from the distributions' own feeds

Qubes OS News

QSB-125: Incorrect ordering of page-freeing and p2m flush (XSA-535)

qubes-os.org

Key points

The Qubes security team has published QSB-125, covering Xen's XSA-535: on x86 hosts, Xen can free a page before flushing stale TLB entries, so a guest may still reach memory that has already been handed back for reuse. A fix for Qubes 4.3 is available through the usual update path.

The vulnerability

  • The Xen Project disclosed XSA-535, "x86: Incorrect ordering of page-freeing and p2m flush", on 2026-11-26 under CVE-2026-119781, CVE-2026-119782 and CVE-2026-119783.
  • For HVM and PVH guests running with HAP, Xen postpones the TLB flush after a p2m change until the p2m lock is released, so that several changes share one flush.
  • Some code paths that remove a page from the p2m release the last reference to it before that flush. The page is freed and can be reused while the guest can still reach it through stale TLB entries.

Who is affected

  • Every supported Qubes OS release is affected, but only on Intel hardware.
  • A compromised PVH or HVM qube could try to exploit the flaw to take over other qubes, dom0 included.

Fixed packages

  • Qubes 4.3, dom0: Xen packages version 4.19.6-6.
  • The packages are in the security-testing repositories first and move to the current (stable) repositories after community testing. This usually takes one to two weeks, sooner in urgent cases.
  • Security-testing is off by default in dom0 and in templates. It can be enabled for a single update or permanently, and dom0, templates and standalones each have their own testing repository that is enabled separately.
  • Without security-testing enabled, users have to wait for the packages to reach the stable repositories.

What to do

  • Update as usual with the Qubes Update tool or its command-line equivalents.
  • Restart dom0 after installing the new Xen packages, or the fix does not take effect.
  • Anti Evil Maid users must reseal their secret passphrase to the new PCR values, because PCR18 and PCR19 change whenever the Xen binaries are updated.

Verifying the bulletin

  • The QSB is signed by Marek Marczykowski-Górecki and by Simon Gaiser (HW42). The signed text and signatures are in the qubes-secpack repository and are also reproduced in the post.
  • The procedure assumes a Linux system with git and gpg. Fetch the Qubes Master Signing Key, check its fingerprint, and authenticate it out-of-band against several independent sources before trusting it.
  • Inside gpg --edit-key, use fpr to show the fingerprint. Once satisfied, use trust to set level 5 (ultimate), then q to quit.
  • Then clone qubes-secpack, import its keys, verify the signed Git tag, and verify both signatures from the QSBs/ directory. Each check should end with a line starting "gpg: Good signature from" followed by a suitable key.
gpg --fetch-keys https://keys.qubes-os.org/keys/qubes-master-signing-key.asc
gpg --edit-key 0x427F11FD0FAA4B080123F01CDDFA1A3E36879494
git clone https://github.com/QubesOS/qubes-secpack.git
gpg --import qubes-secpack/keys/*/*
cd qubes-secpack/
git tag -v `git describe`
cd QSBs/
gpg --verify qsb-125-2026.txt.sig.marmarek qsb-125-2026.txt
gpg --verify qsb-125-2026.txt.sig.simon qsb-125-2026.txt
  • The expected master key fingerprint is 427F 11FD 0FAA 4B08 0123 F01C DDFA 1A3E 3687 9494.
  • Alternatively, save the QSB text and both signatures from the post into plain text files and run the same checks on them.

Summary by DistroNews, based on the original post.

The full text is on the original page.

Read the original at qubes-os.org