Skip to contentSkip to conversation

qemu: Security fix CVE-2020-12829

PATCH In review Armin Kuster 3 participants 6 messages Sep 16, 2021 – Sep 28, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 qemu: Security fix CVE-2020-12829

From: Armin Kuster <[email protected]>

Source: qemu.org
MR: 105490
Type: Security Fix
Disposition: Backport from https://git.qemu.org/?p=qemu.git;a=commit;h=b15a22bbcbe6a78dc3d88fe3134985e4cdd87de4
ChangeID: 6e222b766fc67c76cdc311d02cc47801992d0e66
Description:

Affect qemu < 5.0.0

---
 meta/recipes-devtools/qemu/qemu.inc           |   5 +
 .../qemu/qemu/CVE-2020-12829_1.patch          | 164 +++++++++++
 .../qemu/qemu/CVE-2020-12829_2.patch          | 139 +++++++++
 .../qemu/qemu/CVE-2020-12829_3.patch          |  47 ++++
 .../qemu/qemu/CVE-2020-12829_4.patch          | 100 +++++++
 .../qemu/qemu/CVE-2020-12829_5.patch          | 266 ++++++++++++++++++
 6 files changed, 721 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2020-12829_1.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2020-12829_2.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2020-12829_3.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2020-12829_4.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2020-12829_5.patch
meta/recipes-devtools/qemu/qemu.inc +5 -0
index c8c170dda0..f5e8a9ae49 100644
@@ -84,6 +84,11 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
            file://CVE-2021-3582.patch \
            file://CVE-2021-3607.patch \
            file://CVE-2021-3608.patch \
+           file://CVE-2020-12829_1.patch \
+           file://CVE-2020-12829_2.patch \
+           file://CVE-2020-12829_3.patch \
+           file://CVE-2020-12829_4.patch \
+           file://CVE-2020-12829_5.patch \
            "
 UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
 
meta/recipes-devtools/qemu/qemu/CVE-2020-12829_1.patch new file +164 -0

164 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2020-12829_2.patch new file +139 -0

139 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2020-12829_3.patch new file +47 -0

47 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2020-12829_4.patch new file +100 -0

100 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2020-12829_5.patch new file +266 -0

266 lines not on this page · raw message

Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/4 qemu: Security fix for CVE-2020-27617

From: Armin Kuster <[email protected]>

Source: qemu.org
MR: 106462
Type: Security Fix
Disposition: Backport from https://git.qemu.org/?p=qemu.git;a=commit;h=7564bf7701f00214cdc8a678a9f7df765244def1
ChangeID: b9dc1b656c07d6a0aecaf7680ed33801bd5f6352
Description:

Affects qemu < 5.2.0

---
 meta/recipes-devtools/qemu/qemu.inc           |  1 +
 .../qemu/qemu/CVE-2020-27617.patch            | 49 +++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2020-27617.patch
meta/recipes-devtools/qemu/qemu.inc +1 -0
index f5e8a9ae49..3113d638d7 100644
@@ -89,6 +89,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
            file://CVE-2020-12829_3.patch \
            file://CVE-2020-12829_4.patch \
            file://CVE-2020-12829_5.patch \
+           file://CVE-2020-27617.patch \
            "
 UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
 
meta/recipes-devtools/qemu/qemu/CVE-2020-27617.patch new file +49 -0

49 lines not on this page · raw message

Signature · 1 line
2.25.1
#2 lore raw

PATCH 3/4 qemu: Security fix for CVE-2020-28916

In reply to Armin Kuster

From: Armin Kuster <[email protected]>

Source: qemu.org
MR: 107262
Type: Security Fix
Disposition: Backport from https://git.qemu.org/?p=qemu.git;a=commit;h=c2cb511634012344e3d0fe49a037a33b12d8a98a
ChangeID: 3024b894ab045c1a74ab2276359d5e599ec9e822
Description:

Affects qemu < 5.0.0

---
 meta/recipes-devtools/qemu/qemu.inc           |  1 +
 .../qemu/qemu/CVE-2020-28916.patch            | 48 +++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2020-28916.patch
meta/recipes-devtools/qemu/qemu.inc +1 -0
index 3113d638d7..211c03e57b 100644
@@ -90,6 +90,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
            file://CVE-2020-12829_4.patch \
            file://CVE-2020-12829_5.patch \
            file://CVE-2020-27617.patch \
+           file://CVE-2020-28916.patch \
            "
 UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
 
meta/recipes-devtools/qemu/qemu/CVE-2020-28916.patch new file +48 -0

48 lines not on this page · raw message

Signature · 1 line
2.25.1
#3 lore raw

PATCH 4/4 qemu: fix CVE-2021-3682

In reply to Armin Kuster

From: Sakib Sajal <[email protected]>

Source: https://git.yoctoproject.org/git/poky
MR: 112369
Type: Security Fix
Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/qemu?id=48960ce56265e9ec7ec352c0d0fcde6ed44569be
ChangeID: 799afc7adf3f2c915751744b618e38cccb01d854
Description:

(From OE-Core rev: e16cd155c5ef7cfe8b4d3a94485cb7b13fd95036)

(cherry picked from commit 48960ce56265e9ec7ec352c0d0fcde6ed44569be)
---
 meta/recipes-devtools/qemu/qemu.inc           |  1 +
 .../qemu/qemu/CVE-2021-3682.patch             | 41 +++++++++++++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3682.patch
meta/recipes-devtools/qemu/qemu.inc +1 -0
index 211c03e57b..ef9bc3f64a 100644
@@ -91,6 +91,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
            file://CVE-2020-12829_5.patch \
            file://CVE-2020-27617.patch \
            file://CVE-2020-28916.patch \
+           file://CVE-2021-3682.patch \
            "
 UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
 
meta/recipes-devtools/qemu/qemu/CVE-2021-3682.patch new file +41 -0

41 lines not on this page · raw message

Signature · 1 line
2.25.1
#5 lore raw

Re: [OE-core] [Dunfell][PATCH 4/4] qemu: fix CVE-2021-3682

Quoted 5 lines · Sakib Sajal

Will this fix be cherry-picked for the hardknott branch? I sent a backport for the hardknott branch but it doesn't seem like it was merged. Maybe because the message [1] was empty?
[1]
https://lists.openembedded.org/g/openembedded-core/message/154863?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2CCVE-2021-3682%2C20%2C2%2C0%2C84940037

I somehow missed this. Can you please rebase this and send it again? I will include it in my queue.

Thanks,

Anuj