FYI, we noticed the following commit: commit: 670fcc25d73abbc113aef9e556a8fb972ec0b56a ("block: Separate zone requests from medium access requests") url: https://github.com/0day-ci/linux/commits/Damien-Le-Moal/block-Introduce-blk_rq_accesses_medium/20170301-022334 in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -m 512M caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): +--------------------------------------------------------------------+------------+------------+ | | 3aa5b02e7e | 670fcc25d7 | +--------------------------------------------------------------------+------------+------------+ | boot_successes | 0 | 0 | | boot_failures | 12 | 12 | | BUG:KASAN:global-out-of-bounds_in__of_match_node_at_addr | 12 | 12 | | BUG:KASAN:global-out-of-bounds_in__of_device_is_compatible_at_addr | 12 | 12 | | kernel_BUG_at_block/blk-core.c | 0 | 8 | | invalid_opcode:#[##]PREEMPT_SMP_KASAN | 0 | 8 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 8 | +--------------------------------------------------------------------+------------+------------+ [ 56.690745] kernel BUG at block/blk-core.c:2426! [ 56.691613] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 56.692344] CPU: 0 PID: 146 Comm: kworker/0:1H Tainted: G B 4.10.0-10533-g670fcc2 #1 [ 56.693338] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014 [ 56.693338] Workqueue: kblockd blk_delay_work [ 56.693338] task: ffff880017478000 task.stack: ffff880017ba8000 [ 56.693338] RIP: 0010:blk_dequeue_request+0x1b/0xd2 [ 56.693338] RSP: 0018:ffff880017bafb40 EFLAGS: 00010046 [ 56.693338] RAX: ffff880018c12f00 RBX: ffff880018c12f00 RCX: ffffffff87a13267 [ 56.693338] RDX: 0000000000000002 RSI: dffffc0000000000 RDI: ffff880018c12f00 [ 56.693338] RBP: ffff880017bafb60 R08: 0000000000000003 R09: 0000000000000001 [ 56.693338] R10: ffff880017bafd90 R11: ffff8800187cf6ef R12: 0000000000000000 [ 56.693338] R13: ffff880018c12f30 R14: ffff8800173fdd80 R15: ffff880017ab9200 [ 56.693338] FS: 0000000000000000(0000) GS:ffff88001a400000(0000) knlGS:0000000000000000 [ 56.693338] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 56.693338] CR2: 00007f81e2aed670 CR3: 0000000018ab7000 CR4: 00000000000006b0 [ 56.693338] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 56.693338] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 56.693338] Call Trace: [ 56.693338] blk_start_request+0x15/0x9e [ 56.693338] blk_fetch_request+0x1b/0x21 [ 56.693338] do_ide_request+0x3df/0xae7 [ 56.693338] ? ide_intr+0x370/0x370 [ 56.693338] ? trace_hardirqs_off_caller+0x1f/0x188 [ 56.693338] ? __lock_acquire+0x38/0x90c [ 56.693338] ? _raw_spin_unlock_irqrestore+0x3c/0x60 [ 56.693338] ? lock_acquire+0xa2/0xd2 [ 56.693338] ? check_flags+0x14/0x251 [ 56.693338] ? blk_delay_work+0x2e/0x51 [ 56.693338] __blk_run_queue+0x63/0x76 [ 56.693338] blk_delay_work+0x36/0x51 [ 56.693338] process_one_work+0x3e5/0x658 [ 56.693338] ? process_one_work+0x352/0x658 [ 56.693338] ? pwq_dec_nr_in_flight+0x106/0x106 [ 56.693338] ? lock_acquire+0xa2/0xd2 [ 56.693338] worker_thread+0x34c/0x549 [ 56.693338] kthread+0x1d5/0x1e5 [ 56.693338] ? process_scheduled_works+0x3e/0x3e [ 56.693338] ? __kthread_create_on_node+0x26a/0x26a [ 56.693338] ret_from_fork+0x31/0x40 [ 56.693338] Code: c3 00 31 c0 5a 5b 41 5c 41 5d 41 5e 41 5f 5d c3 55 48 89 e5 41 56 41 55 41 54 53 48 89 fb e8 ad b9 c4 ff 48 8b 03 48 39 c3 75 02 <0f> 0b 48 8d 7b 48 e8 bd b8 c4 ff f6 43 4a 01 74 02 0f 0b 48 8d [ 56.693338] RIP: blk_dequeue_request+0x1b/0xd2 RSP: ffff880017bafb40 [ 56.693338] ---[ end trace 9cc9c5310ec16eb6 ]--- To reproduce: git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email Thanks, Xiaolong