[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PULL 00/21] xen queue



On 30/11/26 15:35, David Woodhouse wrote:
From: David Woodhouse <dwmw@xxxxxxxxxxxx>

The following changes since commit 9cda597a1a3903d090e8e55e23f5b8a859da88ab:

   Merge tag 'pbouvier/pr/fixes_11.2-20261127' of https://gitlab.com/p-b-o/qemu 
into staging (2026-11-29 13:42:36 -0800)

are available in the Git repository at:

   git://git.infradead.org/users/dwmw2/qemu.git tags/pull-xen-20261130-1

for you to fetch changes up to 48dd923e01abb4afd56dda31596455df5c5888a6:

   hw/i386/kvm/xen_evtchn: Allow unmapping an emulated MSI PIRQ (2026-11-30 
13:50:20 +0000)

----------------------------------------------------------------
KVM/Xen fixes for 11.2

Round up a bunch of open tickets in time for the 11.2 release. As noted in
https://lore.kernel.org/all/20261124232247.23169-1-dwmw2@xxxxxxxxxxxxx/ I
used AI for almost all of this. I was hoping the policy change would go in

Should these use the AI-used-for: tag?

first, but I'm offering these for inclusion in time for 11.2 anyway.

Most notably, this fixes:

  • CVE-2026-61403: xen_xenstore get_req() copies a full header length
    regardless of how much was already consumed, so a guest feeding the
    header in two parts overshoots req_offset and the next length
    calculation underflows: a guest-controlled linear heap overwrite.
  • CVE-2026-123069: the per-vCPU Xen timers survive ACPI ejection of
    their vCPU, with the freed CPUState as the callback opaque.
  • CVE-2026-123070: PHYSDEVOP_eoi and irq_status_query index the PIRQ
    tables with no bounds check (OOB read).
  • CVE-2026-123071: the xen-console output trim underflows when the
    frontend sets a small enough 'limit' — up to ~2 KiB of
    guest-controlled bytes written *before* the buffer.
  • CVE-2026-123072: xen-9p-backend re-reads the guest's ring indices
    after validating the request, so the iovecs can reach up to 1 MiB
    past the end of the ring mapping (OOB read, disclosable via Twrite).
  • CVE-2026-123074: grant copy segments weren't validated against the
    page size. I don't believe this one is guest-reachable in-tree
    (xen-block already bounds its segments), so this is hardening to
    match Xen's GNTST_bad_copy_arg.

----------------------------------------------------------------
David Woodhouse (21):
       hw/xen: Fix partial request header handling in emulated XenStore
       i386/xen: Don't resample GSI when per-vCPU upcall vector is in use
       i386/xen: Free Xen vCPU timers when a vCPU is destroyed
       hw/xen: Publish backend features before setting state to InitWait
       hw/i386/kvm/xen_gnttab: Fix error handling in xen_be_gnttab_map_refs()
       hw/xen: Validate grant copy segments against the page size
       hw/i386/kvm/xen_evtchn: Validate PIRQ numbers in physdev operations
       hw/i386/kvm/xen_evtchn: Fix off-by-one in do_remove_pci_vector()
       i386/xen: Don't inject event on invalid port in qmp_xen_event_inject()
       hw/i386/kvm/xen_evtchn: Reuse existing backend port in find_be_port()
       hw/i386/kvm/xen: Don't leak gnttab handle on reset
       hw/i386/kvm/xen_xenstore: Apply offset before truncation in 
xs_append_strings()
       hw/char/xen_console: Fix buffer trim when size exceeds twice the limit
       hw/9pfs/xen-9p-backend: Use validated snapshot for request iovecs
       hw/9pfs/xen-9p-backend: Validate the request header size field
       hw/9pfs/xen-9p-backend: Validate frontend-supplied connect parameters
       hw/9pfs/xen-9p-backend: Close event channel handle on disconnect
       hw/net/xen_nic: Bound the TX and RX rings' producer index
       hw/xen: Bound the rep count of PIO and MMIO ioreqs
       hw/i386/kvm/xen_evtchn: Hold port_lock for whole of bind_pirq_op
       hw/i386/kvm/xen_evtchn: Allow unmapping an emulated MSI PIRQ




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.