================================================================== BUG: KCSAN: data-race in blk_mq_request_bypass_insert / blk_mq_run_hw_queue write to 0xffff888129d3f410 of 8 bytes by task 3440 on cpu 0: __list_add include/linux/list.h:70 [inline] __list_add include/linux/list.h:63 [inline] list_add include/linux/list.h:86 [inline] blk_mq_request_bypass_insert+0x193/0x1f0 block/blk-mq.c:1694 blk_mq_sched_insert_request+0x374/0x3c0 block/blk-mq-sched.c:423 blk_mq_requeue_work+0x349/0x440 block/blk-mq.c:746 process_one_work+0x424/0x930 kernel/workqueue.c:2268 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2414 kthread+0x203/0x230 kernel/kthread.c:268 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 read to 0xffff888129d3f410 of 8 bytes by interrupt on cpu 1: list_empty_careful include/linux/list.h:301 [inline] blk_mq_hctx_has_pending block/blk-mq.c:69 [inline] blk_mq_run_hw_queue+0x10a/0x1b0 block/blk-mq.c:1515 blk_mq_run_hw_queues+0xa2/0xe0 block/blk-mq.c:1537 scsi_end_request+0x343/0x360 drivers/scsi/scsi_lib.c:615 scsi_io_completion+0x11e/0xcc0 drivers/scsi/scsi_lib.c:959 scsi_finish_command+0x283/0x390 drivers/scsi/scsi.c:214 scsi_softirq_done+0x249/0x270 drivers/scsi/scsi_lib.c:1454 blk_done_softirq+0x1e6/0x250 block/blk-softirq.c:37 __do_softirq+0x118/0x34a kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xb5/0xd0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:546 [inline] do_IRQ+0x7b/0x120 arch/x86/kernel/irq.c:263 ret_from_intr+0x0/0x21 find_watchpoint kernel/kcsan/core.c:127 [inline] check_access kernel/kcsan/core.c:566 [inline] __tsan_read8+0x61/0x110 kernel/kcsan/core.c:770 compound_head include/linux/page-flags.h:182 [inline] PageAnon include/linux/page-flags.h:479 [inline] zap_pte_range mm/memory.c:1082 [inline] zap_pmd_range mm/memory.c:1196 [inline] zap_pud_range mm/memory.c:1225 [inline] zap_p4d_range mm/memory.c:1246 [inline] unmap_page_range+0x90c/0x1c50 mm/memory.c:1267 unmap_single_vma+0x13c/0x1f0 mm/memory.c:1312 unmap_vmas+0xe2/0x1b0 mm/memory.c:1344 exit_mmap+0x13e/0x2f0 mm/mmap.c:3150 __mmput kernel/fork.c:1085 [inline] mmput+0xe2/0x260 kernel/fork.c:1106 exit_mm kernel/exit.c:479 [inline] do_exit+0x644/0x11e0 kernel/exit.c:782 do_group_exit+0xae/0x1a0 kernel/exit.c:893 get_signal+0x2a7/0x1290 kernel/signal.c:2739 do_signal+0x2b/0x840 arch/x86/kernel/signal.c:784 exit_to_usermode_loop+0x24a/0x2c0 arch/x86/entry/common.c:161 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x38b/0x3b0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 7483 Comm: syz-executor.4 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================