Public bug reported:

[ Impact ]

This was reported by the operator of a Focal/Yoga OpenStack cloud; as a
result of the bug they are unable to create boot volumes from qcow2
images.

[ Test Plan ]

```sh
wget 
https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
qemu-img info focal-server-cloudimg-amd64.img
```

Expected behavior (as in Jammy):

$ qemu-img info focal-server-cloudimg-amd64.img
image: focal-server-cloudimg-amd64.img
file format: qcow2
virtual size: 2.2 GiB (2361393152 bytes)
disk size: 618 MiB
cluster_size: 65536
Format specific information:
    compat: 0.10
    compression type: zlib
    refcount bits: 16

Actual behavior:

$ qemu-img info focal-server-cloudimg-amd64.img
qemu-img: Could not open 'focal-server-cloudimg-amd64.img': 'data-file' can 
only be set for images with an external data file

[ Where problems could occur ]

TBD

[ Other information ]

The problematic patch is CVE-2024-4467-1.patch. In the Jammy backport,
upstream 06e9cd19a4e was backported first as CVE-2024-4467-pre1.patch,
which is not present in Focal. This leads to the logic error, as the
path being executed in focal never runs in Jammy if BDRV_O_NO_IO is
passed.

** Affects: qemu (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: qemu (Ubuntu Focal)
     Importance: Medium
         Status: Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158180

Title:
  ESM Regression: `qemu-img info` fails with `1:4.2-3ubuntu6.30+esm1`

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2158180/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to