Skip to contentSkip to conversation

qemu: fix CVE-2023-0330

PATCH In review Archana Polampalli 2 participants 2 messages Jul 18, 2023 – Jul 20, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu: fix CVE-2023-0330

A vulnerability in the lsi53c895a device affects the latest version of qemu. A DMA-MMIO reentrancy problem may lead to memory corruption bugs like stack overflow or use-after-free.

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

Upstream patches:
https://gitlab.com/qemu-project/qemu/-/commit/b987718bbb1d0eabf95499b976212dd5f0120d75

---
 meta/recipes-devtools/qemu/qemu.inc           |  1 +
 .../qemu/qemu/CVE-2023-0330.patch             | 75 +++++++++++++++++++
 2 files changed, 76 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2023-0330.patch
meta/recipes-devtools/qemu/qemu.inc +1 -0
index 4c9be91cb0..15eba6163f 100644
@@ -36,6 +36,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
            file://qemu-guest-agent.init \
            file://qemu-guest-agent.udev \
            file://ppc.patch \
+	   file://CVE-2023-0330.patch \
            "
 UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
 
meta/recipes-devtools/qemu/qemu/CVE-2023-0330.patch new file +75 -0

75 lines not on this page · raw message

Signature · 1 line
2.40.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Archana via lists.openembedded.org

A vulnerability in the lsi53c895a device affects the latest version of qemu. A DMA-MMIO reentrancy problem may lead to memory corruption bugs like stack overflow or use-after-free.

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

Upstream patches:
https://gitlab.com/qemu-project/qemu/-/commit/b987718bbb1d0eabf95499b976212dd5f0120d75

Quoted 6 lines
---
  meta/recipes-devtools/qemu/qemu.inc           |  1 +
  .../qemu/qemu/CVE-2023-0330.patch             | 75 +++++++++++++++++++
  2 files changed, 76 insertions(+)

create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2023-0330.patch