[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [linux-linus test] 110178: regressions - trouble: blocked/broken/fail/pass



flight 110178 linux-linus real [real]
http://logs.test-lab.xenproject.org/osstest/logs/110178/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
 test-amd64-amd64-libvirt-vhd  3 host-install(3)        broken REGR. vs. 110093
 test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm 3 host-install(3) broken 
REGR. vs. 110093
 test-amd64-amd64-xl-qemut-debianhvm-amd64 3 host-install(3) broken REGR. vs. 
110093
 test-amd64-amd64-rumprun-amd64  3 host-install(3)      broken REGR. vs. 110093
 test-amd64-amd64-xl-credit2   3 host-install(3)        broken REGR. vs. 110093
 test-amd64-amd64-xl-qcow2     3 host-install(3)        broken REGR. vs. 110093
 test-amd64-amd64-xl-qemut-debianhvm-amd64-xsm 3 host-install(3) broken REGR. 
vs. 110093
 test-amd64-i386-xl-xsm        3 host-install(3)        broken REGR. vs. 110093
 build-armhf                   4 host-build-prep          fail REGR. vs. 110093
 test-amd64-amd64-xl-qemuu-win7-amd64 15 guest-localmigrate/x10 fail REGR. vs. 
110093

Tests which did not succeed, but are not blocking:
 test-armhf-armhf-xl-multivcpu  1 build-check(1)               blocked  n/a
 test-armhf-armhf-libvirt      1 build-check(1)               blocked  n/a
 build-armhf-libvirt           1 build-check(1)               blocked  n/a
 test-armhf-armhf-libvirt-raw  1 build-check(1)               blocked  n/a
 test-armhf-armhf-examine      1 build-check(1)               blocked  n/a
 test-armhf-armhf-xl           1 build-check(1)               blocked  n/a
 test-armhf-armhf-xl-vhd       1 build-check(1)               blocked  n/a
 test-armhf-armhf-xl-credit2   1 build-check(1)               blocked  n/a
 test-armhf-armhf-xl-cubietruck  1 build-check(1)               blocked  n/a
 test-armhf-armhf-xl-rtds      1 build-check(1)               blocked  n/a
 test-armhf-armhf-xl-arndale   1 build-check(1)               blocked  n/a
 test-armhf-armhf-libvirt-xsm  1 build-check(1)               blocked  n/a
 test-amd64-amd64-xl-qemut-win7-amd64 15 guest-localmigrate/x10 fail like 110060
 test-amd64-i386-xl-qemuu-win7-amd64 16 guest-stop             fail like 110093
 test-amd64-i386-xl-qemut-win7-amd64 16 guest-stop             fail like 110093
 test-amd64-amd64-xl-rtds      9 debian-install               fail  like 110093
 test-amd64-amd64-xl-qemut-ws16-amd64  9 windows-install        fail never pass
 test-amd64-amd64-libvirt     12 migrate-support-check        fail   never pass
 test-amd64-amd64-xl-qemuu-ws16-amd64  9 windows-install        fail never pass
 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 10 migrate-support-check 
fail never pass
 test-amd64-i386-libvirt      12 migrate-support-check        fail   never pass
 test-arm64-arm64-xl-xsm      12 migrate-support-check        fail   never pass
 test-arm64-arm64-xl-xsm      13 saverestore-support-check    fail   never pass
 test-amd64-i386-libvirt-xsm  12 migrate-support-check        fail   never pass
 test-arm64-arm64-xl          12 migrate-support-check        fail   never pass
 test-arm64-arm64-xl          13 saverestore-support-check    fail   never pass
 test-arm64-arm64-xl-credit2  12 migrate-support-check        fail   never pass
 test-arm64-arm64-xl-credit2  13 saverestore-support-check    fail   never pass
 test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 10 migrate-support-check 
fail never pass
 test-amd64-amd64-qemuu-nested-amd 16 debian-hvm-install/l1/l2  fail never pass
 test-armhf-armhf-xl-xsm      12 migrate-support-check        fail   never pass
 test-armhf-armhf-xl-xsm      13 saverestore-support-check    fail   never pass
 test-amd64-amd64-libvirt-xsm 12 migrate-support-check        fail   never pass
 test-arm64-arm64-libvirt-xsm 12 migrate-support-check        fail   never pass
 test-arm64-arm64-libvirt-xsm 13 saverestore-support-check    fail   never pass
 test-amd64-amd64-xl-qemuu-win10-i386  9 windows-install        fail never pass
 test-amd64-i386-xl-qemuu-win10-i386  9 windows-install         fail never pass
 test-amd64-i386-xl-qemut-win10-i386  9 windows-install         fail never pass
 test-amd64-amd64-xl-qemut-win10-i386  9 windows-install        fail never pass
 test-amd64-i386-xl-qemuu-ws16-amd64  9 windows-install         fail never pass
 test-amd64-i386-xl-qemut-ws16-amd64  9 windows-install         fail never pass

version targeted for testing:
 linux                0d22df90c7eadeaf852caca49ae8df9b2c3075a4
baseline version:
 linux                b29794ec95c6856b316c2295904208bf11ffddd9

Last test of basis   110093  2017-06-07 17:29:08 Z    2 days
Failing since        110131  2017-06-08 17:30:38 Z    1 days    2 attempts
Testing same since   110178  2017-06-09 09:50:43 Z    0 days    1 attempts

------------------------------------------------------------
People who touched revisions under test:
  Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
  Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
  Jessica Yu <jeyu@xxxxxxxxxx>
  Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
  Petr Mladek <pmladek@xxxxxxxx>
  Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
  Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>

jobs:
 build-amd64-xsm                                              pass    
 build-arm64-xsm                                              pass    
 build-armhf-xsm                                              pass    
 build-i386-xsm                                               pass    
 build-amd64                                                  pass    
 build-arm64                                                  pass    
 build-armhf                                                  broken  
 build-i386                                                   pass    
 build-amd64-libvirt                                          pass    
 build-arm64-libvirt                                          pass    
 build-armhf-libvirt                                          blocked 
 build-i386-libvirt                                           pass    
 build-amd64-pvops                                            pass    
 build-arm64-pvops                                            pass    
 build-armhf-pvops                                            pass    
 build-i386-pvops                                             pass    
 build-amd64-rumprun                                          pass    
 build-i386-rumprun                                           pass    
 test-amd64-amd64-xl                                          pass    
 test-arm64-arm64-xl                                          pass    
 test-armhf-armhf-xl                                          blocked 
 test-amd64-i386-xl                                           pass    
 test-amd64-amd64-xl-qemut-debianhvm-amd64-xsm                broken  
 test-amd64-i386-xl-qemut-debianhvm-amd64-xsm                 pass    
 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm           pass    
 test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm            pass    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64-xsm                pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64-xsm                 pass    
 test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-xsm        pass    
 test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm         broken  
 test-amd64-amd64-libvirt-xsm                                 pass    
 test-arm64-arm64-libvirt-xsm                                 pass    
 test-armhf-armhf-libvirt-xsm                                 blocked 
 test-amd64-i386-libvirt-xsm                                  pass    
 test-amd64-amd64-xl-xsm                                      pass    
 test-arm64-arm64-xl-xsm                                      pass    
 test-armhf-armhf-xl-xsm                                      pass    
 test-amd64-i386-xl-xsm                                       broken  
 test-amd64-amd64-qemuu-nested-amd                            fail    
 test-amd64-amd64-xl-pvh-amd                                  pass    
 test-amd64-i386-qemut-rhel6hvm-amd                           pass    
 test-amd64-i386-qemuu-rhel6hvm-amd                           pass    
 test-amd64-amd64-xl-qemut-debianhvm-amd64                    broken  
 test-amd64-i386-xl-qemut-debianhvm-amd64                     pass    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64                     pass    
 test-amd64-i386-freebsd10-amd64                              pass    
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         pass    
 test-amd64-i386-xl-qemuu-ovmf-amd64                          pass    
 test-amd64-amd64-rumprun-amd64                               broken  
 test-amd64-amd64-xl-qemut-win7-amd64                         fail    
 test-amd64-i386-xl-qemut-win7-amd64                          fail    
 test-amd64-amd64-xl-qemuu-win7-amd64                         fail    
 test-amd64-i386-xl-qemuu-win7-amd64                          fail    
 test-amd64-amd64-xl-qemut-ws16-amd64                         fail    
 test-amd64-i386-xl-qemut-ws16-amd64                          fail    
 test-amd64-amd64-xl-qemuu-ws16-amd64                         fail    
 test-amd64-i386-xl-qemuu-ws16-amd64                          fail    
 test-armhf-armhf-xl-arndale                                  blocked 
 test-amd64-amd64-xl-credit2                                  broken  
 test-arm64-arm64-xl-credit2                                  pass    
 test-armhf-armhf-xl-credit2                                  blocked 
 test-armhf-armhf-xl-cubietruck                               blocked 
 test-amd64-amd64-examine                                     pass    
 test-arm64-arm64-examine                                     pass    
 test-armhf-armhf-examine                                     blocked 
 test-amd64-i386-examine                                      pass    
 test-amd64-i386-freebsd10-i386                               pass    
 test-amd64-i386-rumprun-i386                                 pass    
 test-amd64-amd64-xl-qemut-win10-i386                         fail    
 test-amd64-i386-xl-qemut-win10-i386                          fail    
 test-amd64-amd64-xl-qemuu-win10-i386                         fail    
 test-amd64-i386-xl-qemuu-win10-i386                          fail    
 test-amd64-amd64-qemuu-nested-intel                          pass    
 test-amd64-amd64-xl-pvh-intel                                pass    
 test-amd64-i386-qemut-rhel6hvm-intel                         pass    
 test-amd64-i386-qemuu-rhel6hvm-intel                         pass    
 test-amd64-amd64-libvirt                                     pass    
 test-armhf-armhf-libvirt                                     blocked 
 test-amd64-i386-libvirt                                      pass    
 test-amd64-amd64-xl-multivcpu                                pass    
 test-armhf-armhf-xl-multivcpu                                blocked 
 test-amd64-amd64-pair                                        pass    
 test-amd64-i386-pair                                         pass    
 test-amd64-amd64-libvirt-pair                                pass    
 test-amd64-i386-libvirt-pair                                 pass    
 test-amd64-amd64-amd64-pvgrub                                pass    
 test-amd64-amd64-i386-pvgrub                                 pass    
 test-amd64-amd64-pygrub                                      pass    
 test-amd64-amd64-xl-qcow2                                    broken  
 test-armhf-armhf-libvirt-raw                                 blocked 
 test-amd64-i386-xl-raw                                       pass    
 test-amd64-amd64-xl-rtds                                     fail    
 test-armhf-armhf-xl-rtds                                     blocked 
 test-amd64-amd64-libvirt-vhd                                 broken  
 test-armhf-armhf-xl-vhd                                      blocked 


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

broken-step test-amd64-amd64-libvirt-vhd host-install(3)
broken-step test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm host-install(3)
broken-step test-amd64-amd64-xl-qemut-debianhvm-amd64 host-install(3)
broken-step test-amd64-amd64-rumprun-amd64 host-install(3)
broken-step test-amd64-amd64-xl-credit2 host-install(3)
broken-step test-amd64-amd64-xl-qcow2 host-install(3)
broken-step test-amd64-amd64-xl-qemut-debianhvm-amd64-xsm host-install(3)
broken-step test-amd64-i386-xl-xsm host-install(3)

Not pushing.

------------------------------------------------------------
commit 0d22df90c7eadeaf852caca49ae8df9b2c3075a4
Merge: aea4156 fbd78af
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date:   Thu Jun 8 17:40:32 2017 -0700

    Merge tag 'pm-4.12-rc5' of 
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
    
    Pull power management fixes from Rafael Wysocki:
     "These revert one problematic commit related to system sleep and fix
      one recent intel_pstate regression.
    
      Specifics:
    
       - Revert a recent commit that attempted to avoid spurious wakeups
         from suspend-to-idle via ACPI SCI, but introduced regressions on
         some systems (Rafael Wysocki).
    
         We will get back to the problem it tried to address in the next
         cycle.
    
       - Fix a possible division by 0 during intel_pstate initialization
         due to a missing check (Rafael Wysocki)"
    
    * tag 'pm-4.12-rc5' of 
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      Revert "ACPI / sleep: Ignore spurious SCI wakeups from suspend-to-idle"
      cpufreq: intel_pstate: Avoid division by 0 in min_perf_pct_min()

commit aea4156c308670699d74dedb182ebceffb633185
Merge: dc0cf5a 462c5a8
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date:   Thu Jun 8 16:28:49 2017 -0700

    Merge tag 'modules-for-v4.12-rc5' of 
git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
    
    Pull module maintainer address change from Jessica Yu:
     "A single patch that advertises my email address change"
    
    * tag 'modules-for-v4.12-rc5' of 
git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
      MAINTAINERS: update email address for Jessica Yu

commit fbd78afe34d9cc3a86aff7cc214d9f06e815e63e
Merge: 3c2993b 57caf4e f3b7eaa
Author: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
Date:   Fri Jun 9 01:25:16 2017 +0200

    Merge branches 'intel_pstate' and 'pm-sleep'
    
    * intel_pstate:
      cpufreq: intel_pstate: Avoid division by 0 in min_perf_pct_min()
    
    * pm-sleep:
      Revert "ACPI / sleep: Ignore spurious SCI wakeups from suspend-to-idle"

commit dc0cf5a77db9d200284f54a60994c1f6d2fbfc5f
Merge: d0aab7d dac8bbb
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date:   Thu Jun 8 10:50:04 2017 -0700

    Merge branch 'for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk
    
    Pull printk fix from Petr Mladek:
     "This reverts a fix added into 4.12-rc1. It caused the kernel log to be
      printed on another console when two consoles of the same type were
      defined, e.g. console=ttyS0 console=ttyS1.
    
      This configuration was never supported by kernel itself, but it
      started to make sense with systemd. In other words, the commit broke
      userspace"
    
    * 'for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk:
      Revert "printk: fix double printing with earlycon"

commit d0aab7d4e93e0fd5df3e892e0f2087d7a5371b1a
Merge: b29794e f3ad587
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date:   Thu Jun 8 10:02:58 2017 -0700

    Merge branch 'linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
    
    Pull crypto fixes from Herbert Xu:
     "This fixes a couple of places in the crypto code that were doing
      interruptible sleeps dangerously. They have been converted to use
      non-interruptible sleeps.
    
      This also fixes a bug in asymmetric_keys where it would trigger a
      use-after-free if a request returned EBUSY due to a full device queue"
    
    * 'linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
      crypto: gcm - wait for crypto op not signal safe
      crypto: drbg - wait for crypto op not signal safe
      crypto: asymmetric_keys - handle EBUSY due to backlog correctly

commit dac8bbbae1d0ccba96402d25deeed3a2e87992c6
Author: Petr Mladek <pmladek@xxxxxxxx>
Date:   Thu Jun 8 12:01:30 2017 +0200

    Revert "printk: fix double printing with earlycon"
    
    This reverts commit cf39bf58afdaabc0b86f141630fb3fd18190294e.
    
    The commit regression to users that define both console=ttyS1
    and console=ttyS0 on the command line, see
    https://lkml.kernel.org/r/20170509082915.GA13236@bistromath.localdomain
    
    The kernel log messages always appeared only on one serial port. It is
    even documented in Documentation/admin-guide/serial-console.rst:
    
    "Note that you can only define one console per device type (serial,
    video)."
    
    The above mentioned commit changed the order in which the command line
    parameters are searched. As a result, the kernel log messages go to
    the last mentioned ttyS* instead of the first one.
    
    We long thought that using two console=ttyS* on the command line
    did not make sense. But then we realized that console= parameters
    were handled also by systemd, see
    http://0pointer.de/blog/projects/serial-console.html
    
    "By default systemd will instantiate one serial-getty@.service on
    the main kernel console, if it is not a virtual terminal."
    
    where
    
    "[4] If multiple kernel consoles are used simultaneously, the main
    console is the one listed first in /sys/class/tty/console/active,
    which is the last one listed on the kernel command line."
    
    This puts the original report into another light. The system is running
    in qemu. The first serial port is used to store the messages into a file.
    The second one is used to login to the system via a socket. It depends
    on systemd and the historic kernel behavior.
    
    By other words, systemd causes that it makes sense to define both
    console=ttyS1 console=ttyS0 on the command line. The kernel fix
    caused regression related to userspace (systemd) and need to be
    reverted.
    
    In addition, it went out that the fix helped only partially.
    The messages still were duplicated when the boot console was
    removed early by late_initcall(printk_late_init). Then the entire
    log was replayed when the same console was registered as a normal one.
    
    Link: 20170606160339.GC7604@xxxxxxxxxxxxxxx
    Cc: Aleksey Makarov <aleksey.makarov@xxxxxxxxxx>
    Cc: Sabrina Dubroca <sd@xxxxxxxxxxxxxxx>
    Cc: Sudeep Holla <sudeep.holla@xxxxxxx>
    Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
    Cc: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx>
    Cc: Jiri Slaby <jslaby@xxxxxxxx>
    Cc: Robin Murphy <robin.murphy@xxxxxxx>,
    Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
    Cc: "Nair, Jayachandran" <Jayachandran.Nair@xxxxxxxxxx>
    Cc: linux-serial@xxxxxxxxxxxxxxx
    Cc: linux-kernel@xxxxxxxxxxxxxxx
    Reported-by: Sabrina Dubroca <sd@xxxxxxxxxxxxxxx>
    Acked-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
    Signed-off-by: Petr Mladek <pmladek@xxxxxxxx>

