================================================================== BUG: KCSAN: data-race in blk_mq_dispatch_rq_list / blk_mq_dispatch_rq_list read to 0xffff88810018bef8 of 4 bytes by task 45 on cpu 1: blk_mq_update_dispatch_busy block/blk-mq.c:1907 [inline] blk_mq_dispatch_rq_list+0xec2/0x10d0 block/blk-mq.c:2154 __blk_mq_do_dispatch_sched block/blk-mq-sched.c:170 [inline] blk_mq_do_dispatch_sched block/blk-mq-sched.c:184 [inline] __blk_mq_sched_dispatch_requests+0x604/0xd50 block/blk-mq-sched.c:309 blk_mq_sched_dispatch_requests+0x78/0xe0 block/blk-mq-sched.c:331 blk_mq_run_work_fn+0x65/0xe0 block/blk-mq.c:2443 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 write to 0xffff88810018bef8 of 4 bytes by task 9235 on cpu 0: blk_mq_dispatch_rq_list+0xee0/0x10d0 __blk_mq_do_dispatch_sched block/blk-mq-sched.c:170 [inline] blk_mq_do_dispatch_sched block/blk-mq-sched.c:184 [inline] __blk_mq_sched_dispatch_requests+0x604/0xd50 block/blk-mq-sched.c:309 blk_mq_sched_dispatch_requests+0x78/0xe0 block/blk-mq-sched.c:331 blk_mq_run_hw_queue+0x29c/0x4d0 block/blk-mq.c:2273 blk_mq_get_tag+0x47a/0x5a0 block/blk-mq-tag.c:170 __blk_mq_alloc_requests+0x6ba/0xc90 block/blk-mq.c:499 blk_mq_get_new_requests block/blk-mq.c:2891 [inline] blk_mq_submit_bio+0x69c/0xd90 block/blk-mq.c:2989 __submit_bio+0x11c/0x370 block/blk-core.c:619 __submit_bio_noacct_mq block/blk-core.c:698 [inline] submit_bio_noacct_nocheck+0x597/0x6d0 block/blk-core.c:727 submit_bio_noacct+0x681/0x830 block/blk-core.c:837 submit_bio+0x218/0x230 block/blk-core.c:879 ext4_io_submit+0x8a/0xb0 fs/ext4/page-io.c:378 ext4_do_writepages+0xb3a/0x2110 fs/ext4/inode.c:2699 ext4_writepages+0x159/0x2e0 fs/ext4/inode.c:2768 do_writepages+0x1d8/0x480 mm/page-writeback.c:2612 filemap_fdatawrite_wbc+0xdb/0x100 mm/filemap.c:397 __filemap_fdatawrite_range mm/filemap.c:430 [inline] __filemap_fdatawrite mm/filemap.c:436 [inline] filemap_flush+0x61/0x90 mm/filemap.c:463 ext4_alloc_da_blocks+0x50/0x130 fs/ext4/inode.c:3072 ext4_release_file+0x5f/0x1c0 fs/ext4/file.c:169 __fput+0x2c1/0x660 fs/file_table.c:422 ____fput+0x15/0x20 fs/file_table.c:450 task_work_run+0x13a/0x1a0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x5fd/0x1740 kernel/exit.c:878 do_group_exit+0x102/0x150 kernel/exit.c:1027 get_signal+0xf2f/0x1080 kernel/signal.c:2911 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] irqentry_exit_to_user_mode+0x94/0x130 kernel/entry/common.c:225 irqentry_exit+0x12/0x50 kernel/entry/common.c:328 asm_exc_stack_segment+0x26/0x30 arch/x86/include/asm/idtentry.h:616 value changed: 0x00000002 -> 0x00000003 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 9235 Comm: syz-executor.3 Not tainted 6.8.0-syzkaller-11743-ga4145ce1e7bc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 ==================================================================