Skip to contentSkip to conversation

53898: trouble: pass/preparing/queued/running

xen-4.3-testing test osstest service user 2 participants 2 messages May 8, 2015

lore
Share & tools
lore

osstest service user

author Reviewed-by Jan Beulich Acked-by Ian Campbell Reviewed-by Jan Beulich Acked-by Ian Campbell Acked-by Jan Beulich Acked-by Ian Campbell
#0 lore raw

flight 53898 xen-4.3-testing running [real]
http://logs.test-lab.xenproject.org/osstest/logs/53898/

Failures and problems with tests :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-rumpuserxen-amd64 <none executed> queued
test-amd64-i386-rumpuserxen-i386 <none executed> queued
test-amd64-amd64-xl-qemuu-ovmf-amd64 <none executed> queued
build-i386-libvirt <none executed> queued
test-amd64-i386-xl-qemuu-ovmf-amd64 <none executed> queued
test-amd64-i386-freebsd10-amd64 <none executed> queued

 test-armhf-armhf-xl-sedf        <none executed>              queued
 test-armhf-armhf-xl-arndale     <none executed>              queued
 test-armhf-armhf-xl-sedf-pin    <none executed>              queued
 test-amd64-amd64-pv             <none executed>              queued
 test-amd64-amd64-xl-multivcpu    <none executed>              queued
 test-amd64-i386-pv              <none executed>              queued
 test-armhf-armhf-xl             <none executed>              queued
 test-amd64-amd64-xl-sedf-pin    <none executed>              queued
 test-amd64-amd64-libvirt        <none executed>              queued
 test-amd64-amd64-xl-sedf        <none executed>              queued
 build-amd64-libvirt             <none executed>              queued
 test-armhf-armhf-xl-cubietruck    <none executed>              queued
 test-armhf-armhf-xl-multivcpu    <none executed>              queued
 test-amd64-i386-qemuu-rhel6hvm-intel    <none executed>              queued
 test-amd64-amd64-xl-credit2     <none executed>              queued
 test-amd64-i386-qemut-rhel6hvm-intel    <none executed>              queued
 test-amd64-i386-xl              <none executed>              queued
 test-amd64-i386-qemut-rhel6hvm-amd    <none executed>              queued
 test-amd64-i386-qemuu-rhel6hvm-amd    <none executed>              queued
 test-armhf-armhf-libvirt        <none executed>              queued
 test-amd64-i386-libvirt         <none executed>              queued
 test-amd64-amd64-xl-qemuu-debianhvm-amd64    <none executed>            queued
 test-amd64-i386-xl-qemut-debianhvm-amd64    <none executed>             queued
 test-armhf-armhf-xl-credit2     <none executed>              queued
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1    <none executed>             queued
 test-amd64-amd64-xl-qemut-winxpsp3    <none executed>              queued
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1    <none executed>             queued
 test-amd64-amd64-xl-qemuu-winxpsp3    <none executed>              queued
 test-amd64-amd64-xl-qemuu-win7-amd64    <none executed>              queued
 test-amd64-amd64-xl             <none executed>              queued
 test-amd64-i386-freebsd10-i386    <none executed>              queued
 test-amd64-i386-xl-qemut-win7-amd64    <none executed>              queued
 test-amd64-i386-xl-qemuu-debianhvm-amd64    <none executed>             queued
 test-amd64-amd64-pair           <none executed>              queued
 test-amd64-amd64-xl-qemut-debianhvm-amd64    <none executed>            queued
 test-amd64-amd64-xl-qemut-win7-amd64    <none executed>              queued
 build-i386-rumpuserxen          <none executed>              queued
 test-amd64-i386-xl-qemuu-win7-amd64    <none executed>              queued
 test-amd64-i386-pair            <none executed>              queued
 build-amd64-rumpuserxen         <none executed>              queued
 test-amd64-i386-xend-qemut-winxpsp3    <none executed>              queued
 build-i386                    4 STARTING                     running
 build-armhf-libvirt           5 libvirt-build                running
 build-amd64                   2 hosts-allocate               running
 build-amd64-pvops             2 hosts-allocate               running
 build-i386-pvops              2 hosts-allocate               running
 build-armhf-pvops             5 kernel-build                 running

version targeted for testing:
xen 58db71c5cdd48126b9380c230dc5b61554bad7d8
baseline version:
xen c58b16ef1572176cf2f6a424b527b5ed4bb73f17