commit 462c5a826eba39fad819ccef916f9943ff42bf0d
Author: Jessica Yu <jeyu@xxxxxxxxxx>
Date:   Wed Jun 7 23:52:36 2017 -0700

    MAINTAINERS: update email address for Jessica Yu
    
    I will be traveling in the upcoming months and it'll be much easier for me
    to access my kernel.org email rather than my work one. Change my email
    address in the MAINTAINERS file from jeyu@xxxxxxxxxx to jeyu@xxxxxxxxxx.
    
    Signed-off-by: Jessica Yu <jeyu@xxxxxxxxxx>

commit f3b7eaae1b35eb8077610eb7c7db042c9b0645e1
Author: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
Date:   Wed Jun 7 00:57:37 2017 +0200

    Revert "ACPI / sleep: Ignore spurious SCI wakeups from suspend-to-idle"
    
    Revert commit eed4d47efe95 (ACPI / sleep: Ignore spurious SCI wakeups
    from suspend-to-idle) as it turned out to be premature and triggered
    a number of different issues on various systems.
    
    That includes, but is not limited to, premature suspend-to-RAM aborts
    on Dell XPS 13 (9343) reported by Dominik.
    
    The issue the commit in question attempted to address is real and
    will need to be taken care of going forward, but evidently more work
    is needed for this purpose.
    
    Reported-by: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

