Skip to contentSkip to conversation

qemu: Fix CVE-2023-3180

PATCH New ssambu 1 participant 1 message Oct 4, 2023

lore
Share & tools
lore

ssambu

author
#0 lore raw

PATCH 1/1 qemu: Fix CVE-2023-3180

From: Soumya Sambu <[email protected]>

A flaw was found in the QEMU virtual crypto device while handling data encryption/decryption requests in virtio_crypto_handle_sym_req. There is no check for the value of src_len and dst_len in virtio_crypto_sym_op_helper, potentially leading to a heap buffer overflow when the two values differ.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-3180

---
 meta/recipes-devtools/qemu/qemu.inc           |  1 +
 .../qemu/qemu/CVE-2023-3180.patch             | 52 +++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2023-3180.patch
meta/recipes-devtools/qemu/qemu.inc +1 -0
index c8e1d28654..cd17a11335 100644
@@ -41,6 +41,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
 	   file://CVE-2023-3255.patch \
 	   file://CVE-2023-2861.patch \
 	   file://CVE-2023-3354.patch \
+	   file://CVE-2023-3180.patch \
            "
 UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
 
meta/recipes-devtools/qemu/qemu/CVE-2023-3180.patch new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
2.40.0