libvirt: Update to version 12.10.0
Commit Message
- Update from version 12.9.0 to 12.10.0
- Update of rootfile
- There are 4 security fixes but only one has a CVE ID
- Changelog
12.10.0
* **Security**
* CVE-2026-119151: Pre-auth NULL-deref crash via out-of-order SASL RPC
If a malicious client skips the SASL_START step and calls SASL_INIT
followed by SASL_STEP then both ``libvirtd`` and/or ``virtproxyd`` would
crash.
This can be triggered via RPC without any authentication.
* remote: Check if ``pageSizes`` and ``pageCounts`` are the same length in ``remoteDispatchNodeAllocPages()``
The ``virNodeAllocPages()`` API expects two arrays of the same length. But
a malicious client can send arrays of different lengths at RPC layer
causing the daemon to access unallocated memory, possibly leading to a crash.
* conf: Allow only one ``<cell/>`` in ``virDomainNumaDefParseXML()``
Specially crafted XML where guest NUMA nodes are duplicated, but with
different ``<cache/>`` specified, would cause libvirt to crash upon parsing
the XML.
* **New features**
* qemu: support generic PCIe switch ports
The ``pcie-switch-upstream-port`` and ``pcie-switch-downstream-port``
controllers now use QEMU's generic ``pcie-upstream-port`` and
``pcie-downstream-port`` devices by default, if available, instead of the
``x3130-upstream`` and ``xio3130-downstream`` devices, which are limited to
a 2.5 GT/s x1 link. Existing domains are unaffected.
* qemu: configurable PCIe link speed and width
The new ``speed`` and ``width`` attributes of the ``<target>`` element of
``pcie-root-port``, ``pcie-switch-upstream-port``, and
``pcie-switch-downstream-port`` controllers set the PCIe link speed and
width reported to the guest. This allows the apparent bandwidth of a
passed-through device to match the host hardware.
* Introduce ``VIR_DOMAIN_EVENT_STOPPED_REBOOT`` event detail
A new ``VIR_DOMAIN_EVENT_STOPPED_REBOOT`` detail is now available for use
with the ``VIR_DOMAIN_EVENT_STOPPED`` lifecycle event. Drivers may use it
to indicate a domain has stopped as part of a reboot request.
* qemu: support advanced Intel IOMMU configuration options
The QEMU driver can now configure scalable mode, first-stage
translation, PASID width, and Shared Virtual Memory (SVM) for the Intel
IOMMU model. This is controlled via the new ``scalable_mode``, ``fsts``,
``pasid_bits``, and ``svm`` attributes of the ``<driver>`` element.
* qemu: Support vfio-pci per-device ATS attribute
Support the ``vfio-pci`` ATS attribute that can be used to control exposing
or masking a ``vfio-pci`` device's ATS extended capability in the PCIe
config space within the guest.
* conf: Fix race that stops all event delivery until daemon restart
Due to a locking issue, events delivery would be blocked if one thread
emitted an event while another thread deregistered events. This is now fixed.
* util: skip USB devices with an inaccessible device node
In some containers, the sysfs is bind mounted from the host and thus when
libvirt searches for a USB device it may be found (under
``/sys/bus/usb/devices/``, but corresponding devfs representation may be
missing (``/dev/bus/usb/``). This made libvirt not drop disks/host devices
with ``startupPolicy='optional'`` but QEMU unable to open them. Libvirt now
checks that device is accessible via both paths.
* **Improvements**
* bhyve: disk configuration improvements
AHCI and virtio-blk disks now accept ``<disk type='block'>`` configurations.
SATA, virtio-blk, and NVMe disks now support ``discard='ignore'`` and
logical/physical block sizes configured through ``<blockio/>``.
NVMe disks also support boot order configuration.
Also, ``<readonly/>`` is now respected for AHCI, NVMe, and virtio-blk disks.
AHCI, virtio-blk, virtio-scsi, and NVMe devices now use the configured
PCI function instead of always using function zero.
* bhyve: honor network MTU configuration
Interface MTU settings now configure the SLIRP backend or bridge-connected
TAP interface.
* **Bug fixes**
* bhyve: handle unexpected signal exits
Processes terminated by signals such as ``SIGKILL`` are now recognized as crashed,
allowing domain state and resources to be cleaned up instead of leaving
the domain reported as running.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/packages/libvirt | 9 +++++----
lfs/libvirt | 6 +++---
2 files changed, 8 insertions(+), 7 deletions(-)
@@ -100,16 +100,16 @@ usr/bin/virt-xml-validate
#usr/lib/libvirt
#usr/lib/libvirt-admin.so
usr/lib/libvirt-admin.so.0
-usr/lib/libvirt-admin.so.0.12009.0
+usr/lib/libvirt-admin.so.0.12010.0
#usr/lib/libvirt-lxc.so
usr/lib/libvirt-lxc.so.0
-usr/lib/libvirt-lxc.so.0.12009.0
+usr/lib/libvirt-lxc.so.0.12010.0
#usr/lib/libvirt-qemu.so
usr/lib/libvirt-qemu.so.0
-usr/lib/libvirt-qemu.so.0.12009.0
+usr/lib/libvirt-qemu.so.0.12010.0
#usr/lib/libvirt.so
usr/lib/libvirt.so.0
-usr/lib/libvirt.so.0.12009.0
+usr/lib/libvirt.so.0.12010.0
#usr/lib/libvirt/connection-driver
usr/lib/libvirt/connection-driver/libvirt_driver_ch.so
usr/lib/libvirt/connection-driver/libvirt_driver_interface.so
@@ -498,6 +498,7 @@ usr/share/libvirt/schemas/sysinfocommon.rng
#usr/share/locale/ka/LC_MESSAGES/libvirt.mo
#usr/share/locale/kn/LC_MESSAGES/libvirt.mo
#usr/share/locale/ko/LC_MESSAGES/libvirt.mo
+#usr/share/locale/lv/LC_MESSAGES/libvirt.mo
#usr/share/locale/mk/LC_MESSAGES/libvirt.mo
#usr/share/locale/ml/LC_MESSAGES/libvirt.mo
#usr/share/locale/mr/LC_MESSAGES/libvirt.mo
@@ -26,7 +26,7 @@ include Config
SUMMARY = Server side daemon and supporting files for libvirt
-VER = 12.9.0
+VER = 12.10.0
THISAPP = libvirt-$(VER)
DL_FILE = $(THISAPP).tar.xz
@@ -35,7 +35,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
SUP_ARCH = x86_64 aarch64
PROG = libvirt
-PAK_VER = 49
+PAK_VER = 50
DEPS = ebtables libpciaccess ovmf swtpm qemu
@@ -49,7 +49,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = dd74564fe7d60fe52d0f6889f04ed75cb584fe4d18cdd11ae36271aec38a2e315b013d16c108ded9981ee4a80d082fe171330cbfe62755c5489eab2052f393d4
+$(DL_FILE)_BLAKE2 = d67f8667ae43792592f23368a63c4908c5790e25a1ce9ff618e47802a5296aeefad3610776543c6ac310d109ce06a6ace3db538f043c50933d9b8ae48b17674f
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))