commit 57caf4ec2b8bfbcb4f738ab5a12eedf3a8786045
Author: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
Date:   Mon Jun 5 14:51:18 2017 +0200

    cpufreq: intel_pstate: Avoid division by 0 in min_perf_pct_min()
    
    Commit c5a2ee7dde89 (cpufreq: intel_pstate: Active mode P-state
    limits rework) incorrectly assumed that pstate.turbo_pstate would
    always be nonzero for CPU0 in min_perf_pct_min() if
    cpufreq_register_driver() had succeeded which may not be the case
    in virtualized environments.
    
    If that assumption doesn't hold, it leads to an early crash on boot
    in intel_pstate_register_driver(), so add a sanity check to
    min_perf_pct_min() to prevent the crash from happening.
    
    Fixes: c5a2ee7dde89 (cpufreq: intel_pstate: Active mode P-state limits 
rework)
    Reported-and-tested-by: Jongman Heo <jongman.heo@xxxxxxxxxxx>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

commit f3ad587070d6bd961ab942b3fd7a85d00dfc934b
Author: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
Date:   Thu May 18 16:29:25 2017 +0300

    crypto: gcm - wait for crypto op not signal safe
    
    crypto_gcm_setkey() was using wait_for_completion_interruptible() to
    wait for completion of async crypto op but if a signal occurs it
    may return before DMA ops of HW crypto provider finish, thus
    corrupting the data buffer that is kfree'ed in this case.
    
    Resolve this by using wait_for_completion() instead.
    
    Reported-by: Eric Biggers <ebiggers3@xxxxxxxxx>
    Signed-off-by: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
    CC: stable@xxxxxxxxxxxxxxx
    Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

