lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170407213532.GA23400@inn.lkp.intel.com>
Date:   Sat, 8 Apr 2017 05:35:32 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Christoph Hellwig <hch@....de>
Cc:     "Michael S. Tsirkin" <mst@...hat.com>,
        Mike Galbraith <efault@....de>,
        Thorsten Leemhuis <linux@...mhuis.info>,
        virtio-dev@...ts.oasis-open.org,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        rjones@...hat.com, lkp@...org
Subject: [Random guest crashes since 5c34d002dcc7 ("virtio_pci]  3313bedd74:
 WARNING:at_include/linux/pci.h:#vp_del_vqs

FYI, we noticed the following commit:

commit: 3313bedd740af10575cc0e22742ee89166e1ded6 ("Random guest crashes since 5c34d002dcc7 ("virtio_pci: use shared interrupts for virtqueues")")
url: https://github.com/0day-ci/linux/commits/Christoph-Hellwig/virtio_pci-don-t-use-shared-irq-for-virtqueues/20170404-140836


in testcase: trinity
with following parameters:

	runtime: 300s

test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/


on test machine: qemu-system-i386 -enable-kvm -smp 2 -m 320M

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+--------------------------------------------+------------+------------+
|                                            | 89970a04d7 | 3313bedd74 |
+--------------------------------------------+------------+------------+
| boot_successes                             | 8          | 0          |
| boot_failures                              | 0          | 19         |
| WARNING:at_include/linux/pci.h:#vp_del_vqs | 0          | 19         |
+--------------------------------------------+------------+------------+



[   57.630582] WARNING: CPU: 0 PID: 1 at include/linux/pci.h:1365 vp_del_vqs+0xf6/0x100
[   57.634248] CPU: 0 PID: 1 Comm: swapper Not tainted 4.11.0-rc4-00065-g3313bed #1
[   57.637078] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[   57.641013] Call Trace:
[   57.642234]  dump_stack+0x16/0x19
[   57.643521]  __warn+0xd1/0xf0
[   57.644630]  ? vp_del_vqs+0xf6/0x100
[   57.646488]  warn_slowpath_null+0x2a/0x30
[   57.648219]  vp_del_vqs+0xf6/0x100
[   57.649606]  virtblk_remove+0x6c/0xb0
[   57.651041]  virtio_dev_remove+0x39/0xa0
[   57.652559]  driver_probe_device+0xbe/0x4a0
[   57.654271]  ? klist_next+0x1b/0xf0
[   57.655740]  __driver_attach+0xd9/0x100
[   57.659805]  ? _raw_spin_unlock+0x22/0x30
[   57.661576]  ? klist_next+0x73/0xf0
[   57.663027]  ? bus_uevent_store+0x40/0x40
[   57.664536]  ? driver_probe_device+0x4a0/0x4a0
[   57.666558]  bus_for_each_dev+0x4f/0x80
[   57.668242]  driver_attach+0x1e/0x20
[   57.669664]  ? driver_probe_device+0x4a0/0x4a0
[   57.691602]  bus_add_driver+0x1df/0x280
[   57.693154]  driver_register+0x5d/0xf0
[   57.694684]  ? mm_init+0x151/0x151
[   57.696301]  register_virtio_driver+0x1b/0x30
[   57.698171]  init+0x4e/0x78
[   57.699416]  do_one_initcall+0x79/0x123
[   57.700773]  ? trace_hardirqs_on+0xb/0x10
[   57.702466]  ? kernel_init_freeable+0x17f/0x217
[   57.704207]  kernel_init_freeable+0x19f/0x217
[   57.706067]  ? rest_init+0x120/0x120
[   57.707460]  kernel_init+0x10/0x100
[   57.708816]  ? schedule_tail+0x11/0x50
[   57.710603]  ? rest_init+0x120/0x120
[   57.712249]  ret_from_fork+0x21/0x30
[   57.713684] ---[ end trace e7da8fd7329ca23e ]---


To reproduce:

        git clone https://github.com/01org/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script  # job-script is attached in this email



Thanks,
Kernel Test Robot

View attachment "config-4.11.0-rc4-00065-g3313bed" of type "text/plain" (117430 bytes)

View attachment "job-script" of type "text/plain" (3640 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (27592 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