Skip to contentSkip to conversation

qemu: Fix CVE-2021-3750 for qemu

PATCH Virendra Kumar Thakur 3 participants 3 messages Oct 1, 2022 – Oct 6, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Attached patch file also.
________________________________
From: [email protected] <[email protected]> on behalf of Virendra Thakur via lists.openembedded.org <[email protected]>
Sent: Saturday, October 1, 2022 11:20 AM
To: [email protected] <[email protected]>
Cc: [email protected] <[email protected]>
Subject: [OE-Core][kirkstone][PATCH] qemu: Fix CVE-2021-3750 for qemu

Caution: This email originated from outside of the KPIT. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Add patch to fix CVE-2021-3750

---
 meta/recipes-devtools/qemu/qemu.inc           |   3 +
 .../qemu/qemu/CVE-2021-3750-1.patch           |  59 +++++++
 .../qemu/qemu/CVE-2021-3750-2.patch           |  65 ++++++++
 .../qemu/qemu/CVE-2021-3750-3.patch           | 156 ++++++++++++++++++
 4 files changed, 283 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3750-1.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3750-2.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3750-3.patch
meta/recipes-devtools/qemu/qemu.inc +3 -0
index a493ac8add..816f9a7eac 100644
@@ -43,6 +43,9 @@ SRC_URI = "https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdownload.qemu.org%2F%24&amp;data=05%7C01%7Cvirendra.thakur%40kpit.com%7Ca0b284fe19a44c82e83708daa370e956%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C638002002616918239%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QVDwSHyy12MaO5HE89G3XFl%2BlGS0TnVbNFue8cEl5C8%3D&amp;reserved=0{BPN}-${PV}.tar.xz \
            file://CVE-2022-0358.patch \
            file://CVE-2022-0216_1.patch \
            file://CVE-2022-0216_2.patch \
+           file://CVE-2021-3750-1.patch \
+           file://CVE-2021-3750-2.patch \
+           file://CVE-2021-3750-3.patch \
            "
 UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
 
meta/recipes-devtools/qemu/qemu/CVE-2021-3750-1.patch new file +59 -0

59 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2021-3750-2.patch new file +65 -0

65 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2021-3750-3.patch new file +156 -0

156 lines not on this page · raw message

--
2.17.1

This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails. This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.

From eacddffe15aa64378d6c51438456855f2078088a Mon Sep 17 00:00:00 2001
From: Virendra Thakur <[email protected]>
Date: Fri, 5 Aug 2022 14:01:20 +0530
Subject: [PATCH] qemu: Fix CVE-2021-3750 for qemu

Add patch to fix CVE-2021-3750

---
 meta/recipes-devtools/qemu/qemu.inc           |   3 +
 .../qemu/qemu/CVE-2021-3750-1.patch           |  59 +++++++
 .../qemu/qemu/CVE-2021-3750-2.patch           |  65 ++++++++
 .../qemu/qemu/CVE-2021-3750-3.patch           | 156 ++++++++++++++++++
 4 files changed, 283 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3750-1.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3750-2.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3750-3.patch
meta/recipes-devtools/qemu/qemu.inc +3 -0
index a493ac8add..816f9a7eac 100644
@@ -43,6 +43,9 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
            file://CVE-2022-0358.patch \
            file://CVE-2022-0216_1.patch \
            file://CVE-2022-0216_2.patch \
+           file://CVE-2021-3750-1.patch \
+           file://CVE-2021-3750-2.patch \
+           file://CVE-2021-3750-3.patch \
            "
 UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
 
meta/recipes-devtools/qemu/qemu/CVE-2021-3750-1.patch new file +59 -0

59 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2021-3750-2.patch new file +65 -0

65 lines not on this page · raw message

meta/recipes-devtools/qemu/qemu/CVE-2021-3750-3.patch new file +156 -0

156 lines not on this page · raw message

Signature · 1 line
2.17.1
#2 lore raw

Hi Virendra

Thanks for the patch!

meta/recipes-devtools/qemu/qemu.inc

Quoted 24 lines · Virendra Thakur via lists.openembedded.org

Attached patch file also.
------------------------------------------------------------------------
*From:* [email protected] <[email protected]> on behalf of Virendra Thakur via lists.openembedded.org <[email protected]> *Sent:* Saturday, October 1, 2022 11:20 AM
*To:* [email protected] <[email protected]>
*Cc:* [email protected] <[email protected]>
*Subject:* [OE-Core][kirkstone][PATCH] qemu: Fix CVE-2021-3750 for qemu
Caution: This email originated from outside of the KPIT. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Add patch to fix CVE-2021-3750

---

 meta/recipes-devtools/qemu/qemu.inc           |   3 +
 .../qemu/qemu/CVE-2021-3750-1.patch           |  59 +++++++
 .../qemu/qemu/CVE-2021-3750-2.patch           |  65 ++++++++
 .../qemu/qemu/CVE-2021-3750-3.patch           | 156 ++++++++++++++++++
 4 files changed, 283 insertions(+)

 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3750-1.patch create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3750-2.patch create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3750-3.patch

meta/recipes-devtools/qemu/qemu.inc +0 -0
index a493ac8add..816f9a7eac 100644

Unfortunately, your patch doesn't apply. Would you mind updating it according to the current master branch and send it again, please? Thanks in advance
Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw
Quoted 35 lines · Michael Opdenacker

Hi Virendra

Thanks for the patch!

Quoted 28 lines · Virendra Thakur via lists.openembedded.org

Attached patch file also.
------------------------------------------------------------------------
*From:* [email protected] <[email protected]> on behalf of Virendra Thakur via lists.openembedded.org <[email protected]>
*Sent:* Saturday, October 1, 2022 11:20 AM
*To:* [email protected] <[email protected]>
*Cc:* [email protected] <[email protected]>
*Subject:* [OE-Core][kirkstone][PATCH] qemu: Fix CVE-2021-3750 for qemu
Caution: This email originated from outside of the KPIT. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Add patch to fix CVE-2021-3750

---
 meta/recipes-devtools/qemu/qemu.inc           |   3 +
 .../qemu/qemu/CVE-2021-3750-1.patch           |  59 +++++++
 .../qemu/qemu/CVE-2021-3750-2.patch           |  65 ++++++++
 .../qemu/qemu/CVE-2021-3750-3.patch           | 156 ++++++++++++++++++
 4 files changed, 283 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3750-1.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3750-2.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3750-3.patch
Quoted 8 lines

meta/recipes-devtools/qemu/qemu.inc

Quoted 3 lines
meta/recipes-devtools/qemu/qemu.inc +0 -0
index a493ac8add..816f9a7eac 100644

Unfortunately, your patch doesn't apply. Would you mind updating it according to the current master branch and send it again, please? Thanks in advance

Hi Michael,

I don't think this is an issue for master! It was intended for kirkstone (and I've already taken it in stable/kirkstone-nut)

Steve