Skip to contentSkip to conversation

38730: regressions - FAIL

qemu-upstream-4.3-testing baseline-only test Platform Team regression test user 1 participant 1 message Feb 7, 2016

lore
Share & tools
lore

Platform Team regression test user

author Reviewed-by Michael S. Tsirkin Reviewed-by Michael S. Tsirkin Tested-by P J P Reviewed-by John Snow Reviewed-by Gerd Hoffmann Reviewed-by Jason Wang Acked-by Stefano Stabellini
#0 lore raw

This run is configured for baseline tests only.

flight 38730 qemu-upstream-4.3-testing real [real]
http://osstest.xs.citrite.net/~osstest/testlogs/logs/38730/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
build-amd64 5 xen-build fail REGR. vs. 38634

Tests which did not succeed, but are not blocking:

 build-amd64-libvirt           1 build-check(1)               blocked  n/a
 test-amd64-i386-libvirt       1 build-check(1)               blocked  n/a
 test-amd64-amd64-xl-qemuu-ovmf-amd64  1 build-check(1)             blocked n/a
 test-amd64-amd64-xl-credit2   1 build-check(1)               blocked  n/a
 test-amd64-i386-xl-qemuu-ovmf-amd64  1 build-check(1)              blocked n/a
 test-amd64-amd64-xl-qemuu-win7-amd64  1 build-check(1)             blocked n/a
 test-amd64-amd64-xl-qemuu-winxpsp3  1 build-check(1)               blocked n/a
 test-amd64-amd64-xl-qcow2     1 build-check(1)               blocked  n/a
 test-amd64-i386-xl-qemuu-debianhvm-amd64  1 build-check(1)         blocked n/a
 test-amd64-amd64-xl-multivcpu  1 build-check(1)               blocked  n/a
 test-amd64-i386-xl-qemuu-win7-amd64  1 build-check(1)              blocked n/a
 test-amd64-amd64-libvirt-vhd  1 build-check(1)               blocked  n/a
 test-amd64-amd64-xl           1 build-check(1)               blocked  n/a
 test-amd64-amd64-xl-qemuu-debianhvm-amd64  1 build-check(1)        blocked n/a
 test-amd64-i386-pair          1 build-check(1)               blocked  n/a
 test-amd64-amd64-pair         1 build-check(1)               blocked  n/a
 test-amd64-amd64-pv           1 build-check(1)               blocked  n/a
 test-amd64-i386-xl-raw        1 build-check(1)               blocked  n/a
 test-amd64-amd64-amd64-pvgrub  1 build-check(1)               blocked  n/a
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1  1 build-check(1)         blocked n/a
 test-amd64-amd64-libvirt      1 build-check(1)               blocked  n/a
 test-amd64-i386-freebsd10-i386  1 build-check(1)               blocked  n/a
 test-amd64-i386-freebsd10-amd64  1 build-check(1)               blocked  n/a
 test-amd64-amd64-i386-pvgrub  1 build-check(1)               blocked  n/a
 test-amd64-i386-qemuu-rhel6hvm-amd  1 build-check(1)               blocked n/a
 test-amd64-amd64-pygrub       1 build-check(1)               blocked  n/a
 test-amd64-i386-xl            1 build-check(1)               blocked  n/a
 test-amd64-i386-pv            1 build-check(1)               blocked  n/a

test-amd64-i386-qemuu-rhel6hvm-intel 1 build-check(1) blocked n/a

version targeted for testing:
qemuu 10c1b763c26feb645627a1639e722515f3e1e876
baseline version:
qemuu 6e184363e64a0610c35ca231bfc73cea56eb02f3

Last test of basis    38634  2016-01-14 05:26:24 Z   24 days
Testing same since    38730  2016-02-07 19:50:19 Z    0 days    1 attempts

------------------------------------------------------------
People who touched revisions under test:
Gerd Hoffmann <[email protected]>
Jason Wang <[email protected]>
John Snow <[email protected]>
Laszlo Ersek <[email protected]>
P J P <[email protected]>
Paolo Bonzini <[email protected]>
Peter Maydell <[email protected]> Prasad J Pandit <[email protected]> Roger Pau Monne <[email protected]>
Roger Pau Monné <[email protected]> Stefano Stabellini <[email protected]>

