Skip to content
Vulnerability Memory corruption CVE-2026-119781CVE-2026-119782CVE-2026-119783

Xen XSA-535: page-freeing and p2m flush ordering flaw (CVE-2026-119781, CVE-2026-119782, CVE-2026-119783)

Xen advisory XSA-535 describes a flaw in x86 HVM and PVH guests using HAP where pages can be freed before a p2m TLB flush.

Reported by oss-security

First reported Summary updated

Read the coverage
Public PoC
Not known
Exploited
Not known
Severity
Not rated

What happened

Xen defers the TLB flush after a p2m change until the p2m lock is released, so multiple changes under the same lock issue one flush.1

Some paths that remove a page from the p2m drop the last reference to the page before that flush happens.1

The page is then freed and can be reused while stale TLB entries still let the guest access it.1

A guest can keep access to memory it no longer owns, leading to privilege escalation, host-wide denial of service and information leaks.1

Who is affected

  • Xen, 4.7 and onwards; on AMD hardware only 4.22 and onwards1
  • Xen on x86, x86 systems only; Arm not vulnerable1
  • Xen HVM and PVH guests using HAP1

Is there a public exploit?

Not known None of the sources mentions public exploit code yet.

Exploited in the wild?

Not known None of the sources reports attacks using it so far.

What to do

  • Apply the attached patches for the relevant stable branch; downstreams are encouraged to update to the tip of the stable branch first.1

For bug hunters

This is a memory-management ordering bug: a page is freed before the TLB flush that should invalidate guest mappings, leaving stale translations usable. Similar use-after-free and stale-TLB patterns appear in hypervisors, kernel drivers and any code that batches TLB or cache invalidation under a lock. Look for paths where object teardown or reference dropping happens before the deferred invalidation completes. Test with concurrent mapping changes and memory reuse to see whether freed pages remain reachable.

What to test

  • Exercise p2m or page-table updates concurrently with page freeing and check for stale mappings.
  • Look for deferred TLB or cache flush logic where references are dropped before invalidation.
  • Test whether freed pages can be reallocated and still accessed through old translations.
  • Review lock-scoped batching of invalidation for ordering mistakes around object teardown.

The Memory corruption lesson Every Memory corruption report

Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.

Coverage

The article this story is based on. Each headline opens the outlet's own article.

  1. 1

    oss-security

    Xen Security Advisory 535 v1 (CVE-2026-119781,CVE-2026-119782,CVE-2026-119783) - x86: Incorrect ordering of page-freeing and p2m flush
    “For HVM and PVH guests using HAP, Xen defers the TLB flush that follows a p2m change until the p2m lock is released, so that…”

Reports about Memory corruption

View all

Disclosed reports of the same bug class, clearest first.

More news

View all

Other stories from the last month, Memory corruption first.