================================================================== BUG: KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_do_dispatch_sched write to 0xffff888101b9a010 of 8 bytes by task 972 on cpu 0: 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 0xffff888101b9a010 of 8 bytes by task 11543 on cpu 1: 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_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_sched_insert_requests+0x12b/0x1f0 block/blk-mq-sched.c:513 blk_mq_flush_plug_list+0x2f2/0x3c0 block/blk-mq.c:1955 blk_flush_plug_list+0x235/0x260 block/blk-core.c:1733 blk_finish_plug+0x44/0x60 block/blk-core.c:1750 do_blockdev_direct_IO fs/direct-io.c:1305 [inline] __blockdev_direct_IO+0x1cfc/0x2410 fs/direct-io.c:1368 blockdev_direct_IO include/linux/fs.h:3300 [inline] fat_direct_IO+0x108/0x1c0 fs/fat/inode.c:288 generic_file_read_iter+0x1c5/0x2c0 mm/filemap.c:2679 call_read_iter include/linux/fs.h:2108 [inline] generic_file_splice_read+0x22a/0x310 fs/splice.c:311 do_splice_to fs/splice.c:796 [inline] splice_direct_to_actor+0x2aa/0x650 fs/splice.c:870 do_splice_direct+0xf5/0x170 fs/splice.c:979 do_sendfile+0x773/0xda0 fs/read_write.c:1260 __do_sys_sendfile64 fs/read_write.c:1325 [inline] __se_sys_sendfile64 fs/read_write.c:1311 [inline] __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1311 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0xffff888101b9ce48 -> 0xffff888101b9a008 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 11543 Comm: syz-executor.4 Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================