Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
libvirt (10.7.0+really9.10.0-1deepin17) unstable; urgency=medium

* Fix CVE-2025-13193: set proper umask for external snapshot images to
prevent world-readable file creation (information disclosure
vulnerability).

-- deepin-ci-robot <packages@deepin.org> Wed, 27 May 2026 01:47:54 +0800

libvirt (10.7.0+really9.10.0-1deepin16) unstable; urgency=medium

* Enable ACPI by default for LoongArch virt machines
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- a/src/qemu/qemu_snapshot.c
+++ b/src/qemu/qemu_snapshot.c
@@ -233,6 +233,9 @@
NULL)))
return -1;

+ /* ensure that new files are only readable by the user */
+ virCommandSetUmask(cmd, 0077);
+
/* adds cmd line arg: backing_fmt=format,backing_file=/path/to/backing/file */
virBufferAsprintf(&buf, "backing_fmt=%s,backing_file=",
virStorageFileFormatTypeToString(defdisk->src->format));
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ fix-firmware-descriptor-parsing.patch
add-loongarch64-arch-support.patch
fix-virtio-iommu-test-expected-output.patch
enable-acpi-for-loongarch-virt.patch
backport/CVE-2025-13193-set-umask-for-external-snapshots.patch
Loading