Skip to contentSkip to conversation

qemu: fix CVE-2021-4145

PATCH New Sakib Sajal 1 participant 2 messages Apr 13, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 qemu: fix CVE-2021-4145

Fix CVE by backporting relevant patches.

---
 meta/recipes-devtools/qemu/qemu.inc           |  2 +
 .../qemu/qemu/CVE-2021-4145_1.patch           | 60 ++++++++++++++
 .../qemu/qemu/CVE-2021-4145_2.patch           | 83 +++++++++++++++++++
 3 files changed, 145 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-4145_1.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-4145_2.patch
meta/recipes-devtools/qemu/qemu.inc +2 -0
index 568ef1be94..aa372810ce 100644
@@ -75,6 +75,8 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
            file://CVE-2021-3930.patch \
            file://CVE-2021-20196_1.patch \
            file://CVE-2021-20196_2.patch \
+           file://CVE-2021-4145_1.patch \
+           file://CVE-2021-4145_2.patch \
            "
 UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
 
meta/recipes-devtools/qemu/qemu/CVE-2021-4145_1.patch new file +60 -0

60 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2021-4145_2.patch new file +83 -0

83 lines not on this page · raw message

Signature · 1 line
2.33.0
#1 lore raw

PATCH 2/2 qemu: fix CVE-2022-26354

---
 meta/recipes-devtools/qemu/qemu.inc           |  1 +
 .../qemu/qemu/CVE-2022-26354.patch            | 59 +++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2022-26354.patch
meta/recipes-devtools/qemu/qemu.inc +1 -0
index aa372810ce..934e5ee932 100644
@@ -77,6 +77,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
            file://CVE-2021-20196_2.patch \
            file://CVE-2021-4145_1.patch \
            file://CVE-2021-4145_2.patch \
+           file://CVE-2022-26354.patch \
            "
 UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
 
meta/recipes-devtools/qemu/qemu/CVE-2022-26354.patch new file +59 -0

59 lines not on this page · raw message

Signature · 1 line
2.33.0