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>] [day] [month] [year] [list]
Message-ID: <20170327043647.GD17604@yexl-desktop>
Date:   Mon, 27 Mar 2017 12:36:47 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Omar Sandoval <osandov@...com>
Cc:     Jens Axboe <axboe@...com>, LKML <linux-kernel@...r.kernel.org>,
        Jens Axboe <axboe@...nel.dk>, lkp@...org
Subject: [lkp-robot] [blk]  34dbad5d26:
 WARNING:at_block/blk-stat.c:#blk_free_queue_stats


FYI, we noticed the following commit:

commit: 34dbad5d26e2f4b88e60f0e9ad03f99480802812 ("blk-stat: convert to callback-based statistics reporting")
https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git for-next

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-x86_64 -enable-kvm -cpu SandyBridge -m 512M

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


+---------------------------------------------------+------------+------------+
|                                                   | 4875253fdd | 34dbad5d26 |
+---------------------------------------------------+------------+------------+
| boot_successes                                    | 8          | 4          |
| boot_failures                                     | 0          | 32         |
| WARNING:at_block/blk-stat.c:#blk_free_queue_stats | 0          | 31         |
| BUG:kernel_hang_in_test_stage                     | 0          | 12         |
+---------------------------------------------------+------------+------------+



[    2.506372] WARNING: CPU: 0 PID: 1 at block/blk-stat.c:236 blk_free_queue_stats+0x26/0x40
[    2.507814] Modules linked in:
[    2.508274] CPU: 0 PID: 1 Comm: swapper Not tainted 4.11.0-rc3-00005-g34dbad5 #1
[    2.509337] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    2.510787] Call Trace:
[    2.511167]  dump_stack+0x19/0x24
[    2.511664]  __warn+0xba/0xe0
[    2.512111]  warn_slowpath_null+0x18/0x20
[    2.512693]  blk_free_queue_stats+0x26/0x40
[    2.513358]  blk_release_queue+0x72/0x110
[    2.513951]  kobject_put+0x8b/0xa0
[    2.514455]  blk_put_queue+0x10/0x20
[    2.514987]  scsi_device_dev_release_usercontext+0x16f/0x210
[    2.515796]  ? scsi_device_cls_release+0x20/0x20
[    2.529531]  execute_in_process_context+0x27/0x90
[    2.530230]  scsi_device_dev_release+0x17/0x20
[    2.530890]  device_release+0x54/0x90
[    2.531423]  kobject_put+0x8b/0xa0
[    2.531928]  put_device+0x12/0x20
[    2.532414]  __scsi_remove_device+0xc6/0xd0
[    2.533029]  scsi_forget_host+0x4c/0x60
[    2.533600]  scsi_remove_host+0x8c/0x110
[    2.534181]  sdebug_driver_remove+0x60/0xd0
[    2.534784]  ? sdebug_driver_probe+0x264/0x390
[    2.535434]  driver_probe_device+0x16f/0x320
[    2.536061]  __device_attach_driver+0x9f/0xb0
[    2.536690]  ? __driver_attach+0x90/0x90
[    2.537266]  bus_for_each_drv+0x4f/0x90
[    2.537822]  __device_attach+0xa7/0x120
[    2.538383]  device_initial_probe+0xe/0x10
[    2.538981]  bus_probe_device+0x35/0xb0
[    2.539542]  device_add+0x3db/0x600
[    2.540063]  device_register+0x15/0x20
[    2.540610]  sdebug_add_adapter+0x146/0x1d0
[    2.541232]  ? do_early_param+0x8f/0x8f
[    2.541789]  scsi_debug_init+0x6bd/0x7a2
[    2.543646]  ? scsi_register_driver+0x11/0x20
[    2.544290]  ? init_sr+0x43/0x43
[    2.544763]  do_one_initcall+0x95/0x180
[    2.545333]  ? do_early_param+0x8f/0x8f
[    2.545898]  kernel_init_freeable+0xfe/0x18d
[    2.546512]  ? rest_init+0x130/0x130
[    2.547042]  kernel_init+0x9/0xf0
[    2.547526]  ret_from_fork+0x31/0x40
[    2.548076] ---[ end trace d0d35b85d64d7a90 ]---


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

View attachment "config-4.11.0-rc3-00005-g34dbad5" of type "text/plain" (112555 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