Skip to contentSkip to conversation

qemu: Backport fix for CVE-2024-4467

PATCH New [email protected] 1 participant 1 message Sep 6, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu: Backport fix for CVE-2024-4467

From: Vijay Anusuri <[email protected]>

A flaw was found in the QEMU disk image utility (qemu-img) 'info' command. A specially crafted image file containing a json:{} value describing block devices in QMP could cause the qemu-img process on the host to consume large amounts of memory or CPU time, leading to denial of service or read/write to an existing external file.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2024-4467

Upstream commits:
https://gitlab.com/qemu-project/qemu/-/commit/bd385a5298d7062668e804d73944d52aec9549f1
https://gitlab.com/qemu-project/qemu/-/commit/2eb42a728d27a43fdcad5f37d3f65706ce6deba5
https://gitlab.com/qemu-project/qemu/-/commit/7e1110664ecbc4826f3c978ccb06b6c1bce823e6
https://gitlab.com/qemu-project/qemu/-/commit/83930780325b144a5908c45b3957b9b6457b3831
https://gitlab.com/qemu-project/qemu/-/commit/7ead946998610657d38d1a505d5f25300d4ca613

---
 meta/recipes-devtools/qemu/qemu.inc           |   5 +
 .../qemu/qemu/CVE-2024-4467-0001.patch        | 214 +++++++
 .../qemu/qemu/CVE-2024-4467-0002.patch        |  73 +++
 .../qemu/qemu/CVE-2024-4467-0003.patch        |  76 +++
 .../qemu/qemu/CVE-2024-4467-0004.patch        | 571 ++++++++++++++++++
 .../qemu/qemu/CVE-2024-4467-0005.patch        | 265 ++++++++
 6 files changed, 1204 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2024-4467-0001.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2024-4467-0002.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2024-4467-0003.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2024-4467-0004.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2024-4467-0005.patch
meta/recipes-devtools/qemu/qemu.inc +5 -0
index 4684e44524..6ff3c2f9bc 100644
@@ -113,6 +113,11 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
            file://CVE-2024-7409-0002.patch \
            file://CVE-2024-7409-0003.patch \
            file://CVE-2024-7409-0004.patch \
+           file://CVE-2024-4467-0001.patch \
+           file://CVE-2024-4467-0002.patch \
+           file://CVE-2024-4467-0003.patch \
+           file://CVE-2024-4467-0004.patch \
+           file://CVE-2024-4467-0005.patch \
            "
 UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
 
meta/recipes-devtools/qemu/qemu/CVE-2024-4467-0001.patch new file +214 -0

214 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2024-4467-0002.patch new file +73 -0

73 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2024-4467-0003.patch new file +76 -0

76 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2024-4467-0004.patch new file +571 -0

571 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2024-4467-0005.patch new file +265 -0

265 lines not on this page · raw message

Signature · 1 line
2.25.1