================================================================== BUG: KCSAN: data-race in blk_mq_dispatch_rq_list / blk_mq_do_dispatch_sched write to 0xffff888102887af8 of 4 bytes by task 3762 on cpu 0: blk_mq_update_dispatch_busy block/blk-mq.c:1848 [inline] blk_mq_dispatch_rq_list+0x1131/0x1250 block/blk-mq.c:2088 __blk_mq_sched_dispatch_requests+0x1b7/0x270 block/blk-mq-sched.c:306 blk_mq_sched_dispatch_requests+0x8f/0xf0 block/blk-mq-sched.c:339 __blk_mq_run_hw_queue+0x7e/0x100 block/blk-mq.c:2110 __blk_mq_delay_run_hw_queue+0x15b/0x2e0 block/blk-mq.c:2186 blk_mq_run_hw_queue+0x180/0x320 block/blk-mq.c:2234 blk_mq_sched_insert_requests+0x1cb/0x2a0 block/blk-mq-sched.c:493 blk_mq_dispatch_plug_list+0x1e9/0x2c0 block/blk-mq.c:2694 blk_mq_flush_plug_list+0x2ea/0x340 block/blk-mq.c:2736 blk_add_rq_to_plug+0x142/0x390 block/blk-mq.c:1264 blk_mq_submit_bio+0x90b/0xe90 block/blk-mq.c:2927 __submit_bio block/blk-core.c:591 [inline] __submit_bio_noacct_mq block/blk-core.c:668 [inline] submit_bio_noacct_nocheck+0x83d/0xaa0 block/blk-core.c:685 submit_bio_noacct+0x6a5/0x810 block/blk-core.c:791 submit_bio+0xfb/0x110 block/blk-core.c:827 iomap_dio_submit_bio fs/iomap/direct-io.c:77 [inline] iomap_dio_bio_iter+0xa4d/0xc00 fs/iomap/direct-io.c:361 __iomap_dio_rw+0x981/0x1000 fs/iomap/direct-io.c:602 iomap_dio_rw+0x3c/0x80 fs/iomap/direct-io.c:690 ext4_dio_write_iter fs/ext4/file.c:587 [inline] ext4_file_write_iter+0xa27/0x1170 fs/ext4/file.c:698 call_write_iter include/linux/fs.h:2191 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x468/0x760 fs/read_write.c:584 ksys_write+0xe8/0x1a0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:646 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888102887af8 of 4 bytes by task 74 on cpu 1: __blk_mq_do_dispatch_sched block/blk-mq-sched.c:100 [inline] blk_mq_do_dispatch_sched+0xc9/0x7f0 block/blk-mq-sched.c:187 __blk_mq_sched_dispatch_requests+0x1cd/0x270 blk_mq_sched_dispatch_requests+0x8f/0xf0 block/blk-mq-sched.c:339 __blk_mq_run_hw_queue+0x7e/0x100 block/blk-mq.c:2110 blk_mq_run_work_fn+0x3d/0x50 block/blk-mq.c:2409 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 value changed: 0x00000007 -> 0x00000008 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 74 Comm: kworker/1:1H Not tainted 6.1.0-rc4-syzkaller-00294-geb037f16f7e8-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: kblockd blk_mq_run_work_fn ==================================================================