jobs:

 build-amd64                                                  fail
 build-i386                                                   pass
 build-amd64-libvirt                                          blocked
 build-i386-libvirt                                           pass
 build-amd64-pvops                                            pass
 build-i386-pvops                                             pass
 test-amd64-amd64-xl                                          blocked
 test-amd64-i386-xl                                           blocked
 test-amd64-i386-qemuu-rhel6hvm-amd                           blocked
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    blocked
 test-amd64-i386-xl-qemuu-debianhvm-amd64                     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-qemuu-win7-amd64                         blocked
 test-amd64-i386-xl-qemuu-win7-amd64                          blocked
 test-amd64-amd64-xl-credit2                                  blocked
 test-amd64-i386-freebsd10-i386                               blocked
 test-amd64-i386-qemuu-rhel6hvm-intel                         blocked
 test-amd64-amd64-libvirt                                     blocked
 test-amd64-i386-libvirt                                      blocked
 test-amd64-amd64-xl-multivcpu                                blocked
 test-amd64-amd64-pair                                        blocked
 test-amd64-i386-pair                                         blocked
 test-amd64-amd64-pv                                          blocked
 test-amd64-i386-pv                                           blocked
 test-amd64-amd64-amd64-pvgrub                                blocked
 test-amd64-amd64-i386-pvgrub                                 blocked
 test-amd64-amd64-pygrub                                      blocked
 test-amd64-amd64-xl-qcow2                                    blocked
 test-amd64-i386-xl-raw                                       blocked
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     blocked
 test-amd64-amd64-libvirt-vhd                                 blocked
 test-amd64-amd64-xl-qemuu-winxpsp3                           blocked

------------------------------------------------------------
sg-report-flight on osstest.xs.citrite.net
logs: /home/osstest/logs
images: /home/osstest/images

Logs, config files, etc. are available at
http://osstest.xs.citrite.net/~osstest/testlogs/logs

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

Push not applicable.

------------------------------------------------------------
commit 10c1b763c26feb645627a1639e722515f3e1e876

Author: Prasad J Pandit <[email protected]>
Date:   Fri Nov 20 11:50:31 2015 +0530

net: pcnet: add check to validate receive data size(CVE-2015-7504)

In loopback mode, pcnet_receive routine appends CRC code to the receive buffer. If the data size given is same as the buffer size, the appended CRC code overwrites 4 bytes after s->buffer. Added a check to avoid that.

Reported by: Qinghao Tang <[email protected]>

commit fc857bbe30c58b627423c58004d8d6e75df74846

Author: Jason Wang <[email protected]>
Date:   Mon Nov 30 15:00:06 2015 +0800

pcnet: fix rx buffer overflow(CVE-2015-7512)

Backends could provide a packet whose length is greater than buffer size. Check for this and truncate the packet to avoid rx buffer overflow in this case.

commit 36b4f8a6fe38e1bd3c8ec51d4f6e168d05282713

Author: Gerd Hoffmann <[email protected]>
Date:   Mon Dec 14 09:21:23 2015 +0100

ehci: make idt processing more robust

Make ehci_process_itd return an error in case we didn't do any actual iso transfer because we've found no active transaction. That'll avoid ehci happily run in circles forever if the guest builds a loop out of idts.

This is CVE-2015-8558.

commit 921412688e6e0373097e3ab808e08fdacb20bac9

Author: Prasad J Pandit <[email protected]>
Date:   Wed Jan 20 01:26:46 2016 +0530

usb: check page select value while processing iTD

While processing isochronous transfer descriptors(iTD), the page select(PG) field value could lead to an OOB read access. Add check to avoid it.

Message-id: [email protected]

commit e0f5252ed1ba0e1634e282a953a456da1ae637d6

Author: Prasad J Pandit <[email protected]>
Date:   Fri Jan 15 12:30:40 2016 +0530

net: cadence_gem: check packet size in gem_recieve

While receiving packets in 'gem_receive' routine, if Frame Check Sequence(FCS) is enabled, it copies the packet into a local buffer without checking its size. Add check to validate packet length against the buffer size to avoid buffer overflow.

commit 4c32a1d125c7a541a0a4a95186e2af3b6d0a9004

Author: Prasad J Pandit <[email protected]>
Date:   Fri Feb 5 13:58:20 2016 +0000

ide: ahci: reset ncq object to unused on error

When processing NCQ commands, AHCI device emulation prepares a NCQ transfer object; To which an aio control block(aiocb) object is assigned in 'execute_ncq_command'. In case, when the NCQ command is invalid, the 'aiocb' object is not assigned, and NCQ transfer object is left as 'used'. This leads to a use after free kind of error in 'bdrv_aio_cancel_async' via 'ahci_reset_port'. Reset NCQ transfer object to 'unused' to avoid it.

