Skip to contentSkip to conversation

complete test-amd64-i386-xl-qemuu-win7-amd64

xen-4.2-testing bisection xen.org 1 participant 1 message Aug 19, 2014

lore
Share & tools
lore

xen.org

author Reviewed-by Tim Deegan Reviewed-by Tim Deegan
#0 lore raw

branch xen-4.2-testing
xen branch xen-4.2-testing
job test-amd64-i386-xl-qemuu-win7-amd64
test guest-localmigrate/x10

Tree: linux git://xenbits.xen.org/linux-pvops.git
Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
Tree: qemu git://xenbits.xen.org/staging/qemu-xen-4.2-testing.git
Tree: qemuu git://xenbits.xen.org/staging/qemu-upstream-4.2-testing.git
Tree: xen git://xenbits.xen.org/xen.git

*** Found and reproduced problem changeset ***

Bug is in tree: xen git://xenbits.xen.org/xen.git
Bug introduced: 6fbd99d7cc46a91566839e85bffb9bff406adbae Bug not present: bba8f285cf5f4248c9057e69aaafee2ec4dd5392

commit 6fbd99d7cc46a91566839e85bffb9bff406adbae
Author: Jan Beulich <[email protected]>
Date: Tue Aug 12 16:09:12 2014 +0200

x86/paging: make log-dirty operations preemptible

Both the freeing and the inspection of the bitmap get done in (nested) loops which - besides having a rather high iteration count in general, albeit that would be covered by XSA-77 - have the number of non-trivial iterations they need to perform (indirectly) controllable by both the guest they are for and any domain controlling the guest (including the one running qemu for it).

This is CVE-2014-5146 / XSA-97.

master commit: 95e6d82224689fdfd967a093a4d69efc24c17e91 master date: 2014-08-12 15:30:11 +0200

For bisection revision-tuple graph see:
http://www.chiark.greenend.org.uk/~xensrcts/results/bisect.xen-4.2-testing.test-amd64-i386-xl-qemuu-win7-amd64.guest-localmigrate--x10.html
Revision IDs in each graph node refer, respectively, to the Trees above.

