c608e23838
Turn off building the KMPs now that we are using the pvops kernel xen.spec - Upstream patches from Jan 561bbc8b-VT-d-don-t-suppress-invalidation-address-write-when-it-is-zero.patch 561d20a0-x86-hide-MWAITX-from-PV-domains.patch 561e3283-x86-NUMA-fix-SRAT-table-processor-entry-parsing-and-consumption.patch 5632118e-arm-Support-hypercall_create_continuation-for-multicall.patch 56321222-arm-rate-limit-logging-from-unimplemented-PHYSDEVOP-and-HVMOP.patch 56321249-arm-handle-races-between-relinquish_memory-and-free_domheap_pages.patch 5632127b-x86-guard-against-undue-super-page-PTE-creation.patch 5632129c-free-domain-s-vcpu-array.patch (Replaces CVE-2015-7969-xsa149.patch) 563212c9-x86-PoD-Eager-sweep-for-zeroed-pages.patch 563212e4-xenoprof-free-domain-s-vcpu-array.patch 563212ff-x86-rate-limit-logging-in-do_xen-oprof-pmu-_op.patch 56323737-libxl-adjust-PoD-target-by-memory-fudge-too.patch 56377442-x86-PoD-Make-p2m_pod_empty_cache-restartable.patch 5641ceec-x86-HVM-always-intercept-AC-and-DB.patch (Replaces CVE-2015-5307-xsa156.patch) 5644b756-x86-HVM-don-t-inject-DB-with-error-code.patch - Dropped 55b0a2db-x86-MSI-track-guest-masking.patch - Use upstream variants of block-iscsi and block-nbd - Remove xenalyze.hg, its part of xen-4.6 OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=389
50 lines
1.7 KiB
Diff
50 lines
1.7 KiB
Diff
# Commit 29bcf64ce8bc0b1b7aacd00c8668f255c4f0686c
|
|
# Date 2015-10-29 13:31:10 +0100
|
|
# Author Julien Grall <julien.grall@citrix.com>
|
|
# Committer Jan Beulich <jbeulich@suse.com>
|
|
arm: Support hypercall_create_continuation for multicall
|
|
|
|
Multicall for ARM has been supported since commit f0dbdc6 "xen: arm: fully
|
|
implement multicall interface.". Although, if an hypercall in multicall
|
|
requires preemption, it will crash the host:
|
|
|
|
(XEN) Xen BUG at domain.c:347
|
|
(XEN) ----[ Xen-4.7-unstable arm64 debug=y Tainted: C ]----
|
|
[...]
|
|
(XEN) Xen call trace:
|
|
(XEN) [<00000000002420cc>] hypercall_create_continuation+0x64/0x380 (PC)
|
|
(XEN) [<0000000000217274>] do_memory_op+0x1b00/0x2334 (LR)
|
|
(XEN) [<0000000000250d2c>] do_multicall_call+0x114/0x124
|
|
(XEN) [<0000000000217ff0>] do_multicall+0x17c/0x23c
|
|
(XEN) [<000000000024f97c>] do_trap_hypercall+0x90/0x12c
|
|
(XEN) [<0000000000251ca8>] do_trap_hypervisor+0xd2c/0x1ba4
|
|
(XEN) [<00000000002582cc>] guest_sync+0x88/0xb8
|
|
(XEN)
|
|
(XEN)
|
|
(XEN) ****************************************
|
|
(XEN) Panic on CPU 5:
|
|
(XEN) Xen BUG at domain.c:347
|
|
(XEN) ****************************************
|
|
(XEN)
|
|
(XEN) Manual reset required ('noreboot' specified)
|
|
|
|
Looking to the code, the support of multicall looks valid to me, as we only
|
|
need to fill call.args[...]. So drop the BUG();
|
|
|
|
This is CVE-2015-7812 / XSA-145.
|
|
|
|
Signed-off-by: Julien Grall <julien.grall@citrix.com>
|
|
Acked-by: Ian Campbell <ian.campbell@citrix.com>
|
|
|
|
--- a/xen/arch/arm/domain.c
|
|
+++ b/xen/arch/arm/domain.c
|
|
@@ -344,8 +344,6 @@ unsigned long hypercall_create_continuat
|
|
|
|
if ( test_bit(_MCSF_in_multicall, &mcs->flags) )
|
|
{
|
|
- BUG(); /* XXX multicalls not implemented yet. */
|
|
-
|
|
__set_bit(_MCSF_call_preempted, &mcs->flags);
|
|
|
|
for ( i = 0; *p != '\0'; i++ )
|