------------------------------------------------------------
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                                                  preparing
 build-armhf                                                  pass    
 build-i386                                                   preparing
 build-amd64-libvirt                                          queued  
 build-armhf-libvirt                                          running 
 build-i386-libvirt                                           queued  
 build-amd64-pvops                                            preparing
 build-armhf-pvops                                            running 
 build-i386-pvops                                             preparing
 build-amd64-rumpuserxen                                      queued  
 build-i386-rumpuserxen                                       queued  
 test-amd64-amd64-xl                                          queued  
 test-armhf-armhf-xl                                          queued  
 test-amd64-i386-xl                                           queued  
 test-amd64-i386-qemut-rhel6hvm-amd                           queued  
 test-amd64-i386-qemuu-rhel6hvm-amd                           queued  
 test-amd64-amd64-xl-qemut-debianhvm-amd64                    queued  
 test-amd64-i386-xl-qemut-debianhvm-amd64                     queued  
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    queued  
 test-amd64-i386-xl-qemuu-debianhvm-amd64                     queued  
 test-amd64-i386-freebsd10-amd64                              queued  
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         queued  
 test-amd64-i386-xl-qemuu-ovmf-amd64                          queued  
 test-amd64-amd64-rumpuserxen-amd64                           queued  
 test-amd64-amd64-xl-qemut-win7-amd64                         queued  
 test-amd64-i386-xl-qemut-win7-amd64                          queued  
 test-amd64-amd64-xl-qemuu-win7-amd64                         queued  
 test-amd64-i386-xl-qemuu-win7-amd64                          queued  
 test-armhf-armhf-xl-arndale                                  queued  
 test-amd64-amd64-xl-credit2                                  queued  
 test-armhf-armhf-xl-credit2                                  queued  
 test-armhf-armhf-xl-cubietruck                               queued  
 test-amd64-i386-freebsd10-i386                               queued  
 test-amd64-i386-rumpuserxen-i386                             queued  
 test-amd64-i386-qemut-rhel6hvm-intel                         queued  
 test-amd64-i386-qemuu-rhel6hvm-intel                         queued  
 test-amd64-amd64-libvirt                                     queued  
 test-armhf-armhf-libvirt                                     queued  
 test-amd64-i386-libvirt                                      queued  
 test-amd64-amd64-xl-multivcpu                                queued  
 test-armhf-armhf-xl-multivcpu                                queued  
 test-amd64-amd64-pair                                        queued  
 test-amd64-i386-pair                                         queued  
 test-amd64-amd64-xl-sedf-pin                                 queued  
 test-armhf-armhf-xl-sedf-pin                                 queued  
 test-amd64-amd64-pv                                          queued  
 test-amd64-i386-pv                                           queued  
 test-amd64-amd64-xl-sedf                                     queued  
 test-armhf-armhf-xl-sedf                                     queued  
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     queued  
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     queued  
 test-amd64-i386-xend-qemut-winxpsp3                          queued  
 test-amd64-amd64-xl-qemut-winxpsp3                           queued  
 test-amd64-amd64-xl-qemuu-winxpsp3                           queued  

------------------------------------------------------------
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

broken-job test-amd64-amd64-rumpuserxen-amd64 queued broken-job test-amd64-i386-rumpuserxen-i386 queued broken-job test-amd64-amd64-xl-qemuu-ovmf-amd64 queued broken-job build-i386-libvirt queued
broken-job test-amd64-i386-xl-qemuu-ovmf-amd64 queued broken-job test-amd64-i386-freebsd10-amd64 queued broken-job test-armhf-armhf-xl-sedf queued broken-job test-armhf-armhf-xl-arndale queued broken-job test-armhf-armhf-xl-sedf-pin queued broken-job test-amd64-amd64-pv queued
broken-job test-amd64-amd64-xl-multivcpu queued broken-job test-amd64-i386-pv queued
broken-job test-armhf-armhf-xl queued
broken-job test-amd64-amd64-xl-sedf-pin queued broken-job test-amd64-amd64-libvirt queued broken-job test-amd64-amd64-xl-sedf queued broken-job build-amd64-libvirt queued
broken-job test-armhf-armhf-xl-cubietruck queued broken-job test-armhf-armhf-xl-multivcpu queued broken-job test-amd64-i386-qemuu-rhel6hvm-intel queued broken-job test-amd64-amd64-xl-credit2 queued broken-job test-amd64-i386-qemut-rhel6hvm-intel queued broken-job test-amd64-i386-xl queued
broken-job test-amd64-i386-qemut-rhel6hvm-amd queued broken-job test-amd64-i386-qemuu-rhel6hvm-amd queued broken-job test-armhf-armhf-libvirt queued broken-job test-amd64-i386-libvirt queued broken-job test-amd64-amd64-xl-qemuu-debianhvm-amd64 queued broken-job test-amd64-i386-xl-qemut-debianhvm-amd64 queued broken-job test-armhf-armhf-xl-credit2 queued broken-job test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 queued broken-job test-amd64-amd64-xl-qemut-winxpsp3 queued broken-job test-amd64-i386-xl-qemut-winxpsp3-vcpus1 queued broken-job test-amd64-amd64-xl-qemuu-winxpsp3 queued broken-job test-amd64-amd64-xl-qemuu-win7-amd64 queued broken-job test-amd64-amd64-xl queued
broken-job test-amd64-i386-freebsd10-i386 queued broken-job test-amd64-i386-xl-qemut-win7-amd64 queued broken-job test-amd64-i386-xl-qemuu-debianhvm-amd64 queued broken-job test-amd64-amd64-pair queued
broken-job test-amd64-amd64-xl-qemut-debianhvm-amd64 queued broken-job test-amd64-amd64-xl-qemut-win7-amd64 queued broken-job build-i386-rumpuserxen queued broken-job test-amd64-i386-xl-qemuu-win7-amd64 queued broken-job test-amd64-i386-pair queued
broken-job build-amd64-rumpuserxen queued broken-job test-amd64-i386-xend-qemut-winxpsp3 queued

