52651: regressions - FAIL
osstest service user
Reviewed-by Jan Beulich Acked-by Ian Campbell Acked-by Jan Beulich Acked-by Ian Campbellflight 52651 xen-4.2-testing real [real]
http://logs.test-lab.xenproject.org/osstest/logs/52651/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-xl-qemuu-debianhvm-amd64 5 xen-install fail REGR. vs. 36512 test-amd64-i386-qemut-rhel6hvm-intel 9 redhat-install fail REGR. vs. 36512 test-amd64-amd64-pv 17 guest-localmigrate/x10 fail REGR. vs. 36512 test-i386-i386-pv 10 debian-fixup fail REGR. vs. 36512 test-amd64-amd64-xl-multivcpu 15 guest-saverestore.2 fail REGR. vs. 36512 test-amd64-amd64-xl-qemut-debianhvm-amd64 9 debian-hvm-install fail REGR. vs. 36512 test-amd64-i386-xl 17 guest-localmigrate/x10 fail REGR. vs. 36512 test-amd64-i386-qemut-rhel6hvm-amd 9 redhat-install fail REGR. vs. 36512 test-amd64-i386-xl-qemut-debianhvm-amd64 14 guest-localmigrate.2 fail REGR. vs. 36512 test-amd64-i386-rhel6hvm-amd 9 redhat-install fail REGR. vs. 36512 test-amd64-i386-pair 9 xen-boot/src_host fail REGR. vs. 36512
Regressions which are regarded as allowable (not blocking):
test-amd64-amd64-xl-sedf-pin 17 guest-localmigrate/x10 fail REGR. vs. 36512
test-amd64-i386-xl-qemuu-win7-amd64 12 guest-localmigrate fail REGR. vs. 36512 test-amd64-amd64-xl-credit2 20 guest-start/debian.repeat fail blocked in 36512
test-amd64-amd64-xl 20 guest-start/debian.repeat fail blocked in 36512 test-i386-i386-xl 20 guest-start/debian.repeat fail blocked in 36512 test-amd64-i386-pv 20 guest-start/debian.repeat fail blocked in 36512
test-i386-i386-xl-multivcpu 20 guest-start/debian.repeat fail blocked in 36512
Tests which did not succeed, but are not blocking:
test-amd64-amd64-rumpuserxen-amd64 1 build-check(1) blocked n/a
test-i386-i386-rumpuserxen-i386 1 build-check(1) blocked n/a
test-amd64-i386-rumpuserxen-i386 1 build-check(1) blocked n/a
build-i386-rumpuserxen 5 rumpuserxen-build fail never pass
test-amd64-i386-xl-qemuu-ovmf-amd64 9 debian-hvm-install fail never pass
test-amd64-amd64-xl-qemuu-ovmf-amd64 9 debian-hvm-install fail never pass
test-amd64-i386-libvirt 12 migrate-support-check fail never pass
test-amd64-i386-xl-qemut-winxpsp3-vcpus1 16 guest-stop fail never pass
test-amd64-amd64-xl-qemut-win7-amd64 16 guest-stop fail never pass
test-i386-i386-libvirt 12 migrate-support-check fail never pass test-amd64-amd64-libvirt 12 migrate-support-check fail never pass test-amd64-i386-xl-win7-amd64 16 guest-stop fail never pass test-amd64-amd64-xl-winxpsp3 16 guest-stop fail never pass test-amd64-amd64-xl-qemut-winxpsp3 16 guest-stop fail never pass test-i386-i386-xl-winxpsp3 16 guest-stop fail never pass test-amd64-i386-xl-qemut-win7-amd64 16 guest-stop fail never pass test-i386-i386-xl-qemuu-winxpsp3 16 guest-stop fail never pass test-amd64-amd64-xl-qemuu-winxpsp3 16 guest-stop fail never pass test-i386-i386-xl-qemut-winxpsp3 16 guest-stop fail never pass test-amd64-amd64-xl-win7-amd64 16 guest-stop fail never pass test-amd64-amd64-xl-qemuu-win7-amd64 16 guest-stop fail never pass test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 16 guest-stop fail never pass
test-amd64-i386-xend-winxpsp3 20 leak-check/check fail never pass
test-amd64-i386-xend-qemut-winxpsp3 20 leak-check/check fail never pass
test-amd64-i386-xl-winxpsp3-vcpus1 16 guest-stop fail never pass
build-amd64-rumpuserxen 5 rumpuserxen-build fail never pass
version targeted for testing:
xen 7e527e2ab6c95ef84035d02e9e50b956a0d469c9
baseline version:
xen 5bec01c19839e150e489dd04376c65f961830c86
------------------------------------------------------------
People who touched revisions under test:
Andrew Cooper <[email protected]>
Ian Campbell <[email protected]>
Ian Jackson <[email protected]>
Jan Beulich <[email protected]>
Konrad Rzeszutek Wilk <[email protected]>
------------------------------------------------------------
jobs:
build-amd64 pass build-i386 pass build-amd64-libvirt pass build-i386-libvirt pass build-amd64-pvops pass build-i386-pvops pass build-amd64-rumpuserxen fail build-i386-rumpuserxen fail test-amd64-amd64-xl fail test-amd64-i386-xl fail test-i386-i386-xl fail test-amd64-i386-rhel6hvm-amd fail test-amd64-i386-qemut-rhel6hvm-amd fail test-amd64-i386-qemuu-rhel6hvm-amd pass test-amd64-amd64-xl-qemut-debianhvm-amd64 fail test-amd64-i386-xl-qemut-debianhvm-amd64 fail test-amd64-amd64-xl-qemuu-debianhvm-amd64 pass test-amd64-i386-xl-qemuu-debianhvm-amd64 fail test-amd64-i386-qemuu-freebsd10-amd64 pass test-amd64-amd64-xl-qemuu-ovmf-amd64 fail test-amd64-i386-xl-qemuu-ovmf-amd64 fail test-amd64-amd64-rumpuserxen-amd64 blocked test-amd64-amd64-xl-qemut-win7-amd64 fail test-amd64-i386-xl-qemut-win7-amd64 fail test-amd64-amd64-xl-qemuu-win7-amd64 fail test-amd64-i386-xl-qemuu-win7-amd64 fail test-amd64-amd64-xl-win7-amd64 fail test-amd64-i386-xl-win7-amd64 fail test-amd64-amd64-xl-credit2 fail test-i386-i386-xl-credit2 pass test-amd64-i386-qemuu-freebsd10-i386 pass test-amd64-i386-rumpuserxen-i386 blocked test-i386-i386-rumpuserxen-i386 blocked test-amd64-i386-rhel6hvm-intel pass test-amd64-i386-qemut-rhel6hvm-intel fail test-amd64-i386-qemuu-rhel6hvm-intel pass test-amd64-amd64-libvirt pass test-amd64-i386-libvirt pass test-i386-i386-libvirt pass test-amd64-amd64-xl-multivcpu fail test-i386-i386-xl-multivcpu fail test-amd64-amd64-pair pass test-amd64-i386-pair fail test-i386-i386-pair pass test-amd64-amd64-xl-sedf-pin fail test-i386-i386-xl-sedf-pin pass test-amd64-amd64-pv fail test-amd64-i386-pv fail test-i386-i386-pv fail test-amd64-amd64-xl-sedf pass test-i386-i386-xl-sedf pass test-amd64-i386-xl-qemut-winxpsp3-vcpus1 fail test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 fail test-amd64-i386-xl-winxpsp3-vcpus1 fail test-amd64-i386-xend-qemut-winxpsp3 fail test-amd64-amd64-xl-qemut-winxpsp3 fail test-i386-i386-xl-qemut-winxpsp3 fail test-amd64-amd64-xl-qemuu-winxpsp3 fail test-i386-i386-xl-qemuu-winxpsp3 fail test-amd64-i386-xend-winxpsp3 fail test-amd64-amd64-xl-winxpsp3 fail test-i386-i386-xl-winxpsp3 fail
------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/osstest/pub/logs
images: /home/osstest/pub/images
Logs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logs
Test harness code can be found at
http://xenbits.xen.org/gitweb?p=osstest.git;a=summary
Not pushing.
------------------------------------------------------------
commit 7e527e2ab6c95ef84035d02e9e50b956a0d469c9
Author: Andrew Cooper <[email protected]> Date: Tue Apr 21 09:27:07 2015 +0200
domctl/sysctl: don't leak hypervisor stack to toolstacks
This is CVE-2015-3340 / XSA-132.
master commit: 4ff3449f0e9d175ceb9551d3f2aecb59273f639d master date: 2015-04-21 09:03:15 +0200
commit e3bfa4003ceaa2746cdd77655953ab2601acaf9c
Author: Konrad Rzeszutek Wilk <[email protected]> Date: Wed Apr 1 10:12:19 2015 +0100
Limit XEN_DOMCTL_memory_mapping hypercall to only process up to 64 GFNs (or less)
Said hypercall for large BARs can take quite a while. As such we can require that the hypercall MUST break up the request in smaller values.
Another approach is to add preemption to it - whether we do the preemption using hypercall_create_continuation or returning EAGAIN to userspace (and have it re-invocate the call) - either way the issue we cannot easily solve is that in 'map_mmio_regions' if we encounter an error we MUST call 'unmap_mmio_regions' for the whole BAR region.
Since the preemption would re-use input fields such as nr_mfns, first_gfn, first_mfn - we would lose the original values - and only undo what was done in the current round (i.e. ignoring anything that was done prior to earlier preemptions).
Unless we re-used the return value as 'EAGAIN|nr_mfns_done<<10' but that puts a limit (since the return value is a long) on the amount of nr_mfns that can provided.
This patch sidesteps this problem by:
- Setting an hard limit of nr_mfns having to be 64 or less.
- Toolstack adjusts correspondingly to the nr_mfn limit.
- If the there is an error when adding the toolstack will call the remove operation to remove the whole region.
The need to break this hypercall down is for large BARs can take more than the guest (initial domain usually) time-slice. This has the negative result in that the guest is locked out for a long duration and is unable to act on any pending events.
We also augment the code to return zero if nr_mfns instead of trying to the hypercall.
This is XSA-125 / CVE-2015-2752.
commit 70bca60d35f02f512548d15b62863d366461be6f
Author: Ian Jackson <[email protected]> Date: Tue Mar 31 16:35:14 2015 +0100
QEMU_TAG update
(qemu changes not included)