Skip to content
OpenAdvisories
High ELSA-2022-9668 1 CVE

Important: libvirt libvirt-python security update (Oracle Linux 7)

Published Aug 1, 2022 · Updated Aug 1, 2022

Summary

libvirt
[5.7.0-34.el7]
- qemu: blockcopy: Allow late opening of the backing chain of a shallow copy (Peter Krempa) [Orabug: 33091019]
- qemu: capabilities: Introduce QEMU_CAPS_BLOCKDEV_SNAPSHOT_ALLOW_WRITE_ONLY (Peter Krempa) [Orabug: 33091019]
- qemuDomainBlockCopyCommon: Record updated flags to block job (Peter Krempa) [Orabug: 33091019]
- qemuDomainBlockPivot: Move check prior to executing the pivot steps (Peter Krempa) [Orabug: 33091019]
- qemuDomainBlockPivot: Copy bitmaps backing checkpoints for virDomainBlockCopy (Peter Krempa) [Orabug: 33091019]
- qemu: block: Introduce function to calculate bitmap handling for block-copy (Peter Krempa) [Orabug: 33091019]
- qemu: block: Add validator for bitmap chains accross backing chains (Peter Krempa) [Orabug: 33091019]
- qemu: blockjob: Store 'flags' for all the block job types (Peter Krempa) [Orabug: 33091019]
- qemu: blockjob: Store 'jobflags' with block job data (Peter Krempa) [Orabug: 33091019]
- util: json: Introduce virJSONValueArrayConcat (Peter Krempa) [Orabug: 33091019]
- qemu: block: Extract calls of qemuBlockGetNamedNodeData into a helper function (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Track and relabel images for bitmap merging (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Introduce support for deleting checkpoints accross snapshots (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Extract calculation of bitmap merging for checkpoint deletion (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Introduce helper to find checkpoint disk definition in parents (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: tolerate missing disks on checkpoint deletion (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Use disk definition directly when creating checkpoint (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: rename disk->chkdisk in qemuCheckpointAddActions (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: rename disk->chkdisk in qemuCheckpointDiscardBitmaps (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: split out checkpoint deletion bitmaps (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Store whether deleted checkpoint is current in a variable (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Extract and export rollback of checkpoint metadata storing (Peter Krempa) [Orabug: 33091019]
- qemu: block: Introduce qemuBlockNamedNodeDataGetBitmapByName (Peter Krempa) [Orabug: 33091019]
- qemu: snapshot: Propagate active bitmaps through external snapshots (Peter Krempa) [Orabug: 33091019]
- qemu: monitor: Add 'granularity' parameter for block-dirty-bitmap-add (Peter Krempa) [Orabug: 33091019]
- qemu: snapshot: Fold formatting of snapshot transaction into prepare func (Peter Krempa) [Orabug: 33091019]
- qemu: Check for explicit failure of qemuBlockSnapshotAddBlockdev (Peter Krempa) [Orabug: 33091019]
- qemu: monitor: Extract internals of qemuMonitorJSONBlockGetNamedNodeData (Peter Krempa) [Orabug: 33091019]
- qemu: monitor: Extract data about dirty-bimaps in qemuMonitorBlockGetNamedNodeData (Peter Krempa) [Orabug: 33091019]
- qemu: block: enable the snapshot image deletion feature (Pavel Mores) [Orabug: 33091019]
- qemu: block: propagate the delete flag to where it can actually be used (Pavel Mores) [Orabug: 33091019]
- qemu: checkpoint: fix NULL dereference at create time (Cole Robinson) [Orabug: 33091019]
- qemu: snapshot: Mark file becoming backingStore as read-only (Peter Krempa) [Orabug: 33091019]
- util: consolidate on one free callback for hash data (Daniel P. Berrange) [Orabug: 33091019]
- conf: stop using hash key when free'ing hash entries (Daniel P. Berrange) [Orabug: 33091019]
- qemu: checkpoint: Use qemuMonitorTransactionBitmapMergeSourceAddBitmap (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Fix rollback and access to unlocked 'vm' when deleting checkpoints (Peter Krempa) [Orabug: 33091019]
- qemu: snapshot: split out preparation of a snapshot with blockdev (Peter Krempa) [Orabug: 33091019]
- qemu: monitor: Add helper for generating data for block bitmap merging (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Extract finalizing steps of checkpoint creation (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Split out checkpoint creation code (Peter Krempa) [Orabug: 33091019]
- qemu: block: Don't query monitor in qemuBlockStorageSourceCreateDetectSize (Peter Krempa) [Orabug: 33091019]
- qemu: monitor: Introduce new interface to query-named-block-nodes (Peter Krempa) [Orabug: 33091019]
- util: hash: Introduce virHashHasEntry (Peter Krempa) [Orabug: 33091019]
- util: hash: Add new constructor 'virHashNew' (Peter Krempa) [Orabug: 33091019]
- util: hash: Add possibility to use simpler data free function in virHash (Peter Krempa) [Orabug: 33091019]
- conf: Introduce virDomainDiskByTarget (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Don't update current checkpoint until we are done (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Replace open-coded transaction action generators (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Refactor cleanup in qemuCheckpointCreateXML (Peter Krempa) [Orabug: 33091019]
- qemu: domain: Move checkpoint related code to qemu_checkpoint.c (Peter Krempa) [Orabug: 33091019]
- qemu: driver: Move checkpoint-related code to qemu_checkpoint.c (Peter Krempa) [Orabug: 33091019]
- qemu: Move, rename and export qemuDomObjFromDomain (Peter Krempa) [Orabug: 33091019]
- qemu: checkpoint: Don't forbid checkpoint when VM is marked for autodestroy (Peter Krempa) [Orabug: 33091019]
- Prepare to hotplug vNUMA targets for non-X86_64 guests (Wim ten Have) [Orabug: 34256070]
- qemu: Add missing lock in qemuProcessHandleMonitorEOF (Peng Liang) [Orabug: 34210159] {CVE-2021-3975}
- libvirt: Fix Auto host partitioning threads under single-socket hosts (Wim ten Have) [Orabug: 34153152]

libvirt-python
[5.7.0-34.el7]
- libvirt-python.spec: Bump 'Obsoletes' version number for libvirt-python (Karl
Heubaum) [Orabug: 34185868]

Fixed packages 33

ReleasePackageFixed in
Oracle Linux · 7 libvirt 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-admin 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-bash-completion 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-client 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-config-network 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-config-nwfilter 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-interface 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-lxc 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-network 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-nodedev 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-nwfilter 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-qemu 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-secret 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-storage 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-storage-core 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-storage-disk 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-storage-gluster 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-storage-iscsi 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-storage-logical 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-storage-mpath 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-storage-rbd 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-driver-storage-scsi 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-kvm 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-lxc 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-daemon-qemu 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-devel 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-docs 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-libs 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-lock-sanlock 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-login-shell 0:5.7.0-34.el7
Oracle Linux · 7 libvirt-nss 0:5.7.0-34.el7
Oracle Linux · 7 python2-libvirt 0:5.7.0-34.el7

Vulnerabilities 1

  • Unscored —
    CVE-2021-3975 Public exploit

    A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is call…