Upgrade Xen to 4.10.0, 4.9.1 and apply XSA patches
cover Upgrade Xen to 4.10.0, 4.9.1 and apply XSA patches
From: Christopher Clark <[email protected]>
A short patch series to:
* Introduce support for Xen 4.10.0
- package a new library, libxentoolcore, and a new tool, xen-diag
- make the deprecated blktap packages optional for xen-base -- it no longer RDEPENDS upon them, but RRECOMMENDS instead to retain xen.inc compatability with earlier Xen releases
- and apply a patch for XSA-253 / CVE-2018-5244
* Upgrade the Xen 4.9 series recipe to latest 4.9.1
- and apply XSA/CVE patches
(Please use my gmail address for correspondence.)
Christopher Clark (5):
xen: upgrade 4.9.x recipe to 4.9.1 and apply XSA/CVE fix patches
xen: Package libxentoolcore and xen-diag, introduced in Xen 4.10
xen: xen.inc: remove xen-blktap from xen-base RDEPENDS
xen: add recipe for Xen 4.10.0
xen: Apply patch for CVE-2018-5244 / XSA-253
...check-to-see-if-removing-a-p2m-entry-actu.patch | 176 +++++++++++++++++++++ ...eturn-value-of-p2m_set_entry-when-decreas.patch | 109 +++++++++++++ ...x-libxc-xc_dom_arm-missing-initialization.patch | 36 ----- recipes-extended/xen/files/xsa246-4.9.patch | 74 +++++++++ recipes-extended/xen/files/xsa248.patch | 164 +++++++++++++++++++ recipes-extended/xen/files/xsa249.patch | 42 +++++ recipes-extended/xen/files/xsa250.patch | 67 ++++++++ recipes-extended/xen/files/xsa251.patch | 21 +++ recipes-extended/xen/files/xsa253.patch | 26 +++ recipes-extended/xen/xen.inc | 15 +- recipes-extended/xen/xen_4.10.0.bb | 12 ++ recipes-extended/xen/xen_4.9.0.bb | 12 -- recipes-extended/xen/xen_4.9.1.bb | 18 +++ 13 files changed, 721 insertions(+), 51 deletions(-) create mode 100644 recipes-extended/xen/files/0001-p2m-Always-check-to-see-if-removing-a-p2m-entry-actu.patch create mode 100644 recipes-extended/xen/files/0002-p2m-Check-return-value-of-p2m_set_entry-when-decreas.patch delete mode 100644 recipes-extended/xen/files/fix-libxc-xc_dom_arm-missing-initialization.patch create mode 100644 recipes-extended/xen/files/xsa246-4.9.patch create mode 100644 recipes-extended/xen/files/xsa248.patch create mode 100644 recipes-extended/xen/files/xsa249.patch create mode 100644 recipes-extended/xen/files/xsa250.patch create mode 100644 recipes-extended/xen/files/xsa251.patch create mode 100644 recipes-extended/xen/files/xsa253.patch create mode 100644 recipes-extended/xen/xen_4.10.0.bb delete mode 100644 recipes-extended/xen/xen_4.9.0.bb create mode 100644 recipes-extended/xen/xen_4.9.1.bb
Signature · 1 line
2.7.4
PATCH 2/5 xen: Package libxentoolcore and xen-diag, introduced in Xen 4.10
From: Christopher Clark <[email protected]>
Package a new library, libxentoolstore, introduced in Xen 4.10. Also package the xen-diag tool in the xen-misc package.
--- recipes-extended/xen/xen.inc | 9 +++++++++ 1 file changed, 9 insertions(+)
recipes-extended/xen/xen.inc +9 -0
@@ -196,6 +196,8 @@ PACKAGES = "\ ${PN}-libxenstat-dev \ ${PN}-libxenstore \ ${PN}-libxenstore-dev \ + ${PN}-libxentoolcore \ + ${PN}-libxentoolcore-dev \ ${PN}-libxentoollog \ ${PN}-libxentoollog-dev \ ${PN}-libxenvchan \
@@ -344,6 +346,12 @@ FILES_${PN}-libxenstore-dev = " \ ${datadir}/pkgconfig/xenstore.pc \ " +FILES_${PN}-libxentoolcore = "${libdir}/libxentoolcore.so.*" +FILES_${PN}-libxentoolcore-dev = " \ + ${libdir}/libxentoolcore.so \ + ${datadir}/pkgconfig/xentoolcore.pc \ + " + FILES_${PN}-libxentoollog = "${libdir}/libxentoollog.so.*" FILES_${PN}-libxentoollog-dev = " \ ${libdir}/libxentoollog.so \
@@ -474,6 +482,7 @@ FILES_${PN}-misc = "\ ${sbindir}/xenperf \ ${sbindir}/xenpm \ ${sbindir}/xsview \ + ${sbindir}/xen-diag \ ${sbindir}/xen-tmem-list-parse \ ${sbindir}/xen-python-path \ ${sbindir}/xen-ringwatch \
Signature · 1 line
2.7.4
PATCH 1/5 xen: upgrade 4.9.x recipe to 4.9.1 and apply XSA/CVE fix patches
In reply to [email protected]From: Christopher Clark <[email protected]>
Upgrade the Xen 4.9.x series recipe to latest 4.9.1
and apply patches for:
XSA-245 / CVE-2017-17046
XSA-246 / CVE-2017-17044
XSA-247 / CVE-2017-17045
XSA-248 / CVE-2017-17566
XSA-249 / CVE-2017-17563
XSA-250 / CVE-2017-17564
XSA-251 / CVE-2017-17565--- ...check-to-see-if-removing-a-p2m-entry-actu.patch | 176 +++++++++++++++++++++ ...eturn-value-of-p2m_set_entry-when-decreas.patch | 109 +++++++++++++ ...x-libxc-xc_dom_arm-missing-initialization.patch | 36 ----- recipes-extended/xen/files/xsa246-4.9.patch | 74 +++++++++ recipes-extended/xen/files/xsa248.patch | 164 +++++++++++++++++++ recipes-extended/xen/files/xsa249.patch | 42 +++++ recipes-extended/xen/files/xsa250.patch | 67 ++++++++ recipes-extended/xen/files/xsa251.patch | 21 +++ recipes-extended/xen/xen_4.9.0.bb | 12 -- recipes-extended/xen/xen_4.9.1.bb | 18 +++ 10 files changed, 671 insertions(+), 48 deletions(-) create mode 100644 recipes-extended/xen/files/0001-p2m-Always-check-to-see-if-removing-a-p2m-entry-actu.patch create mode 100644 recipes-extended/xen/files/0002-p2m-Check-return-value-of-p2m_set_entry-when-decreas.patch delete mode 100644 recipes-extended/xen/files/fix-libxc-xc_dom_arm-missing-initialization.patch create mode 100644 recipes-extended/xen/files/xsa246-4.9.patch create mode 100644 recipes-extended/xen/files/xsa248.patch create mode 100644 recipes-extended/xen/files/xsa249.patch create mode 100644 recipes-extended/xen/files/xsa250.patch create mode 100644 recipes-extended/xen/files/xsa251.patch delete mode 100644 recipes-extended/xen/xen_4.9.0.bb create mode 100644 recipes-extended/xen/xen_4.9.1.bb
recipes-extended/xen/files/0001-p2m-Always-check-to-see-if-removing-a-p2m-entry-actu.patch new file +176 -0
@@ -0,0 +1,176 @@ +From ad208b8b7e45fb2b7c572b86c61c26412609e82d Mon Sep 17 00:00:00 2001 +From: George Dunlap <[email protected]> +Date: Fri, 10 Nov 2017 16:53:54 +0000 +Subject: [PATCH 1/2] p2m: Always check to see if removing a p2m entry actually + worked + +The PoD zero-check functions speculatively remove memory from the p2m, +then check to see if it's completely zeroed, before putting it in the +cache. + +Unfortunately, the p2m_set_entry() calls may fail if the underlying +pagetable structure needs to change and the domain has exhausted its +p2m memory pool: for instance, if we're removing a 2MiB region out of +a 1GiB entry (in the p2m_pod_zero_check_superpage() case), or a 4k +region out of a 2MiB or larger entry (in the p2m_pod_zero_check() +case); and the return value is not checked. + +The underlying mfn will then be added into the PoD cache, and at some +point mapped into another location in the p2m. If the guest +afterwards ballons out this memory, it will be freed to the hypervisor +and potentially reused by another domain, in spite of the fact that +the original domain still has writable mappings to it. + +There are several places where p2m_set_entry() shouldn't be able to +fail, as it is guaranteed to write an entry of the same order that +succeeded before. Add a backstop of crashing the domain just in case, +and an ASSERT_UNREACHABLE() to flag up the broken assumption on debug +builds. + +While we're here, use PAGE_ORDER_2M rather than a magic constant. + +This is part of XSA-247. + +Reported-by: George Dunlap <george.dunlap.com> +Signed-off-by: George Dunlap <[email protected]> +Reviewed-by: Jan Beulich <[email protected]> +--- +v4: +- Removed some training whitespace +v3: +- Reformat reset clause to be more compact +- Make sure to set map[i] = NULL when unmapping in case we need to bail +v2: +- Crash a domain if a p2m_set_entry we think cannot fail fails anyway. +--- + xen/arch/x86/mm/p2m-pod.c | 77 +++++++++++++++++++++++++++++++++++++---------- + 1 file changed, 61 insertions(+), 16 deletions(-) + +diff --git a/xen/arch/x86/mm/p2m-pod.c b/xen/arch/x86/mm/p2m-pod.c +index 730a48f928..f2ed751892 100644 +--- a/xen/arch/x86/mm/p2m-pod.c ++++ b/xen/arch/x86/mm/p2m-pod.c +@@ -752,8 +752,10 @@ p2m_pod_zero_check_superpage(struct p2m_domain *p2m, unsigned long gfn) + } + + /* Try to remove the page, restoring old mapping if it fails. */ +- p2m_set_entry(p2m, gfn, INVALID_MFN, PAGE_ORDER_2M, +- p2m_populate_on_demand, p2m->default_access); ++ if ( p2m_set_entry(p2m, gfn, INVALID_MFN, PAGE_ORDER_2M, ++ p2m_populate_on_demand, p2m->default_access) ) ++ goto out; ++ + p2m_tlb_flush_sync(p2m); + + /* Make none of the MFNs are used elsewhere... for example, mapped +@@ -810,9 +812,18 @@ p2m_pod_zero_check_superpage(struct p2m_domain *p2m, unsigned long gfn) + ret = SUPERPAGE_PAGES; + + out_reset: +- if ( reset ) +- p2m_set_entry(p2m, gfn, mfn0, 9, type0, p2m->default_access); +- ++ /* ++ * This p2m_set_entry() call shouldn't be able to fail, since the same order ++ * on the same gfn succeeded above. If that turns out to be false, crashing ++ * the domain should be the safest way of making sure we don't leak memory. ++ */ ++ if ( reset && p2m_set_entry(p2m, gfn, mfn0, PAGE_ORDER_2M, ++ type0, p2m->default_access) ) ++ { ++ ASSERT_UNREACHABLE(); ++ domain_crash(d); ++ } ++ + out: + gfn_unlock(p2m, gfn, SUPERPAGE_ORDER); + return ret; +@@ -869,19 +880,30 @@ p2m_pod_zero_check(struct p2m_domain *p2m, unsigned long *gfns, int count) + } + + /* Try to remove the page, restoring old mapping if it fails. */ +- p2m_set_entry(p2m, gfns[i], INVALID_MFN, PAGE_ORDER_4K, +- p2m_populate_on_demand, p2m->default_access); ++ if ( p2m_set_entry(p2m, gfns[i], INVALID_MFN, PAGE_ORDER_4K, ++ p2m_populate_on_demand, p2m->default_access) ) ++ goto skip; + + /* See if the page was successfully unmapped. (Allow one refcount + * for being allocated to a domain.) */ + if ( (mfn_to_page(mfns[i])->count_info & PGC_count_mask) > 1 ) + { ++ /* ++ * If the previous p2m_set_entry call succeeded, this one shouldn't ++ * be able to fail. If it does, crashing the domain should be safe. ++ */ ++ if ( p2m_set_entry(p2m, gfns[i], mfns[i], PAGE_ORDER_4K, ++ types[i], p2m->default_access) ) ++ { ++ ASSERT_UNREACHABLE(); ++ domain_crash(d); ++ goto out_unmap; ++ } ++ ++ skip: + unmap_domain_page(map[i]); + map[i] = NULL; + +- p2m_set_entry(p2m, gfns[i], mfns[i], PAGE_ORDER_4K, +- types[i], p2m->default_access); +- + continue; + } + } +@@ -900,12 +922,25 @@ p2m_pod_zero_check(struct p2m_domain *p2m, unsigned long *gfns, int count) + + unmap_domain_page(map[i]); + +- /* See comment in p2m_pod_zero_check_superpage() re gnttab +- * check timing. */ +- if ( j < PAGE_SIZE/sizeof(*map[i]) ) ++ map[i] = NULL; ++ ++ /* ++ * See comment in p2m_pod_zero_check_superpage() re gnttab ++ * check timing. ++ */ ++ if ( j < (PAGE_SIZE / sizeof(*map[i])) ) + { +- p2m_set_entry(p2m, gfns[i], mfns[i], PAGE_ORDER_4K, +- types[i], p2m->default_access); ++ /* ++ * If the previous p2m_set_entry call succeeded, this one shouldn't ++ * be able to fail. If it does, crashing the domain should be safe. ++ */ ++ if ( p2m_set_entry(p2m, gfns[i], mfns[i], PAGE_ORDER_4K, ++ types[i], p2m->default_access) ) ++ { ++ ASSERT_UNREACHABLE(); ++ domain_crash(d); ++ goto out_unmap; ++ } + } + else + { +@@ -929,7 +964,17 @@ p2m_pod_zero_check(struct p2m_domain *p2m, unsigned long *gfns, int count) + p2m->pod.entry_count++; + } + } +- ++ ++ return; ++ ++out_unmap: ++ /* ++ * Something went wrong, probably crashing the domain. Unmap ++ * everything and return. ++ */ ++ for ( i = 0; i < count; i++ ) ++ if ( map[i] ) ++ unmap_domain_page(map[i]); + } + + #define POD_SWEEP_LIMIT 1024 +-- +2.15.0 +
recipes-extended/xen/files/0002-p2m-Check-return-value-of-p2m_set_entry-when-decreas.patch new file +109 -0
109 lines not on this page · raw message
recipes-extended/xen/files/fix-libxc-xc_dom_arm-missing-initialization.patch deleted +0 -36
@@ -1,36 +0,0 @@ -commit 88bfbf90e35f1213f9967a97dee0b2039f9998a4 -Author: Bernd Kuhls <[email protected]> -Date: Sat Aug 19 16:21:42 2017 +0200 - - tools/libxc/xc_dom_arm: add missing variable initialization - - The variable domctl.u.address_size.size may remain uninitialized if - guest_type is not one of xen-3.0-aarch64 or xen-3.0-armv7l. And the - code precisely checks if this variable is still 0 to decide if the - guest type is supported or not. - - This fixes the following build failure with gcc 7.x: - - xc_dom_arm.c:229:31: error: 'domctl.u.address_size.size' may be used uninitialized in this function [-Werror=maybe-uninitialized] - if ( domctl.u.address_size.size == 0 ) - - Patch originally taken from - https://www.mail-archive.com/[email protected]/msg109313.html. - - Signed-off-by: Bernd Kuhls <[email protected]> - Signed-off-by: Thomas Petazzoni <[email protected]> - Acked-by: Wei Liu <[email protected]> - -diff --git a/tools/libxc/xc_dom_arm.c b/tools/libxc/xc_dom_arm.c -index e7d4bd0..e669fb0 100644 ---- a/tools/libxc/xc_dom_arm.c -+++ b/tools/libxc/xc_dom_arm.c -@@ -223,6 +223,8 @@ static int set_mode(xc_interface *xch, domid_t domid, char *guest_type) - - domctl.domain = domid; - domctl.cmd = XEN_DOMCTL_set_address_size; -+ domctl.u.address_size.size = 0; -+ - for ( i = 0; i < ARRAY_SIZE(types); i++ ) - if ( !strcmp(types[i].guest, guest_type) ) - domctl.u.address_size.size = types[i].size;
recipes-extended/xen/files/xsa246-4.9.patch new file +74 -0
74 lines not on this page · raw message
recipes-extended/xen/files/xsa248.patch new file +164 -0
164 lines not on this page · raw message
recipes-extended/xen/files/xsa249.patch new file +42 -0
42 lines not on this page · raw message
recipes-extended/xen/files/xsa250.patch new file +67 -0
67 lines not on this page · raw message
recipes-extended/xen/files/xsa251.patch new file +21 -0
@@ -0,0 +1,21 @@ +From: Jan Beulich <[email protected]> +Subject: x86/paging: don't unconditionally BUG() on finding SHARED_M2P_ENTRY + +PV guests can fully control the values written into the P2M. + +This is XSA-251. + +Signed-off-by: Jan Beulich <[email protected]> +Reviewed-by: Andrew Cooper <[email protected]> + +--- a/xen/arch/x86/mm/paging.c ++++ b/xen/arch/x86/mm/paging.c +@@ -274,7 +274,7 @@ void paging_mark_pfn_dirty(struct domain + return; + + /* Shared MFNs should NEVER be marked dirty */ +- BUG_ON(SHARED_M2P(pfn_x(pfn))); ++ BUG_ON(paging_mode_translate(d) && SHARED_M2P(pfn_x(pfn))); + + /* + * Values with the MSB set denote MFNs that aren't really part of the
recipes-extended/xen/xen_4.9.0.bb deleted +0 -12
@@ -1,12 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" -require xen.inc - -SRC_URI = " \ - https://downloads.xenproject.org/release/xen/${PV}/xen-${PV}.tar.gz \ - file://fix-libxc-xc_dom_arm-missing-initialization.patch \ - " - -SRC_URI[md5sum] = "f0a753637630f982dfbdb64121fd71e1" -SRC_URI[sha256sum] = "cade643fe3310d4d6f97d0c215c6fa323bc1130d7e64d7e2043ffaa73a96f33b" - -S = "${WORKDIR}/xen-${PV}"
recipes-extended/xen/xen_4.9.1.bb new file +18 -0
@@ -0,0 +1,18 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +require xen.inc + +SRC_URI = " \ + https://downloads.xenproject.org/release/xen/${PV}/xen-${PV}.tar.gz \ + file://xsa246-4.9.patch \ + file://0001-p2m-Always-check-to-see-if-removing-a-p2m-entry-actu.patch \ + file://0002-p2m-Check-return-value-of-p2m_set_entry-when-decreas.patch \ + file://xsa248.patch \ + file://xsa249.patch \ + file://xsa250.patch \ + file://xsa251.patch \ + " + +SRC_URI[md5sum] = "8b9d6104694b164d54334194135f7217" +SRC_URI[sha256sum] = "ecf88b01f44cd8f4ef208af3f999dceb69bdd2a316d88dd9a9535ea7b49ed356" + +S = "${WORKDIR}/xen-${PV}"
Signature · 1 line
2.7.4
PATCH 3/5 xen: xen.inc: remove xen-blktap from xen-base RDEPENDS
In reply to [email protected]From: Christopher Clark <[email protected]>
In Xen 4.10, blktap is deprecated and no longer built by default, so make the xen-blktap, xen-libblktap and xen-libvhd packages optional instead of required dependencies for the xen-base package.
Move xen-blktap and related packages to RRECOMMENDS to preserve xen.inc compatability with previous Xen releases.
--- recipes-extended/xen/xen.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-extended/xen/xen.inc +3 -3
@@ -62,15 +62,12 @@ RDEPENDS_${PN} = "" RDEPENDS_${PN}-base = "\ bash perl xz \ - ${PN}-blktap \ ${PN}-console \ - ${PN}-libblktapctl \ ${PN}-libxenguest \ ${PN}-libxenlight \ ${PN}-libxenvchan \ ${PN}-libxenctrl \ ${PN}-libxlutil \ - ${PN}-libvhd \ ${PN}-libxenstat \ ${PN}-libxenstore \ ${PN}-libfsimage \
@@ -88,7 +85,10 @@ RDEPENDS_${PN}-base = "\ RDEPENDS_${PN}-dev = "" RRECOMMENDS_${PN}-base = " \ + ${PN}-blktap \ ${PN}-libblktap \ + ${PN}-libblktapctl \ + ${PN}-libvhd \ ${PN}-flask \ ${PN}-hvmloader \ ${PN}-xenpaging \
Signature · 1 line
2.7.4
PATCH 4/5 xen: add recipe for Xen 4.10.0
In reply to [email protected]From: Christopher Clark <[email protected]>
Introduce the recipe for Xen 4.10.0.
--- recipes-extended/xen/xen_4.10.0.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 recipes-extended/xen/xen_4.10.0.bb
recipes-extended/xen/xen_4.10.0.bb new file +10 -0
@@ -0,0 +1,10 @@ +require xen.inc + +SRC_URI = " \ + https://downloads.xenproject.org/release/xen/${PV}/xen-${PV}.tar.gz \ + " + +SRC_URI[md5sum] = "ab9d320d02cb40f6b40506aed1a38d58" +SRC_URI[sha256sum] = "0262a7023f8b12bcacfb0b25e69b2a63291f944f7683d54d8f33d4b2ca556844" + +S = "${WORKDIR}/xen-${PV}"
Signature · 1 line
2.7.4
PATCH 5/5 xen: for 4.10.0: XSA-253 / CVE-2018-5244 patch
In reply to [email protected]From: Christopher Clark <[email protected]>
Fix a memory leak with MSR emulation on x86.
---
This patch is only required for Xen 4.10.0 and not for Xen 4.9.x.
recipes-extended/xen/files/xsa253.patch | 26 ++++++++++++++++++++++++++ recipes-extended/xen/xen_4.10.0.bb | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 recipes-extended/xen/files/xsa253.patch
recipes-extended/xen/files/xsa253.patch new file +26 -0
@@ -0,0 +1,26 @@ +From: Andrew Cooper <[email protected]> +Subject: x86/msr: Free msr_vcpu_policy during vcpu destruction + +c/s 4187f79dc7 "x86/msr: introduce struct msr_vcpu_policy" introduced a +per-vcpu memory allocation, but failed to free it in the clean vcpu +destruction case. + +This is XSA-253 + +Signed-off-by: Andrew Cooper <[email protected]> +Reviewed-by: Jan Beulich <[email protected]> + +diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c +index b17468c..0ae715d 100644 +--- a/xen/arch/x86/domain.c ++++ b/xen/arch/x86/domain.c +@@ -382,6 +382,9 @@ void vcpu_destroy(struct vcpu *v) + + vcpu_destroy_fpu(v); + ++ xfree(v->arch.msr); ++ v->arch.msr = NULL; ++ + if ( !is_idle_domain(v->domain) ) + vpmu_destroy(v); +
recipes-extended/xen/xen_4.10.0.bb +2 -0
@@ -1,7 +1,9 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" require xen.inc SRC_URI = " \ https://downloads.xenproject.org/release/xen/${PV}/xen-${PV}.tar.gz \ + file://xsa253.patch \ " SRC_URI[md5sum] = "ab9d320d02cb40f6b40506aed1a38d58"
Signature · 1 line
2.7.4
Quoted 11 lines · On Mon, Jan 8, 2018 at 11:12 PM, <[email protected]> wrote:
From: Christopher Clark <[email protected]>
A short patch series to:
* Introduce support for Xen 4.10.0
- package a new library, libxentoolcore, and a new tool, xen-diag
- make the deprecated blktap packages optional for xen-base -- it no longer RDEPENDS upon them, but RRECOMMENDS instead to retain xen.inc compatability with earlier Xen releases
- and apply a patch for XSA-253 / CVE-2018-5244
Quoted 4 lines
* Upgrade the Xen 4.9 series recipe to latest 4.9.1
- and apply XSA/CVE patchesSigned-off-by Christopher Clark <[email protected]>
Cool!
For the whole series:
Alistair
Quoted 45 lines
(Please use my gmail address for correspondence.)
Christopher Clark (5):
xen: upgrade 4.9.x recipe to 4.9.1 and apply XSA/CVE fix patches
xen: Package libxentoolcore and xen-diag, introduced in Xen 4.10
xen: xen.inc: remove xen-blktap from xen-base RDEPENDS
xen: add recipe for Xen 4.10.0
xen: Apply patch for CVE-2018-5244 / XSA-253...check-to-see-if-removing-a-p2m-entry-actu.patch | 176 +++++++++++++++++++++ ...eturn-value-of-p2m_set_entry-when-decreas.patch | 109 +++++++++++++ ...x-libxc-xc_dom_arm-missing-initialization.patch | 36 ----- recipes-extended/xen/files/xsa246-4.9.patch | 74 +++++++++ recipes-extended/xen/files/xsa248.patch | 164 +++++++++++++++++++ recipes-extended/xen/files/xsa249.patch | 42 +++++ recipes-extended/xen/files/xsa250.patch | 67 ++++++++ recipes-extended/xen/files/xsa251.patch | 21 +++ recipes-extended/xen/files/xsa253.patch | 26 +++ recipes-extended/xen/xen.inc | 15 +- recipes-extended/xen/xen_4.10.0.bb | 12 ++ recipes-extended/xen/xen_4.9.0.bb | 12 -- recipes-extended/xen/xen_4.9.1.bb | 18 +++ 13 files changed, 721 insertions(+), 51 deletions(-) create mode 100644 recipes-extended/xen/files/0001-p2m-Always-check-to-see-if-removing-a-p2m-entry-actu.patch create mode 100644 recipes-extended/xen/files/0002-p2m-Check-return-value-of-p2m_set_entry-when-decreas.patch delete mode 100644 recipes-extended/xen/files/fix-libxc-xc_dom_arm-missing-initialization.patch create mode 100644 recipes-extended/xen/files/xsa246-4.9.patch create mode 100644 recipes-extended/xen/files/xsa248.patch create mode 100644 recipes-extended/xen/files/xsa249.patch create mode 100644 recipes-extended/xen/files/xsa250.patch create mode 100644 recipes-extended/xen/files/xsa251.patch create mode 100644 recipes-extended/xen/files/xsa253.patch create mode 100644 recipes-extended/xen/xen_4.10.0.bb delete mode 100644 recipes-extended/xen/xen_4.9.0.bb create mode 100644 recipes-extended/xen/xen_4.9.1.bb--
2.7.4--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
I see no objections on the list, so this is now merged.
Thanks for the updates!
Bruce
Quoted 55 lines · On Tue, Jan 9, 2018 at 2:12 AM, <[email protected]> wrote:
From: Christopher Clark <[email protected]>
A short patch series to:
* Introduce support for Xen 4.10.0
- package a new library, libxentoolcore, and a new tool, xen-diag
- make the deprecated blktap packages optional for xen-base -- it no longer RDEPENDS upon them, but RRECOMMENDS instead to retain xen.inc compatability with earlier Xen releases
- and apply a patch for XSA-253 / CVE-2018-5244* Upgrade the Xen 4.9 series recipe to latest 4.9.1
- and apply XSA/CVE patchesSigned-off-by Christopher Clark <[email protected]>(Please use my gmail address for correspondence.)
Christopher Clark (5):
xen: upgrade 4.9.x recipe to 4.9.1 and apply XSA/CVE fix patches
xen: Package libxentoolcore and xen-diag, introduced in Xen 4.10
xen: xen.inc: remove xen-blktap from xen-base RDEPENDS
xen: add recipe for Xen 4.10.0
xen: Apply patch for CVE-2018-5244 / XSA-253...check-to-see-if-removing-a-p2m-entry-actu.patch | 176 +++++++++++++++++++++ ...eturn-value-of-p2m_set_entry-when-decreas.patch | 109 +++++++++++++ ...x-libxc-xc_dom_arm-missing-initialization.patch | 36 ----- recipes-extended/xen/files/xsa246-4.9.patch | 74 +++++++++ recipes-extended/xen/files/xsa248.patch | 164 +++++++++++++++++++ recipes-extended/xen/files/xsa249.patch | 42 +++++ recipes-extended/xen/files/xsa250.patch | 67 ++++++++ recipes-extended/xen/files/xsa251.patch | 21 +++ recipes-extended/xen/files/xsa253.patch | 26 +++ recipes-extended/xen/xen.inc | 15 +- recipes-extended/xen/xen_4.10.0.bb | 12 ++ recipes-extended/xen/xen_4.9.0.bb | 12 -- recipes-extended/xen/xen_4.9.1.bb | 18 +++ 13 files changed, 721 insertions(+), 51 deletions(-) create mode 100644 recipes-extended/xen/files/0001-p2m-Always-check-to-see-if-removing-a-p2m-entry-actu.patch create mode 100644 recipes-extended/xen/files/0002-p2m-Check-return-value-of-p2m_set_entry-when-decreas.patch delete mode 100644 recipes-extended/xen/files/fix-libxc-xc_dom_arm-missing-initialization.patch create mode 100644 recipes-extended/xen/files/xsa246-4.9.patch create mode 100644 recipes-extended/xen/files/xsa248.patch create mode 100644 recipes-extended/xen/files/xsa249.patch create mode 100644 recipes-extended/xen/files/xsa250.patch create mode 100644 recipes-extended/xen/files/xsa251.patch create mode 100644 recipes-extended/xen/files/xsa253.patch create mode 100644 recipes-extended/xen/xen_4.10.0.bb delete mode 100644 recipes-extended/xen/xen_4.9.0.bb create mode 100644 recipes-extended/xen/xen_4.9.1.bb--
2.7.4
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"