[Maintainer edit: s/ACHI/AHCI/ in the commit message. --js]

Message-id: [email protected]

commit 240814db3ec94b6bc2947f5a5b256acb890fdf81

Author: Prasad J Pandit <[email protected]>
Date:   Thu Dec 31 17:05:27 2015 +0530

net: ne2000: fix bounds check in ioport operations

While doing ioport r/w operations, ne2000 device emulation suffers from OOB r/w errors. Update respective array bounds check to avoid OOB access.

commit dc3e0649dfa63bf63254057c9cbe2050cb73c26f

Author: P J P <[email protected]>
Date:   Mon Dec 21 15:13:13 2015 +0530

scsi: initialise info object with appropriate size

While processing controller 'CTRL_GET_INFO' command, the routine 'megasas_ctrl_get_info' overflows the '&info' object size. Use its appropriate size to null initialise it.

Message-Id: <alpine.LFD.2.20.1512211501420.22471@wniryva>

commit ed858e4fafbb950761dd408ed9b2185ce4a3b38a

Author: Prasad J Pandit <[email protected]>
Date:   Thu Dec 3 18:54:17 2015 +0530

ui: vnc: avoid floating point exception

While sending 'SetPixelFormat' messages to a VNC server, the client could set the 'red-max', 'green-max' and 'blue-max' values to be zero. This leads to a floating point exception in write_png_palette while doing frame buffer updates.

commit fbdaad6d9ff47f6ef5677d5e94f2b55d08f3545c

Author: Laszlo Ersek <[email protected]>
Date:   Tue Jan 19 14:17:20 2016 +0100

e1000: eliminate infinite loops on out-of-bounds transfer start

The start_xmit() and e1000_receive_iov() functions implement DMA transfers iterating over a set of descriptors that the guest's e1000 driver prepares:

- the TDLEN and RDLEN registers store the total size of the descriptor area,

- while the TDH and RDH registers store the offset (in whole tx / rx descriptors) into the area where the transfer is supposed to start.

Each time a descriptor is processed, the TDH and RDH register is bumped (as appropriate for the transfer direction).

QEMU already contains logic to deal with bogus transfers submitted by the guest:

- Normally, the transmit case wants to increase TDH from its initial value to TDT. (TDT is allowed to be numerically smaller than the initial TDH value; wrapping at or above TDLEN bytes to zero is normal.) The failsafe that QEMU currently has here is a check against reaching the original TDH value again -- a complete wraparound, which should never happen.

- In the receive case RDH is increased from its initial value until "total_size" bytes have been received; preferably in a single step, or in "s->rxbuf_size" byte steps, if the latter is smaller. However, null RX descriptors are skipped without receiving data, while RDH is incremented just the same. QEMU tries to prevent an infinite loop (processing only null RX descriptors) by detecting whether RDH assumes its original value during the loop. (Again, wrapping from RDLEN to 0 is normal.)

What both directions miss is that the guest could program TDLEN and RDLEN so low, and the initial TDH and RDH so high, that these registers will immediately be truncated to zero, and then never reassume their initial values in the loop -- a full wraparound will never occur.

The condition that expresses this is:

xdh_start >= s->mac_reg[XDLEN] / sizeof(desc)

i.e., TDH or RDH start out after the last whole rx or tx descriptor that fits into the TDLEN or RDLEN sized area.

This condition could be checked before we enter the loops, but pci_dma_read() / pci_dma_write() knows how to fill in buffers safely for bogus DMA addresses, so we just extend the existing failsafes with the above condition.

This is CVE-2016-1981.

upstream-commit-id: dd793a74882477ca38d49e191110c17dfee51dcc

Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Petr Matousek <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Prasad Pandit <[email protected]>
Cc: Michael Roth <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: [email protected]
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1296044

commit dfa931206ef90f27c4998399e03233501d7e8705

Author: Roger Pau Monne <[email protected]>
Date:   Fri Nov 13 17:38:06 2015 +0000

xen: fix usage of xc_domain_create in domain builder

Due to the addition of HVMlite and the requirement to always provide a valid xc_domain_configuration_t, xc_domain_create now always takes an arch domain config, which can be NULL in order to mimic previous behaviour.

Add a small stub called xen_domain_create that encapsulates the correct call to xc_domain_create depending on the libxc version detected.

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