----------------------------------------
Searching for failure / basis pass:
29808 fail [host=grain-weevil] / 29621 ok.
Failure / basis pass flights: 29808 / 29621
(tree with no url: seabios)
Tree: linux git://xenbits.xen.org/linux-pvops.git
Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
Tree: qemu git://xenbits.xen.org/staging/qemu-xen-4.2-testing.git
Tree: qemuu git://xenbits.xen.org/staging/qemu-upstream-4.2-testing.git
Tree: xen git://xenbits.xen.org/xen.git
Latest 9f089cfb4be27efe7c1cd1d6261da02496820441 c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc 35e7ae5f66f34bd93dff089587da3b3665622eff
Basis pass 91f7c8cbc8fd1a4ef69005347e4bc30016cd60ec c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc b16f9215f705ecba1a5685ae7cbc6467ec429b3f
Generating revisions with ./adhoc-revtuple-generator git://xenbits.xen.org/linux-pvops.git#91f7c8cbc8fd1a4ef69005347e4bc30016cd60ec-9f089cfb4be27efe7c1cd1d6261da02496820441 git://xenbits.xen.org/osstest/linux-firmware.git#c530a75c1e6a472b0eb9558310b518f0dfcd8860-c530a75c1e6a472b0eb9558310b518f0dfcd8860 git://xenbits.xen.org/staging/qemu-xen-4.2-testing.git#8d7e96f625c4a58d721db413b032fd0bb5671b96-8d7e96f625c4a58d721db413b032fd0bb5671b96 git://xenbits.xen.org/staging/qemu-upstream-4.2-testing.git#6d17c397dfadb29e641d5da1eb3381d240decedc-6d17c397dfadb29e641d5da1eb3381d240decedc git://xenbits.xen.org/xen.git#b16f9215f705ecba1a5685ae7cbc6467ec429b3f-35e7ae5f66f34bd93dff089587da3b3665622eff
+ exec
+ sh -xe
+ cd /export/home/osstest/repos/linux-pvops
+ git remote set-url origin git://drall.uk.xensource.com:9419/git://xenbits.xen.org/linux-pvops.git
+ git fetch -p origin +refs/heads/*:refs/remotes/origin/*
+ exec
+ sh -xe
+ cd /export/home/osstest/repos/xen
+ git remote set-url origin git://drall.uk.xensource.com:9419/git://xenbits.xen.org/xen.git
+ git fetch -p origin +refs/heads/*:refs/remotes/origin/*
+ exec
+ sh -xe
+ cd /export/home/osstest/repos/linux-pvops
+ git remote set-url origin git://drall.uk.xensource.com:9419/git://xenbits.xen.org/linux-pvops.git
+ git fetch -p origin +refs/heads/*:refs/remotes/origin/*
+ exec
+ sh -xe
+ cd /export/home/osstest/repos/xen
+ git remote set-url origin git://drall.uk.xensource.com:9419/git://xenbits.xen.org/xen.git
+ git fetch -p origin +refs/heads/*:refs/remotes/origin/*
Loaded 2001 nodes in revision graph
Searching for test results:
29621 pass 91f7c8cbc8fd1a4ef69005347e4bc30016cd60ec c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc b16f9215f705ecba1a5685ae7cbc6467ec429b3f
29687 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc 35e7ae5f66f34bd93dff089587da3b3665622eff
29700 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc 35e7ae5f66f34bd93dff089587da3b3665622eff
29758 fail 9f089cfb4be27efe7c1cd1d6261da02496820441 c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc 35e7ae5f66f34bd93dff089587da3b3665622eff
29722 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc 35e7ae5f66f34bd93dff089587da3b3665622eff
29739 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc 35e7ae5f66f34bd93dff089587da3b3665622eff
29823 pass 91f7c8cbc8fd1a4ef69005347e4bc30016cd60ec c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc b16f9215f705ecba1a5685ae7cbc6467ec429b3f
29824 fail 9f089cfb4be27efe7c1cd1d6261da02496820441 c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc 35e7ae5f66f34bd93dff089587da3b3665622eff
29808 fail 9f089cfb4be27efe7c1cd1d6261da02496820441 c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc 35e7ae5f66f34bd93dff089587da3b3665622eff
29825 pass 7b6354ea6bfbe20f68c248ee5a846b1d3f76863d c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc b16f9215f705ecba1a5685ae7cbc6467ec429b3f
29827 pass 9c98268072b611fab39eee633e3f2e7b2d8c64da c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc b16f9215f705ecba1a5685ae7cbc6467ec429b3f
29834 pass 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc b16f9215f705ecba1a5685ae7cbc6467ec429b3f
29836 pass 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc bba8f285cf5f4248c9057e69aaafee2ec4dd5392
29838 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc 6fbd99d7cc46a91566839e85bffb9bff406adbae
29839 pass 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc bba8f285cf5f4248c9057e69aaafee2ec4dd5392
29840 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc 6fbd99d7cc46a91566839e85bffb9bff406adbae
29841 pass 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc bba8f285cf5f4248c9057e69aaafee2ec4dd5392
29842 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc 6fbd99d7cc46a91566839e85bffb9bff406adbae
Searching for interesting versions
Result found: flight 29621 (pass), for basis pass
Result found: flight 29758 (fail), for basis failure
Repro found: flight 29823 (pass), for basis pass
Repro found: flight 29824 (fail), for basis failure
0 revisions at 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d7e96f625c4a58d721db413b032fd0bb5671b96 6d17c397dfadb29e641d5da1eb3381d240decedc bba8f285cf5f4248c9057e69aaafee2ec4dd5392
No revisions left to test, checking graph state.
Result found: flight 29836 (pass), for last pass
Result found: flight 29838 (fail), for first failure
Repro found: flight 29839 (pass), for last pass
Repro found: flight 29840 (fail), for first failure
Repro found: flight 29841 (pass), for last pass
Repro found: flight 29842 (fail), for first failure

*** Found and reproduced problem changeset ***

Bug is in tree: xen git://xenbits.xen.org/xen.git
Bug introduced: 6fbd99d7cc46a91566839e85bffb9bff406adbae Bug not present: bba8f285cf5f4248c9057e69aaafee2ec4dd5392

+ exec
+ sh -xe
+ cd /export/home/osstest/repos/xen
+ git remote set-url origin git://drall.uk.xensource.com:9419/git://xenbits.xen.org/xen.git
+ git fetch -p origin +refs/heads/*:refs/remotes/origin/*

commit 6fbd99d7cc46a91566839e85bffb9bff406adbae
Author: Jan Beulich <[email protected]>
Date: Tue Aug 12 16:09:12 2014 +0200

x86/paging: make log-dirty operations preemptible

Both the freeing and the inspection of the bitmap get done in (nested) loops which - besides having a rather high iteration count in general, albeit that would be covered by XSA-77 - have the number of non-trivial iterations they need to perform (indirectly) controllable by both the guest they are for and any domain controlling the guest (including the one running qemu for it).

This is CVE-2014-5146 / XSA-97.

master commit: 95e6d82224689fdfd967a093a4d69efc24c17e91 master date: 2014-08-12 15:30:11 +0200

Revision graph left in /home/xc_osstest/results/bisect.xen-4.2-testing.test-amd64-i386-xl-qemuu-win7-amd64.guest-localmigrate--x10.{dot,ps,png,html}.
----------------------------------------
29842: tolerable ALL FAIL

flight 29842 xen-4.2-testing real-bisect [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/29842/

Failures :-/ but no regressions.

Tests which did not succeed,
including tests which could not be run:
test-amd64-i386-xl-qemuu-win7-amd64 13 guest-localmigrate/x10 fail baseline untested

jobs:
test-amd64-i386-xl-qemuu-win7-amd64 fail

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