Skip to contentSkip to conversation

complete test-amd64-amd64-xl-qemut-win7-amd64

xen-4.4-testing bisection xen.org 1 participant 1 message Aug 16, 2014

lore
Share & tools
lore

xen.org

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

branch xen-4.4-testing
xen branch xen-4.4-testing
job test-amd64-amd64-xl-qemut-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.4-testing.git
Tree: qemuu git://xenbits.xen.org/staging/qemu-upstream-4.4-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: 89f167e04ed89109c06092b8edf46c1519cab5f3 Bug not present: 0f3cdfc4d7fa1e3dc93cc6153782872d90f25b53

commit 89f167e04ed89109c06092b8edf46c1519cab5f3
Author: Jan Beulich <[email protected]>
Date: Tue Aug 12 15:44:26 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.4-testing.test-amd64-amd64-xl-qemut-win7-amd64.guest-localmigrate--x10.html
Revision IDs in each graph node refer, respectively, to the Trees above.

----------------------------------------
Searching for failure / basis pass:
29732 fail [host=rice-weevil] / 29622 ok.
Failure / basis pass flights: 29732 / 29622
(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.4-testing.git
Tree: qemuu git://xenbits.xen.org/staging/qemu-upstream-4.4-testing.git
Tree: xen git://xenbits.xen.org/xen.git
Latest 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 7c5264902663da247d12a58c9177a969a984f884
Basis pass 91f7c8cbc8fd1a4ef69005347e4bc30016cd60ec c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 0f3cdfc4d7fa1e3dc93cc6153782872d90f25b53
Generating revisions with ./adhoc-revtuple-generator git://xenbits.xen.org/linux-pvops.git#91f7c8cbc8fd1a4ef69005347e4bc30016cd60ec-0a9d91dca3b9f797f2fc615486c12afa59f19a3b git://xenbits.xen.org/osstest/linux-firmware.git#c530a75c1e6a472b0eb9558310b518f0dfcd8860-c530a75c1e6a472b0eb9558310b518f0dfcd8860 git://xenbits.xen.org/staging/qemu-xen-4.4-testing.git#6ae4e588081620b141071eb010ec40aca7e12876-6ae4e588081620b141071eb010ec40aca7e12876 git://xenbits.xen.org/staging/qemu-upstream-4.4-testing.git#65fc9b78ba3d868a26952db0d8e51cecf01d47b4-65fc9b78ba3d868a26952db0d8e51cecf01d47b4 git://xenbits.xen.org/xen.git#0f3cdfc4d7fa1e3dc93cc6153782872d90f25b53-7c5264902663da247d12a58c9177a969a984f884
+ 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 2982 nodes in revision graph
Searching for test results:
29622 pass 91f7c8cbc8fd1a4ef69005347e4bc30016cd60ec c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 0f3cdfc4d7fa1e3dc93cc6153782872d90f25b53
29714 pass 91f7c8cbc8fd1a4ef69005347e4bc30016cd60ec c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 0f3cdfc4d7fa1e3dc93cc6153782872d90f25b53
29686 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 7c5264902663da247d12a58c9177a969a984f884
29697 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 7c5264902663da247d12a58c9177a969a984f884
29717 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 7c5264902663da247d12a58c9177a969a984f884
29720 pass 473d8a237b359c41225458f3d7c6aa2e5beb40d5 c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 0f3cdfc4d7fa1e3dc93cc6153782872d90f25b53
29764 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 89f167e04ed89109c06092b8edf46c1519cab5f3
29767 pass 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 0f3cdfc4d7fa1e3dc93cc6153782872d90f25b53
29726 pass a066704c52563ec7300dd7fe8cdc9dad23a3e654 c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 0f3cdfc4d7fa1e3dc93cc6153782872d90f25b53
29730 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 99a9f497cb070ba7168d45442ad8ea3604d95dcb
29716 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 7c5264902663da247d12a58c9177a969a984f884
29732 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 7c5264902663da247d12a58c9177a969a984f884
29768 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 89f167e04ed89109c06092b8edf46c1519cab5f3
29731 pass 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 0f3cdfc4d7fa1e3dc93cc6153782872d90f25b53
29752 fail 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 89f167e04ed89109c06092b8edf46c1519cab5f3
29763 pass 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 0f3cdfc4d7fa1e3dc93cc6153782872d90f25b53
Searching for interesting versions
Result found: flight 29622 (pass), for basis pass
Result found: flight 29686 (fail), for basis failure
Repro found: flight 29714 (pass), for basis pass
Repro found: flight 29716 (fail), for basis failure
0 revisions at 0a9d91dca3b9f797f2fc615486c12afa59f19a3b c530a75c1e6a472b0eb9558310b518f0dfcd8860 6ae4e588081620b141071eb010ec40aca7e12876 65fc9b78ba3d868a26952db0d8e51cecf01d47b4 0f3cdfc4d7fa1e3dc93cc6153782872d90f25b53
No revisions left to test, checking graph state.
Result found: flight 29731 (pass), for last pass
Result found: flight 29752 (fail), for first failure
Repro found: flight 29763 (pass), for last pass
Repro found: flight 29764 (fail), for first failure
Repro found: flight 29767 (pass), for last pass
Repro found: flight 29768 (fail), for first failure

*** Found and reproduced problem changeset ***

Bug is in tree: xen git://xenbits.xen.org/xen.git
Bug introduced: 89f167e04ed89109c06092b8edf46c1519cab5f3 Bug not present: 0f3cdfc4d7fa1e3dc93cc6153782872d90f25b53

+ 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 89f167e04ed89109c06092b8edf46c1519cab5f3
Author: Jan Beulich <[email protected]>
Date: Tue Aug 12 15:44:26 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.4-testing.test-amd64-amd64-xl-qemut-win7-amd64.guest-localmigrate--x10.{dot,ps,png,html}.
----------------------------------------
29768: tolerable ALL FAIL

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

Failures :-/ but no regressions.

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

jobs:
test-amd64-amd64-xl-qemut-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