Not pushing.

------------------------------------------------------------
commit 58db71c5cdd48126b9380c230dc5b61554bad7d8

Author: Andrew Cooper <[email protected]>
Date:   Tue Apr 21 09:25:03 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 46ed0083a76efa82713ea979b312fa69250380b2

Author: Andrew Cooper <[email protected]>
Date:   Wed Apr 1 10:11:30 2015 +0100

domctl: don't allow a toolstack domain to call domain_pause() on itself

These DOMCTL subops were accidentally declared safe for disaggregation in the wake of XSA-77.

This is XSA-127 / CVE-2015-2751.

commit 18856366dceb254f16577113e11e4bb94cdc59d9

Author: Konrad Rzeszutek Wilk <[email protected]>
Date:   Wed Apr 1 10:11:28 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 2d63e96d82f67371cb55c7b13b1a80e9a7fac496

Author: Ian Jackson <[email protected]>
Date:   Tue Mar 31 16:31:37 2015 +0100

QEMU_TAG update
(qemu changes not included)

#1 lore raw
Quoted 4 lines · osstest service user

flight 53898 xen-4.3-testing running [real]
http://logs.test-lab.xenproject.org/osstest/logs/53898/

Failures and problems with tests :-(

Killed, see <[email protected]> which was a force push of the result of flight 53768 which this was retesting.

Quoted 277 lines

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-rumpuserxen-amd64 <none executed> queued
test-amd64-i386-rumpuserxen-i386 <none executed> queued
test-amd64-amd64-xl-qemuu-ovmf-amd64 <none executed> queued
build-i386-libvirt <none executed> queued
test-amd64-i386-xl-qemuu-ovmf-amd64 <none executed> queued
test-amd64-i386-freebsd10-amd64 <none executed> queued

 test-armhf-armhf-xl-sedf        <none executed>              queued
 test-armhf-armhf-xl-arndale     <none executed>              queued
 test-armhf-armhf-xl-sedf-pin    <none executed>              queued
 test-amd64-amd64-pv             <none executed>              queued
 test-amd64-amd64-xl-multivcpu    <none executed>              queued
 test-amd64-i386-pv              <none executed>              queued
 test-armhf-armhf-xl             <none executed>              queued
 test-amd64-amd64-xl-sedf-pin    <none executed>              queued
 test-amd64-amd64-libvirt        <none executed>              queued
 test-amd64-amd64-xl-sedf        <none executed>              queued
 build-amd64-libvirt             <none executed>              queued
 test-armhf-armhf-xl-cubietruck    <none executed>              queued
 test-armhf-armhf-xl-multivcpu    <none executed>              queued
 test-amd64-i386-qemuu-rhel6hvm-intel    <none executed>              queued
 test-amd64-amd64-xl-credit2     <none executed>              queued
 test-amd64-i386-qemut-rhel6hvm-intel    <none executed>              queued
 test-amd64-i386-xl              <none executed>              queued
 test-amd64-i386-qemut-rhel6hvm-amd    <none executed>              queued
 test-amd64-i386-qemuu-rhel6hvm-amd    <none executed>              queued
 test-armhf-armhf-libvirt        <none executed>              queued
 test-amd64-i386-libvirt         <none executed>              queued
 test-amd64-amd64-xl-qemuu-debianhvm-amd64    <none executed>            queued
 test-amd64-i386-xl-qemut-debianhvm-amd64    <none executed>             queued
 test-armhf-armhf-xl-credit2     <none executed>              queued
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1    <none executed>             queued
 test-amd64-amd64-xl-qemut-winxpsp3    <none executed>              queued
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1    <none executed>             queued
 test-amd64-amd64-xl-qemuu-winxpsp3    <none executed>              queued
 test-amd64-amd64-xl-qemuu-win7-amd64    <none executed>              queued
 test-amd64-amd64-xl             <none executed>              queued
 test-amd64-i386-freebsd10-i386    <none executed>              queued
 test-amd64-i386-xl-qemut-win7-amd64    <none executed>              queued
 test-amd64-i386-xl-qemuu-debianhvm-amd64    <none executed>             queued
 test-amd64-amd64-pair           <none executed>              queued
 test-amd64-amd64-xl-qemut-debianhvm-amd64    <none executed>            queued
 test-amd64-amd64-xl-qemut-win7-amd64    <none executed>              queued
 build-i386-rumpuserxen          <none executed>              queued
 test-amd64-i386-xl-qemuu-win7-amd64    <none executed>              queued
 test-amd64-i386-pair            <none executed>              queued
 build-amd64-rumpuserxen         <none executed>              queued
 test-amd64-i386-xend-qemut-winxpsp3    <none executed>              queued
 build-i386                    4 STARTING                     running
 build-armhf-libvirt           5 libvirt-build                running
 build-amd64                   2 hosts-allocate               running
 build-amd64-pvops             2 hosts-allocate               running
 build-i386-pvops              2 hosts-allocate               running
 build-armhf-pvops             5 kernel-build                 running

version targeted for testing:
xen 58db71c5cdd48126b9380c230dc5b61554bad7d8
baseline version:
xen c58b16ef1572176cf2f6a424b527b5ed4bb73f17

------------------------------------------------------------
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                                                  preparing
 build-armhf                                                  pass    
 build-i386                                                   preparing
 build-amd64-libvirt                                          queued  
 build-armhf-libvirt                                          running 
 build-i386-libvirt                                           queued  
 build-amd64-pvops                                            preparing
 build-armhf-pvops                                            running 
 build-i386-pvops                                             preparing
 build-amd64-rumpuserxen                                      queued  
 build-i386-rumpuserxen                                       queued  
 test-amd64-amd64-xl                                          queued  
 test-armhf-armhf-xl                                          queued  
 test-amd64-i386-xl                                           queued  
 test-amd64-i386-qemut-rhel6hvm-amd                           queued  
 test-amd64-i386-qemuu-rhel6hvm-amd                           queued  
 test-amd64-amd64-xl-qemut-debianhvm-amd64                    queued  
 test-amd64-i386-xl-qemut-debianhvm-amd64                     queued  
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    queued  
 test-amd64-i386-xl-qemuu-debianhvm-amd64                     queued  
 test-amd64-i386-freebsd10-amd64                              queued  
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         queued  
 test-amd64-i386-xl-qemuu-ovmf-amd64                          queued  
 test-amd64-amd64-rumpuserxen-amd64                           queued  
 test-amd64-amd64-xl-qemut-win7-amd64                         queued  
 test-amd64-i386-xl-qemut-win7-amd64                          queued  
 test-amd64-amd64-xl-qemuu-win7-amd64                         queued  
 test-amd64-i386-xl-qemuu-win7-amd64                          queued  
 test-armhf-armhf-xl-arndale                                  queued  
 test-amd64-amd64-xl-credit2                                  queued  
 test-armhf-armhf-xl-credit2                                  queued  
 test-armhf-armhf-xl-cubietruck                               queued  
 test-amd64-i386-freebsd10-i386                               queued  
 test-amd64-i386-rumpuserxen-i386                             queued  
 test-amd64-i386-qemut-rhel6hvm-intel                         queued  
 test-amd64-i386-qemuu-rhel6hvm-intel                         queued  
 test-amd64-amd64-libvirt                                     queued  
 test-armhf-armhf-libvirt                                     queued  
 test-amd64-i386-libvirt                                      queued  
 test-amd64-amd64-xl-multivcpu                                queued  
 test-armhf-armhf-xl-multivcpu                                queued  
 test-amd64-amd64-pair                                        queued  
 test-amd64-i386-pair                                         queued  
 test-amd64-amd64-xl-sedf-pin                                 queued  
 test-armhf-armhf-xl-sedf-pin                                 queued  
 test-amd64-amd64-pv                                          queued  
 test-amd64-i386-pv                                           queued  
 test-amd64-amd64-xl-sedf                                     queued  
 test-armhf-armhf-xl-sedf                                     queued  
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     queued  
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     queued  
 test-amd64-i386-xend-qemut-winxpsp3                          queued  
 test-amd64-amd64-xl-qemut-winxpsp3                           queued  
 test-amd64-amd64-xl-qemuu-winxpsp3                           queued  

------------------------------------------------------------
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

broken-job test-amd64-amd64-rumpuserxen-amd64 queued broken-job test-amd64-i386-rumpuserxen-i386 queued broken-job test-amd64-amd64-xl-qemuu-ovmf-amd64 queued broken-job build-i386-libvirt queued
broken-job test-amd64-i386-xl-qemuu-ovmf-amd64 queued broken-job test-amd64-i386-freebsd10-amd64 queued broken-job test-armhf-armhf-xl-sedf queued broken-job test-armhf-armhf-xl-arndale queued broken-job test-armhf-armhf-xl-sedf-pin queued broken-job test-amd64-amd64-pv queued
broken-job test-amd64-amd64-xl-multivcpu queued broken-job test-amd64-i386-pv queued
broken-job test-armhf-armhf-xl queued
broken-job test-amd64-amd64-xl-sedf-pin queued broken-job test-amd64-amd64-libvirt queued broken-job test-amd64-amd64-xl-sedf queued broken-job build-amd64-libvirt queued
broken-job test-armhf-armhf-xl-cubietruck queued broken-job test-armhf-armhf-xl-multivcpu queued broken-job test-amd64-i386-qemuu-rhel6hvm-intel queued broken-job test-amd64-amd64-xl-credit2 queued broken-job test-amd64-i386-qemut-rhel6hvm-intel queued broken-job test-amd64-i386-xl queued
broken-job test-amd64-i386-qemut-rhel6hvm-amd queued broken-job test-amd64-i386-qemuu-rhel6hvm-amd queued broken-job test-armhf-armhf-libvirt queued broken-job test-amd64-i386-libvirt queued broken-job test-amd64-amd64-xl-qemuu-debianhvm-amd64 queued broken-job test-amd64-i386-xl-qemut-debianhvm-amd64 queued broken-job test-armhf-armhf-xl-credit2 queued broken-job test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 queued broken-job test-amd64-amd64-xl-qemut-winxpsp3 queued broken-job test-amd64-i386-xl-qemut-winxpsp3-vcpus1 queued broken-job test-amd64-amd64-xl-qemuu-winxpsp3 queued broken-job test-amd64-amd64-xl-qemuu-win7-amd64 queued broken-job test-amd64-amd64-xl queued
broken-job test-amd64-i386-freebsd10-i386 queued broken-job test-amd64-i386-xl-qemut-win7-amd64 queued broken-job test-amd64-i386-xl-qemuu-debianhvm-amd64 queued broken-job test-amd64-amd64-pair queued
broken-job test-amd64-amd64-xl-qemut-debianhvm-amd64 queued broken-job test-amd64-amd64-xl-qemut-win7-amd64 queued broken-job build-i386-rumpuserxen queued broken-job test-amd64-i386-xl-qemuu-win7-amd64 queued broken-job test-amd64-i386-pair queued
broken-job build-amd64-rumpuserxen queued broken-job test-amd64-i386-xend-qemut-winxpsp3 queued

Not pushing.

------------------------------------------------------------
commit 58db71c5cdd48126b9380c230dc5b61554bad7d8

Author: Andrew Cooper <[email protected]>
Date:   Tue Apr 21 09:25:03 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 46ed0083a76efa82713ea979b312fa69250380b2

Author: Andrew Cooper <[email protected]>
Date:   Wed Apr 1 10:11:30 2015 +0100

domctl: don't allow a toolstack domain to call domain_pause() on itself

These DOMCTL subops were accidentally declared safe for disaggregation in the wake of XSA-77.

This is XSA-127 / CVE-2015-2751.

commit 18856366dceb254f16577113e11e4bb94cdc59d9

Author: Konrad Rzeszutek Wilk <[email protected]>
Date:   Wed Apr 1 10:11:28 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 2d63e96d82f67371cb55c7b13b1a80e9a7fac496

Author: Ian Jackson <[email protected]>
Date:   Tue Mar 31 16:31:37 2015 +0100

QEMU_TAG update
(qemu changes not included)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel