================================================================== BUG: KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests read-write to 0xffff888100c06550 of 8 bytes by task 13000 on cpu 1: blk_mq_sched_dispatch_requests+0x8a/0x100 block/blk-mq-sched.c:327 blk_mq_run_hw_queue+0x2a4/0x4c0 block/blk-mq.c:2264 blk_mq_flush_plug_list+0x7b6/0xdc0 block/blk-mq.c:2812 __blk_flush_plug+0x210/0x260 block/blk-core.c:1150 blk_finish_plug+0x47/0x60 block/blk-core.c:1174 ext4_do_writepages+0x1bc7/0x2100 fs/ext4/inode.c:2736 ext4_writepages+0x15e/0x2e0 fs/ext4/inode.c:2774 do_writepages+0x1c2/0x340 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0xdb/0xf0 mm/filemap.c:387 __filemap_fdatawrite_range mm/filemap.c:420 [inline] file_write_and_wait_range+0xf4/0x190 mm/filemap.c:778 ext4_sync_file+0x133/0x6c0 fs/ext4/fsync.c:158 vfs_fsync_range+0x111/0x120 fs/sync.c:188 generic_write_sync include/linux/fs.h:2653 [inline] ext4_buffered_write_iter+0x334/0x370 fs/ext4/file.c:305 ext4_file_write_iter+0x297/0xe10 __kernel_write_iter+0x162/0x390 fs/read_write.c:517 dump_emit_page fs/coredump.c:888 [inline] dump_user_range+0x25d/0x480 fs/coredump.c:915 elf_core_dump+0x1a85/0x1ba0 fs/binfmt_elf.c:2077 do_coredump+0x102a/0x1890 fs/coredump.c:764 get_signal+0xdb5/0x10a0 kernel/signal.c:2890 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6f/0xe0 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204 irqentry_exit_to_user_mode+0x9/0x20 kernel/entry/common.c:309 irqentry_exit+0x12/0x40 kernel/entry/common.c:412 exc_general_protection+0x339/0x4c0 arch/x86/kernel/traps.c:642 asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:564 read-write to 0xffff888100c06550 of 8 bytes by task 13014 on cpu 0: blk_mq_sched_dispatch_requests+0x8a/0x100 block/blk-mq-sched.c:327 blk_mq_run_hw_queue+0x2a4/0x4c0 block/blk-mq.c:2264 blk_mq_flush_plug_list+0x7b6/0xdc0 block/blk-mq.c:2812 __blk_flush_plug+0x210/0x260 block/blk-core.c:1150 blk_finish_plug+0x47/0x60 block/blk-core.c:1174 ext4_do_writepages+0x1bc7/0x2100 fs/ext4/inode.c:2736 ext4_writepages+0x15e/0x2e0 fs/ext4/inode.c:2774 do_writepages+0x1c2/0x340 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0xdb/0xf0 mm/filemap.c:387 __filemap_fdatawrite_range mm/filemap.c:420 [inline] file_write_and_wait_range+0xf4/0x190 mm/filemap.c:778 ext4_sync_file+0x133/0x6c0 fs/ext4/fsync.c:158 vfs_fsync_range+0x111/0x120 fs/sync.c:188 generic_write_sync include/linux/fs.h:2653 [inline] ext4_buffered_write_iter+0x334/0x370 fs/ext4/file.c:305 ext4_file_write_iter+0x297/0xe10 __kernel_write_iter+0x162/0x390 fs/read_write.c:517 dump_emit_page fs/coredump.c:888 [inline] dump_user_range+0x25d/0x480 fs/coredump.c:915 elf_core_dump+0x1a85/0x1ba0 fs/binfmt_elf.c:2077 do_coredump+0x102a/0x1890 fs/coredump.c:764 get_signal+0xdb5/0x10a0 kernel/signal.c:2890 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6f/0xe0 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204 irqentry_exit_to_user_mode+0x9/0x20 kernel/entry/common.c:309 irqentry_exit+0x12/0x40 kernel/entry/common.c:412 exc_general_protection+0x339/0x4c0 arch/x86/kernel/traps.c:642 asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:564 value changed: 0x000000000000c017 -> 0x000000000000c018 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 13014 Comm: syz-executor.3 Not tainted 6.7.0-rc6-syzkaller-00168-g9a6b294ab496 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ==================================================================