Skip to contentSkip to conversation

60158: regressions - FAIL

qemu-upstream-4.2-testing test osstest service owner 1 participant 1 message Jul 31, 2015

lore
Share & tools
lore

osstest service owner

author Reviewed-by John Snow Reviewed-by John Snow
#0 lore raw

flight 60158 qemu-upstream-4.2-testing real [real]
http://logs.test-lab.xenproject.org/osstest/logs/60158/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-xl-qemuu-win7-amd64 15 guest-localmigrate/x10 fail REGR. vs. 58383

Tests which did not succeed, but are not blocking:

 test-amd64-amd64-xl-qemuu-ovmf-amd64  9 debian-hvm-install     fail never pass
 test-amd64-i386-xl-qemuu-ovmf-amd64  9 debian-hvm-install      fail never pass
 test-amd64-i386-xl-qemuu-win7-amd64 16 guest-stop              fail never pass
 test-amd64-i386-xend-qemuu-winxpsp3 20 leak-check/check        fail never pass

version targeted for testing:
qemuu fad385b9831595b4d8d76d9079be72f2e7bddaec
baseline version:
qemuu d2382550f9d563da371b79e1b97b2453c77b3c8e

Last test of basis    58383  2015-06-10 17:17:31 Z   51 days
Testing same since    60158  2015-07-30 18:41:53 Z    1 days    1 attempts

------------------------------------------------------------
People who touched revisions under test:
Kevin Wolf <[email protected]>
Stefano Stabellini <[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    
 test-amd64-i386-qemuu-rhel6hvm-amd                           pass    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64                     pass    
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         fail    
 test-amd64-i386-xl-qemuu-ovmf-amd64                          fail    
 test-amd64-amd64-xl-qemuu-win7-amd64                         fail    
 test-amd64-i386-xl-qemuu-win7-amd64                          fail    
 test-amd64-i386-qemuu-rhel6hvm-intel                         pass    
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     pass    
 test-amd64-i386-xend-qemuu-winxpsp3                          fail    
 test-amd64-amd64-xl-qemuu-winxpsp3                           pass    
 test-i386-i386-xl-qemuu-winxpsp3                             pass    

------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/logs/logs
images: /home/logs/images

Logs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logs

Explanation of these reports, and of osstest in general, is at
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=master

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

Not pushing.

------------------------------------------------------------
commit fad385b9831595b4d8d76d9079be72f2e7bddaec

Author: Kevin Wolf <[email protected]>
Date:   Sun Jul 26 23:42:53 2015 -0400

ide: Clear DRQ after handling all expected accesses (CVE-2015-5154)

This is additional hardening against an end_transfer_func that fails to clear the DRQ status bit. The bit must be unset as soon as the PIO transfer has completed, so it's better to do this in a central place instead of duplicating the code in all commands (and forgetting it in some).

upstream-commit-id: cb72cba83021fa42719e73a5249c12096a4d1cfc

commit 35314d5c1b6e271db5674c87423c60a8166f954d

Author: Kevin Wolf <[email protected]>
Date:   Sun Jul 26 23:42:53 2015 -0400

ide: Check array bounds before writing to io_buffer (CVE-2015-5154)

If the end_transfer_func of a command is called because enough data has been read or written for the current PIO transfer, and it fails to correctly call the command completion functions, the DRQ bit in the status register and s->end_transfer_func may remain set. This allows the guest to access further bytes in s->io_buffer beyond s->data_end, and eventually overflowing the io_buffer.

One case where this currently happens is emulation of the ATAPI command START STOP UNIT.

This patch fixes the problem by adding explicit array bounds checks before accessing the buffer instead of relying on end_transfer_func to function correctly.

upstream-commit-id: d2ff85854512574e7209f295e87b0835d5b032c6