================================================================== BUG: KCSAN: data-race in blk_mq_run_hw_queue / blk_mq_sched_dispatch_requests read to 0xffff888129cae010 of 8 bytes by interrupt on cpu 1: list_empty_careful include/linux/list.h:287 [inline] blk_mq_hctx_has_pending block/blk-mq.c:69 [inline] blk_mq_run_hw_queue+0x11a/0x1c0 block/blk-mq.c:1504 blk_mq_run_hw_queues+0xac/0xf0 block/blk-mq.c:1525 scsi_end_request+0x3bd/0x3e0 drivers/scsi/scsi_lib.c:619 scsi_io_completion+0x11d/0xc80 drivers/scsi/scsi_lib.c:963 scsi_finish_command+0x280/0x380 drivers/scsi/scsi.c:228 scsi_softirq_done+0x259/0x280 drivers/scsi/scsi_lib.c:1477 blk_done_softirq+0x1eb/0x250 block/blk-softirq.c:37 __do_softirq+0x115/0x33f kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xbb/0xe0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] do_IRQ+0x81/0x130 arch/x86/kernel/irq.c:263 ret_from_intr+0x0/0x19 arch_local_irq_restore arch/x86/include/asm/paravirt.h:756 [inline] kcsan_setup_watchpoint+0x1d4/0x460 kernel/kcsan/core.c:436 check_access kernel/kcsan/core.c:466 [inline] __tsan_read8 kernel/kcsan/core.c:596 [inline] __tsan_read8+0xc6/0x100 kernel/kcsan/core.c:596 compound_head include/linux/page-flags.h:174 [inline] PageAnon include/linux/page-flags.h:463 [inline] page_remove_rmap+0x56/0x770 mm/rmap.c:1304 zap_pte_range mm/memory.c:1062 [inline] zap_pmd_range mm/memory.c:1166 [inline] zap_pud_range mm/memory.c:1195 [inline] zap_p4d_range mm/memory.c:1216 [inline] unmap_page_range+0xbab/0x18d0 mm/memory.c:1237 unmap_single_vma+0x144/0x200 mm/memory.c:1282 unmap_vmas+0xda/0x1a0 mm/memory.c:1314 exit_mmap+0x13e/0x300 mm/mmap.c:3161 __mmput kernel/fork.c:1079 [inline] mmput+0xea/0x280 kernel/fork.c:1100 exit_mm kernel/exit.c:485 [inline] do_exit+0x4c9/0x18f0 kernel/exit.c:804 do_group_exit+0xb4/0x1c0 kernel/exit.c:921 get_signal+0x2a2/0x1320 kernel/signal.c:2734 do_signal+0x2f/0x6c0 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x250/0x2c0 arch/x86/entry/common.c:159 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x353/0x370 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff888129cae010 of 8 bytes by task 2504 on cpu 0: INIT_LIST_HEAD include/linux/list.h:29 [inline] list_splice_init include/linux/list.h:451 [inline] blk_mq_sched_dispatch_requests+0x239/0x380 block/blk-mq-sched.c:190 __blk_mq_run_hw_queue+0xb7/0x160 block/blk-mq.c:1403 __blk_mq_delay_run_hw_queue+0x31b/0x3a0 block/blk-mq.c:1471 blk_mq_run_hw_queue+0x103/0x1c0 block/blk-mq.c:1508 blk_mq_run_hw_queues+0xac/0xf0 block/blk-mq.c:1525 blk_mq_requeue_work+0x3a9/0x460 block/blk-mq.c:775 process_one_work+0x3d4/0x890 kernel/workqueue.c:2269 worker_thread+0xa0/0x800 kernel/workqueue.c:2415 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2504 Comm: kworker/0:1H Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: kblockd blk_mq_requeue_work ==================================================================