|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PULL 00/21] xen queue
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 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 hw/9pfs/xen-9p-backend.c | 65 +++++++++++++++++++++------------------ hw/char/xen_console.c | 20 ++++++++---- hw/i386/kvm/xen_evtchn.c | 58 ++++++++++++++++++++++------------ hw/i386/kvm/xen_gnttab.c | 22 +++++++++++-- hw/i386/kvm/xen_primary_console.c | 3 ++ hw/i386/kvm/xen_xenstore.c | 31 +++++++++++-------- hw/net/xen_nic.c | 9 +++++- hw/xen/xen-bus.c | 16 +++++++++- hw/xen/xen-hvm-common.c | 19 ++++++++++-- hw/xen/xen-operations.c | 11 +++++++ target/i386/kvm/kvm.c | 6 ++++ target/i386/kvm/xen-emu.c | 43 ++++++++++++++++++++++++-- target/i386/kvm/xen-emu.h | 1 + 13 files changed, 228 insertions(+), 76 deletions(-)
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |