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: <20170324020900.GB12482@yexl-desktop>
Date:   Fri, 24 Mar 2017 10:09:00 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Jens Axboe <axboe@...com>
Cc:     LKML <linux-kernel@...r.kernel.org>, Jens Axboe <axboe@...com>,
        Jens Axboe <axboe@...nel.dk>, lkp@...org
Subject: [lkp-robot] [block]  a83b576c9c:
 WARNING:at_block/blk-stat.c:#blk_free_queue_stats


FYI, we noticed the following commit:

commit: a83b576c9c25cf771fb0b15ec5eb2e7510ec2f5a ("block: fix stacked driver stats init and free")
https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git for-next

in testcase: boot

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


+---------------------------------------------------+------------+------------+
|                                                   | 34dbad5d26 | a83b576c9c |
+---------------------------------------------------+------------+------------+
| boot_successes                                    | 0          | 0          |
| boot_failures                                     | 45         | 11         |
| BUG:unable_to_handle_kernel                       | 45         |            |
| Oops:#[##]                                        | 45         |            |
| Kernel_panic-not_syncing:Fatal_exception          | 45         |            |
| WARNING:at_block/blk-stat.c:#blk_free_queue_stats | 0          | 11         |
+---------------------------------------------------+------------+------------+



[   48.162278] WARNING: CPU: 0 PID: 1 at block/blk-stat.c:237 blk_free_queue_stats+0x31/0x40
[   48.164083] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc3-00006-ga83b576 #1
[   48.165276] Call Trace:
[   48.165576]  dump_stack+0x63/0x89
[   48.165982]  __warn+0xd4/0xf0
[   48.166322]  warn_slowpath_null+0x18/0x20
[   48.166794]  blk_free_queue_stats+0x31/0x40
[   48.167524]  blk_release_queue+0x67/0x110
[   48.167994]  kobject_cleanup+0x43/0x80
[   48.168446]  ? scsi_device_cls_release+0x20/0x20
[   48.168982]  kobject_put+0x28/0x50
[   48.169415]  blk_put_queue+0x10/0x20
[   48.170169]  scsi_device_dev_release_usercontext+0x19d/0x200
[   48.171159]  ? scsi_device_cls_release+0x20/0x20
[   48.172067]  execute_in_process_context+0x86/0xa0
[   48.172682]  scsi_device_dev_release+0x17/0x20
[   48.173246]  device_release+0x38/0xa0
[   48.173681]  kobject_cleanup+0x43/0x80
[   48.174180]  kobject_put+0x28/0x50
[   48.174576]  put_device+0x12/0x20
[   48.174973]  __scsi_remove_device+0x89/0xd0
[   48.175526]  scsi_forget_host+0x5b/0x60
[   48.175954]  scsi_remove_host+0x74/0x110
[   48.176458]  sdebug_driver_remove+0x24/0xb0
[   48.177031]  driver_probe_device+0xd4/0x380
[   48.177687]  __device_attach_driver+0x81/0xb0
[   48.178458]  ? __driver_attach+0xb0/0xb0
[   48.179120]  bus_for_each_drv+0x58/0x90
[   48.179917]  __device_attach+0xc6/0x120
[   48.180568]  device_initial_probe+0xe/0x10
[   48.181109]  bus_probe_device+0x9e/0xb0
[   48.181579]  device_add+0x417/0x5e0
[   48.182087]  device_register+0x15/0x20
[   48.182537]  sdebug_add_adapter+0xf1/0x1e0
[   48.183029]  scsi_debug_init+0x724/0x7bb
[   48.183580]  ? scsi_register_interface+0x11/0x20
[   48.184407]  ? init_sg+0x9e/0xcb
[   48.185118]  ? init_sg+0xcb/0xcb
[   48.185646]  do_one_initcall+0x9a/0x178
[   48.186335]  ? parse_args+0x253/0x380
[   48.186942]  kernel_init_freeable+0x13c/0x1bd
[   48.187752]  ? set_debug_rodata+0x12/0x12
[   48.188472]  ? rest_init+0xc0/0xc0
[   48.189075]  kernel_init+0x9/0x100
[   48.189642]  ret_from_fork+0x2c/0x40
[   48.190387] ---[ end trace 80efe29bee05d63f ]---


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-00006-ga83b576" of type "text/plain" (99332 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