commit a5dfefb1c3f3db81662556393fd9283511e08430
Author: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
Date:   Thu May 18 16:29:24 2017 +0300

    crypto: drbg - wait for crypto op not signal safe
    
    drbg_kcapi_sym_ctr() was using wait_for_completion_interruptible() to
    wait for completion of async crypto op but if a signal occurs it
    may return before DMA ops of HW crypto provider finish, thus
    corrupting the output buffer.
    
    Resolve this by using wait_for_completion() instead.
    
    Reported-by: Eric Biggers <ebiggers3@xxxxxxxxx>
    Signed-off-by: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
    CC: stable@xxxxxxxxxxxxxxx
    Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

commit e68368aed56324e2e38d4f6b044bb8cf82077fc2
Author: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
Date:   Thu May 18 16:29:23 2017 +0300

    crypto: asymmetric_keys - handle EBUSY due to backlog correctly
    
    public_key_verify_signature() was passing the CRYPTO_TFM_REQ_MAY_BACKLOG
    flag to akcipher_request_set_callback() but was not handling correctly
    the case where a -EBUSY error could be returned from the call to
    crypto_akcipher_verify() if backlog was used, possibly casuing
    data corruption due to use-after-free of buffers.
    
    Resolve this by handling -EBUSY correctly.
    
    Signed-off-by: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
    CC: stable@xxxxxxxxxxxxxxx
    Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.