RepoJournal
Linux

Linux

The kernel, distros, and the rigs of the moment

Keep up with Linux in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Infrastructure Full archive →

The Wire · Showcase

KVM SHADOW PAGING USE-AFTER-FREE CLOSES 16-YEAR-OLD HOLE

By RepoJournal · Filed · About Linux

The kernel patched a critical use-after-free in KVM's x86 shadow MMU that has been exploitable since the first KVM series shipped — a bug that only surfaces when guest page tables change between VM entries.

Paolo Bonzini merged three x86 KVM fixes overnight that address a cascade of interrupt and memory management bugs [2]. The most severe is the shadow paging use-after-free [1], which stems from a fundamental assumption break: the shadow MMU calculates guest frame numbers using the shadow page's base GFN plus the SPTE index, but this math fails when guest page tables are modified mid-execution. The same batch fixes nested EPT/NPT hypercall validation [3] that could allow L2 guests to invoke slow flush operations when nested paging isn't enabled, and corrects the IRR interrupt reporting logic [4] [5] that was silently dropping pending interrupts during nested VM stress tests. These are production-critical fixes — the shadow paging bug alone has had 16 years to spread, and the interrupt reporting flaw causes hard-to-debug warning cascades in nested virtualization setups.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] KVM: x86: Fix shadow paging use-after-free due to unexpected GFN torvalds/linux
  2. [2] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm torvalds/linux
  3. [3] KVM: x86: check for nEPT/nNPT in slow flush hypercalls torvalds/linux
  4. [4] KVM: x86: Fix misleading variable names and add more comments for PIR=>IRR flow torvalds/linux
  5. [5] KVM: x86: Do IRR scan in __kvm_apic_update_irr even if PIR is empty torvalds/linux

Quick answers

What shipped in Linux on May 4, 2026?
The kernel patched a critical use-after-free in KVM's x86 shadow MMU that has been exploitable since the first KVM series shipped — a bug that only surfaces when guest page tables change between VM entries. In total, 43 commits and 9 pull requests landed.
What were the notable Linux updates?
KVM: x86: Fix shadow paging use-after-free due to unexpected GFN, Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm, and KVM: x86: check for nEPT/nNPT in slow flush hypercalls.

More from Linux

Daily updates, in your inbox

Follow Linux

Keep up with Linux in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?