QEMU Xen fixes close six guest-exploitable flaws before 11.2
David Woodhouse also said he used AI for almost all of the series, and asked that it land before a disclosure policy change.
A batch of KVM Xen fixes headed for QEMU 11.2 closes six security flaws in the emulated Xen interfaces, several of which a guest can turn into memory corruption or a leak of host memory. David Woodhouse, who maintains the code, sent the series for the release and said he had used AI for almost all of it. He had hoped a project policy change on that practice would land first, and offered the fixes anyway so they would not miss 11.2.
The most serious item, CVE-2026-61403, is in the emulated XenStore. If a guest feeds a request header in two pieces, QEMU copies a full header's worth of data without accounting for what it already consumed, then underflows a length calculation. The result is a guest-controlled linear overwrite of the heap. CVE-2026-123069 leaves per-vCPU Xen timers alive after ACPI ejects the vCPU, so a later callback runs against a freed CPU state. CVE-2026-123070 is an out-of-bounds read: end-of-interrupt and interrupt-status queries index the physical IRQ tables with no bounds check. CVE-2026-123071 is in the Xen console: a small enough output limit makes a trim calculation underflow, and up to about 2 KiB of guest-controlled data is written before the buffer. CVE-2026-123072 is in the Xen 9p backend, which re-reads the guest's ring indices after validating a request, so I/O vectors can reach up to 1 MiB past the ring mapping. That out-of-bounds read can be disclosed back to the guest through a write. A sixth issue, CVE-2026-123074, is grant-copy segments that were not checked against the page size. Woodhouse wrote that he does not believe this one is reachable by a guest in tree, because the Xen block backend already bounds its segments, and treated it as hardening to match Xen.
The same series also fixes crashes and silent misbehavior that are not assigned CVEs. QEMU's interrupt resampling could reassert a legacy callback line for an event that the guest was already receiving through a per-vCPU upcall vector. Xen itself never does that, and the double delivery has crashed Windows guests on another hypervisor that implements the same logic. Grant-table mapping could trip an assertion if the target page failed to map, and could upgrade a mapping to writable over read-only memory. A scan that drops PCI interrupt bindings could skip the first IRQ of the next word and leave a stale device binding after the device was removed.
Hui Peng reported several of the non-CVE defects, and the physical-IRQ bounds check was also reported by bubblehuntr. Paul Durrant reviewed the fixes.
On the QEMU development list, Philippe Mathieu-Daudé asked whether the commits should carry an AI-used-for tag. Woodhouse said he would repost if that is what the new policy requires, but noted that Linux has already moved away from such tags: "Patches should be reviewed on their own merit, and the contributor who signs them off should understand them, regardless of which tools we've used when working on them."
Michael Tokarev asked which of the 21 changes should stay out of the active stable series. Woodhouse said a lock-ordering change that only silences a Coverity false positive could be left out, that three other changes Tokarev had flagged fix real bugs, and that he would be inclined to take the lot.