================================================================== BUG: KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_do_dispatch_sched write to 0xffff8881029a2810 of 8 bytes by task 710 on cpu 1: INIT_LIST_HEAD include/linux/list.h:36 [inline] list_splice_init include/linux/list.h:483 [inline] __blk_mq_sched_dispatch_requests+0x137/0x290 block/blk-mq-sched.c:308 blk_mq_sched_dispatch_requests+0x9f/0x110 block/blk-mq-sched.c:360 __blk_mq_run_hw_queue+0xbc/0x140 block/blk-mq.c:1500 __blk_mq_delay_run_hw_queue+0x163/0x2f0 block/blk-mq.c:1577 blk_mq_run_hw_queue+0x22c/0x250 block/blk-mq.c:1630 blk_mq_run_hw_queues+0x1d1/0x230 block/blk-mq.c:1693 blk_mq_requeue_work+0x3ff/0x440 block/blk-mq.c:798 process_one_work+0x3e9/0x8f0 kernel/workqueue.c:2276 worker_thread+0x636/0xae0 kernel/workqueue.c:2422 kthread+0x262/0x280 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 read to 0xffff8881029a2810 of 8 bytes by task 885 on cpu 0: list_empty_careful include/linux/list.h:319 [inline] __blk_mq_do_dispatch_sched block/blk-mq-sched.c:140 [inline] blk_mq_do_dispatch_sched+0x167/0x640 block/blk-mq-sched.c:214 __blk_mq_sched_dispatch_requests+0x1eb/0x290 block/blk-mq-sched.c:329 blk_mq_sched_dispatch_requests+0x9f/0x110 block/blk-mq-sched.c:360 __blk_mq_run_hw_queue+0xbc/0x140 block/blk-mq.c:1500 blk_mq_run_work_fn+0x3d/0x50 block/blk-mq.c:1832 process_one_work+0x3e9/0x8f0 kernel/workqueue.c:2276 worker_thread+0x636/0xae0 kernel/workqueue.c:2422 kthread+0x262/0x280 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 value changed: 0xffff8881029a5848 -> 0xffff8881029a2808 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 885 Comm: kworker/0:1H Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: kblockd blk_mq_run_work_fn ==================================================================