diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-04-24 15:37:50 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-15 17:56:57 +0100 |
commit | 379bc778e563dae71562e414970ff45b7dc6017c (patch) | |
tree | eeb311695a61035f63477588a955ba45a9f056be /meta/recipes-devtools/qemu/qemu_2.11.1.bb | |
parent | 97917efa50790745cfcb63e2ee104b5345bd5ab8 (diff) | |
download | poky-379bc778e563dae71562e414970ff45b7dc6017c.tar.gz |
qemu: fix CVE-2017-16845
During Qemu guest migration, a destination process invokes ps2
post_load function. In that, if 'rptr' and 'count' values were
invalid, it could lead to OOB access or infinite loop issue.
Add check to avoid it.
(From OE-Core rev: 0d8f68fe43b4da1a0d356fe6bedb52b8f2a02081)
(From OE-Core rev: cdfceda098aa1a864cbb794065b9f555810c5c71)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu_2.11.1.bb')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu_2.11.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_2.11.1.bb b/meta/recipes-devtools/qemu/qemu_2.11.1.bb index f4b7d69fca..ab82c5fe56 100644 --- a/meta/recipes-devtools/qemu/qemu_2.11.1.bb +++ b/meta/recipes-devtools/qemu/qemu_2.11.1.bb | |||
@@ -22,6 +22,7 @@ SRC_URI = "http://wiki.qemu-project.org/download/${BP}.tar.bz2 \ | |||
22 | file://linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch \ | 22 | file://linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch \ |
23 | file://memfd.patch \ | 23 | file://memfd.patch \ |
24 | file://0001-arm-translate-a64-treat-DISAS_UPDATE-as-variant-of-D.patch \ | 24 | file://0001-arm-translate-a64-treat-DISAS_UPDATE-as-variant-of-D.patch \ |
25 | file://check-PS2Queue-pointers-in-post_load-routine.patch \ | ||
25 | " | 26 | " |
26 | UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+\..*)\.tar" | 27 | UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+\..*)\.tar" |
27 | 28 | ||