Skip to contentSkip to conversation

qemu: Security Advisory - qemu - CVE-2019-15890

PATCH In review Li Zhou 2 participants 4 messages Sep 11, 2019

lore
Share & tools
lore

Li Zhou

author
#0 lore raw

PATCH 1/1 qemu: Security Advisory - qemu - CVE-2019-15890

Backporting patch from
https://gitlab.freedesktop.org/slirp/libslirp/commit/c5927943
to solve CVE-2019-15890.

---
 meta/recipes-devtools/qemu/qemu.inc                |  1 +
 .../qemu/qemu/CVE-2019-15890.patch                 | 48 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2019-15890.patch
meta/recipes-devtools/qemu/qemu.inc +1 -0
index 241f9db..de21d30 100644
@@ -23,6 +23,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
            file://0008-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch \
            file://0009-Fix-webkitgtk-builds.patch \
            file://0010-configure-Add-pkg-config-handling-for-libgcrypt.patch \
+           file://CVE-2019-15890.patch \
            "
 UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
 
meta/recipes-devtools/qemu/qemu/CVE-2019-15890.patch new file +48 -0

48 lines not on this page · raw message

Signature · 1 line
1.9.1
#1 lore raw
Quoted 37 lines · Li Zhou

Backporting patch from
https://gitlab.freedesktop.org/slirp/libslirp/commit/c5927943
to solve CVE-2019-15890.

---
 meta/recipes-devtools/qemu/qemu.inc                |  1 +
 .../qemu/qemu/CVE-2019-15890.patch                 | 48
++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2019-

15890.patch

meta/recipes- renamed from meta/recipes-devtools/qemu/qemu.inc +0 -0

devtools/qemu/qemu.inc
index 241f9db..de21d30 100644

meta/recipes-devtools/qemu/qemu.inc +1 -0
@@ -23,6 +23,7 @@ SRC_URI = "
 https://download.qemu.org/${BPN}-${PV}.tar.xz \
            file://0008-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-
 target.patch \
            file://0009-Fix-webkitgtk-builds.patch \
            file://0010-configure-Add-pkg-config-handling-for-
 libgcrypt.patch \
+           file://CVE-2019-15890.patch \
            "

UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"

meta/recipes-devtools/qemu/qemu/CVE-2019-15890.patch new file +1 -0
new file mode 100644
index 0000000..1d89431
@@ -0,0 +1,48 @@
+From 4fc0d23e8f6d795c679623d2ed2cbe6a7a17b9c7 Mon Sep 17 00:00:00
Quoted 2 lines

2001
+From: Li Zhou <[email protected]>

Can you please fix the author name here?

Thanks,

Anuj

author
#2 lore raw
Quoted 30 lines · Anuj
Quoted 29 lines · Li Zhou

Backporting patch from
https://gitlab.freedesktop.org/slirp/libslirp/commit/c5927943
to solve CVE-2019-15890.

---
  meta/recipes-devtools/qemu/qemu.inc                |  1 +
  .../qemu/qemu/CVE-2019-15890.patch                 | 48
++++++++++++++++++++++
  2 files changed, 49 insertions(+)

create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2019-
15890.patch

meta/recipes- renamed from meta/recipes-devtools/qemu/qemu.inc +0 -0

devtools/qemu/qemu.inc
index 241f9db..de21d30 100644

meta/recipes-devtools/qemu/qemu.inc +1 -0
@@ -23,6 +23,7 @@ SRC_URI = "
 https://download.qemu.org/${BPN}-${PV}.tar.xz \
             file://0008-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-
 target.patch \
             file://0009-Fix-webkitgtk-builds.patch \
             file://0010-configure-Add-pkg-config-handling-for-
 libgcrypt.patch \
+           file://CVE-2019-15890.patch \
             "

UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"

Quoted 11 lines
Quoted 10 lines
meta/recipes-devtools/qemu/qemu/CVE-2019-15890.patch new file +1 -0
new file mode 100644
index 0000000..1d89431
@@ -0,0 +1,48 @@
+From 4fc0d23e8f6d795c679623d2ed2cbe6a7a17b9c7 Mon Sep 17 00:00:00

2001
+From: Li Zhou <[email protected]>

Can you please fix the author name here?

Do you mean it should be the original author?

Here is my name because I have adapted sth (the file path) in the patch.

Should I change it back by hand here?

Thanks.

Quoted 4 lines

Thanks,

Anuj

Signature · 3 lines
Best Regards!
Zhou Li
Phone number: 86-10-84778511
#3 lore raw
Quoted 45 lines · zhou li
Quoted 31 lines · Anuj
Quoted 30 lines · Li Zhou

Backporting patch from
https://gitlab.freedesktop.org/slirp/libslirp/commit/c5927943
to solve CVE-2019-15890.

---
  meta/recipes-devtools/qemu/qemu.inc                |  1 +
  .../qemu/qemu/CVE-2019-15890.patch                 | 48
++++++++++++++++++++++
  2 files changed, 49 insertions(+)

create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2019-
15890.patch

meta/recipes- renamed from meta/recipes-devtools/qemu/qemu.inc +0 -0

devtools/qemu/qemu.inc
index 241f9db..de21d30 100644

meta/recipes-devtools/qemu/qemu.inc +0 -0
@@ -23,6 +23,7 @@ SRC_URI = "
 https://download.qemu.org/${BPN}-${PV}.tar.xz \
             file://0008-linux-user-Fix-webkitgtk-hangs-on-32-

bit-x86-

target.patch \
             file://0009-Fix-webkitgtk-builds.patch \
             file://0010-configure-Add-pkg-config-handling-for-
libgcrypt.patch \
+           file://CVE-2019-15890.patch \
             "

UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"

Quoted 12 lines
Quoted 11 lines
meta/recipes-devtools/qemu/qemu/CVE-2019-15890.patch new file +1 -0
new file mode 100644
index 0000000..1d89431
@@ -0,0 +1,48 @@
+From 4fc0d23e8f6d795c679623d2ed2cbe6a7a17b9c7 Mon Sep 17

00:00:00
2001
+From: Li Zhou <[email protected]>

Can you please fix the author name here?

Quoted 5 lines

Do you mean it should be the original author?

Here is my name because I have adapted sth (the file path) in the patch.

Yes, it should still reflect the name of original author here.

Quoted 2 lines

Should I change it back by hand here?

git commit --amend --author "name <email>"

should help.

Thanks,

Anuj