Skip to contentSkip to conversation

26065: trouble: blocked/broken/pass

xen-4.4-testing test xen.org 1 participant 1 message Apr 29, 2014

lore
Share & tools
lore

xen.org

author Acked-by Ian Campbell Acked-by Julien Grall Acked-by Ian Campbell Reviewed-by Jan Beulich Acked-by Ian Campbell Reviewed-by Jan Beulich Acked-by Tim Deegan Reviewed-by Tim Deegan Acked-by Ian Campbell Acked-by Ian Campbell Acked-by Ian Campbell Acked-by Ian Campbell Acked-by Ian Campbell
#0 lore raw

flight 26065 xen-4.4-testing real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/26065/

Failures and problems with tests :-(

Tests which did not succeed and are blocking,
including tests which could not be run:

 build-amd64-oldkern           2 host-install(2)         broken REGR. vs. 25794
 build-amd64                   2 host-install(2)         broken REGR. vs. 25794
 build-i386-pvops              2 host-install(2)         broken REGR. vs. 25794
 build-amd64-xend              2 host-install(2)         broken REGR. vs. 25794
 build-i386                    2 host-install(2)         broken REGR. vs. 25794
 build-i386-oldkern            2 host-install(2)         broken REGR. vs. 25794
 build-amd64-pvops             2 host-install(2)         broken REGR. vs. 25794
 build-i386-xend               2 host-install(2)         broken REGR. vs. 25794

Tests which did not succeed, but are not blocking:

 test-armhf-armhf-xl          10 migrate-support-check        fail   never pass
 test-amd64-i386-xl            1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-xl-sedf-pin  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xend-winxpsp3  1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-xl-sedf      1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl-qemut-win7-amd64  1 xen-build-check(1)          blocked n/a
 test-amd64-i386-qemuu-rhel6hvm-amd  1 xen-build-check(1)           blocked n/a
 test-amd64-amd64-xl-qemuu-winxpsp3  1 xen-build-check(1)           blocked n/a
 test-amd64-i386-qemut-rhel6hvm-amd  1 xen-build-check(1)           blocked n/a
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1  1 xen-build-check(1)     blocked n/a
 test-amd64-i386-freebsd10-i386  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl-win7-amd64  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl-qemuu-win7-amd64  1 xen-build-check(1)          blocked n/a
 test-amd64-i386-qemuu-rhel6hvm-intel  1 xen-build-check(1)         blocked n/a
 test-amd64-amd64-xl-qemuu-ovmf-amd64  1 xen-build-check(1)         blocked n/a
 test-amd64-i386-freebsd10-amd64  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1  1 xen-build-check(1)     blocked n/a
 test-amd64-amd64-pv           1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl-qemuu-ovmf-amd64  1 xen-build-check(1)          blocked n/a
 test-amd64-i386-rhel6hvm-amd  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl-credit2    1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-xl           1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-xl-win7-amd64  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-pv            1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-rhel6hvm-intel  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-xl-multivcpu  1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-xl-pcipt-intel  1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-qemut-rhel6hvm-intel  1 xen-build-check(1)         blocked n/a
 test-amd64-i386-xl-winxpsp3-vcpus1  1 xen-build-check(1)           blocked n/a
 test-amd64-amd64-xl-qemuu-win7-amd64  1 xen-build-check(1)         blocked n/a
 test-amd64-amd64-xl-qemut-win7-amd64  1 xen-build-check(1)         blocked n/a
 test-amd64-i386-xend-qemut-winxpsp3  1 xen-build-check(1)          blocked n/a
 test-amd64-amd64-xl-winxpsp3  1 xen-build-check(1)           blocked  n/a
 test-amd64-amd64-xl-qemut-winxpsp3  1 xen-build-check(1)           blocked n/a
 test-amd64-amd64-pair         1 xen-build-check(1)           blocked  n/a
 test-amd64-i386-pair          1 xen-build-check(1)           blocked  n/a

version targeted for testing:
xen 9462b4a7af447b052a1d924a804520f748cd94b4
baseline version:
xen 03eb5134056d61167e6781eecf7e570b491bda73

------------------------------------------------------------
People who touched revisions under test:
Ian Campbell <[email protected]>
Jan Beulich <[email protected]>
Julien Grall <[email protected]>
Tim Deegan <[email protected]>
------------------------------------------------------------

jobs:

 build-amd64-xend                                             broken  
 build-i386-xend                                              broken  
 build-amd64                                                  broken  
 build-armhf                                                  pass    
 build-i386                                                   broken  
 build-amd64-oldkern                                          broken  
 build-i386-oldkern                                           broken  
 build-amd64-pvops                                            broken  
 build-armhf-pvops                                            pass    
 build-i386-pvops                                             broken  
 test-amd64-amd64-xl                                          blocked 
 test-armhf-armhf-xl                                          pass    
 test-amd64-i386-xl                                           blocked 
 test-amd64-i386-rhel6hvm-amd                                 blocked 
 test-amd64-i386-qemut-rhel6hvm-amd                           blocked 
 test-amd64-i386-qemuu-rhel6hvm-amd                           blocked 
 test-amd64-i386-freebsd10-amd64                              blocked 
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         blocked 
 test-amd64-i386-xl-qemuu-ovmf-amd64                          blocked 
 test-amd64-amd64-xl-qemut-win7-amd64                         blocked 
 test-amd64-i386-xl-qemut-win7-amd64                          blocked 
 test-amd64-amd64-xl-qemuu-win7-amd64                         blocked 
 test-amd64-i386-xl-qemuu-win7-amd64                          blocked 
 test-amd64-amd64-xl-win7-amd64                               blocked 
 test-amd64-i386-xl-win7-amd64                                blocked 
 test-amd64-i386-xl-credit2                                   blocked 
 test-amd64-i386-freebsd10-i386                               blocked 
 test-amd64-amd64-xl-pcipt-intel                              blocked 
 test-amd64-i386-rhel6hvm-intel                               blocked 
 test-amd64-i386-qemut-rhel6hvm-intel                         blocked 
 test-amd64-i386-qemuu-rhel6hvm-intel                         blocked 
 test-amd64-i386-xl-multivcpu                                 blocked 
 test-amd64-amd64-pair                                        blocked 
 test-amd64-i386-pair                                         blocked 
 test-amd64-amd64-xl-sedf-pin                                 blocked 
 test-amd64-amd64-pv                                          blocked 
 test-amd64-i386-pv                                           blocked 
 test-amd64-amd64-xl-sedf                                     blocked 
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     blocked 
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     blocked 
 test-amd64-i386-xl-winxpsp3-vcpus1                           blocked 
 test-amd64-i386-xend-qemut-winxpsp3                          blocked 
 test-amd64-amd64-xl-qemut-winxpsp3                           blocked 
 test-amd64-amd64-xl-qemuu-winxpsp3                           blocked 
 test-amd64-i386-xend-winxpsp3                                blocked 
 test-amd64-amd64-xl-winxpsp3                                 blocked 

------------------------------------------------------------
sg-report-flight on osstest.cam.xci-test.com
logs: /home/xc_osstest/logs
images: /home/xc_osstest/images

Logs, config files, etc. are available at
http://www.chiark.greenend.org.uk/~xensrcts/logs

Test harness code can be found at
http://xenbits.xensource.com/gitweb?p=osstest.git;a=summary

Not pushing.

------------------------------------------------------------
commit 9462b4a7af447b052a1d924a804520f748cd94b4

Author: Julien Grall <[email protected]>
Date:   Thu Apr 10 12:43:57 2014 +0100

xen/arm64: Correctly align VFP regs

On arm64, VFP instructions requires vfpregs to be 128-byte aligned.

By chance, the field is already correctly aligned. In the case if someone decides to add a new field before, Xen will receive a data abort as soon as it saves/restores VFP.

We are safe on arm32 as the only constraint is to be 32-byte aligned.

(cherry picked from commit 9b4e96724eeb916f2cd311d9133f00c216caa321)

commit 64268fb6be4a417971a14cb95959bc68789ef37b

Author: Ian Campbell <[email protected]>
Date:   Wed Mar 5 01:02:29 2014 +0000

xen: arm: prevent building with CONFIG_EARLY_PRINTK if not a debug build

early printk on ARM is tied to debug being enabled, so error out instead of silently and unexpectedly building without early printk when asked.

(cherry picked from commit 5940d3d095661f541a843e5d4c5f9363c18cd63c)

commit 0105b1ae028f4a26916999884d6d18a92b6f84de

Author: Julien Grall <[email protected]>
Date:   Thu Mar 20 13:51:26 2014 +0000

xen/arm: domain_vgic_init: Check xzalloc_* return

The allocations for shared_irqs and pending_irqs are not checked and use later. This may lead to a Xen segfault if the hypervisor run out of memory.

(cherry picked from commit a34f6affe799cf493640b58a794132d213288ba3)

commit 139a62e98161051e7687d6c356d9a9b92a8801a3

Author: Ian Campbell <[email protected]>
Date:   Wed Apr 23 16:32:45 2014 +0100

xen/arm: vgic: Check rank in GICD_ICFGR* emulation before locking

The function vgic_irq_rank may return NULL is the IRQ is not in range handled by the guest. This will result to derefence a NULL pointer which will crash Xen.

I've checked the rest of the emulation and this is only place where the lock is taken before the rank is checked.

This is CVE-2014-2986 / XSA-94.

commit fc070bcb683e6251a4c18b144ca7d869fc2f6467

Author: Ian Campbell <[email protected]>
Date:   Wed Apr 23 16:25:21 2014 +0200

xen: x86 & generic: change to __builtin_prefetch()

Quoting Andi Kleen in Linux b483570a13be from 2007:
gcc 3.2+ supports __builtin_prefetch, so it's possible to use it on all architectures. Change the generic fallback in linux/prefetch.h to use it instead of noping it out. gcc should do the right thing when the architecture doesn't support prefetching

Undefine the x86-64 inline assembler version and use the fallback.

ARM wants to use the builtins.

Fix a pair of spelling errors, one of which was from Lucas De Marchi in the Linux tree.

master commit: 630017f420f111e0c0332dbd99df30ebb8fed207 master date: 2014-04-03 17:15:41 +0100

commit cbd5a0c3fd72983fb7b4b5c689280209f8da218b

Author: Jan Beulich <[email protected]>
Date:   Wed Apr 23 16:24:02 2014 +0200

x86/mm: fix checks against max_mapped_pfn

This value is an inclusive one, i.e. this fixes an off-by-one in memory sharing and an off-by-two in shadow code.

master commit: 088ee1d47b65d6bb92de61b404805f4ca92e3240 master date: 2014-04-03 12:08:43 +0100

commit da8e1586278dffd8510876e6fed8d47c9eba713c

Author: Julien Grall <[email protected]>
Date:   Tue Apr 15 14:06:42 2014 +0100

xen/arm: Don't let guess access to Debug and Performance Monitor registers

Debug and performance registers are not properly switched by Xen.

Trap them and inject an undefined instruction, except for those registers which might be unconditionally accessed which we implement as RAZ/WI.

This is CVE-2014-2915 / XSA-93.

commit 8f416fc2669769a72783e13072547f8b2d071065

Author: Julien Grall <[email protected]>
Date:   Tue Apr 15 12:45:28 2014 +0100

xen/arm: Don't expose implementation defined registers (Cp15 c15) to the guest

On Cortex-A15, CP15 c15 contains registers to retrieve data from L1/L2 RAM.

Exposing this registers to guest may result to leak data from Xen and/or another guest.

By default trap every registers and inject an undefined instruction.

This is CVE-2014-2915 / XSA-93.

commit 4642a2146e3d309266f537e7bbf55f5d85249229

Author: Julien Grall <[email protected]>
Date:   Mon Apr 14 20:00:14 2014 +0100

xen/arm: Trap cache and TCM lockdown registers

Some cp15 c9/c10/c11 encodings are used for:
- cache control
- TCM control
- branch predictor control

All of them are implementation defined. For now inject an undefined exception if the guest wants try to access it.

This is CVE-2014-2915 / XSA-93.

commit 16ef39e797b0ef82449321ff5af7590e17b1b670

Author: Julien Grall <[email protected]>
Date:   Mon Apr 14 20:46:43 2014 +0100

xen/arm: Upgrade DCISW into DCCISW

A guest is allowed to use invalidate cache by set/way instruction (i.e DCISW) without any restriction. As the cache is shared with Xen, the guest invalidate an address being in used by Xen. This may lead a Xen crash because the memory state is invalid.
Set the bit HCR.SWIO to upgrade invalidate cache by set/way instruction to an invalidate and clean.

This is CVE-2014-2915 / XSA-93.

commit 9800bfa275b654b20522c1c8e78eba12d4b21e2f

Author: Julien Grall <[email protected]>
Date:   Mon Apr 14 20:37:16 2014 +0100

xen/arm: Don't let the guest access the coprocessors registers

In Xen we only handle save/restore for coprocessor 10 and 11 (NEON). Other coprocessors (0-9, 12-13) are currently exposed to the guest and may lead to data shared between guest.

Disable access to all coprocessor except 10 and 11 by setting correctly HCTPR.

This is CVE-2014-2915 / XSA-93.

commit ed13367f161c8e0716f75773c7915df1d0388263

Author: Julien Grall <[email protected]>
Date:   Mon Apr 14 19:01:20 2014 +0100

xen/arm: Inject an undefined instruction when the coproc/sysreg is not handled

Currently Xen panics if it's unable to handle a coprocessor/sysreg instruction. Replace this behavior by inject an undefined instruction to the faulty guest and log if Xen is in debug mode.

This is CVE-2014-2915 / XSA-93.

(qemu changes not included)