================================================================== BUG: KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests read-write to 0xffff88810019a750 of 8 bytes by task 8682 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_add_rq_to_plug+0x108/0x3e0 block/blk-mq.c:1294 blk_mq_submit_bio+0x61a/0xd90 block/blk-mq.c:3008 __submit_bio+0x11c/0x350 block/blk-core.c:607 __submit_bio_noacct_mq block/blk-core.c:686 [inline] submit_bio_noacct_nocheck+0x4ad/0x5e0 block/blk-core.c:715 submit_bio_noacct+0x70c/0x8c0 block/blk-core.c:809 submit_bio+0xb7/0xc0 block/blk-core.c:842 ext4_io_submit+0x8a/0xa0 fs/ext4/page-io.c:378 ext4_do_writepages+0xb3a/0x2100 fs/ext4/inode.c:2705 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] __filemap_fdatawrite mm/filemap.c:426 [inline] filemap_flush+0x95/0xc0 mm/filemap.c:453 ext4_alloc_da_blocks+0x50/0x130 fs/ext4/inode.c:3077 ext4_release_file+0x5f/0x1c0 fs/ext4/file.c:169 __fput+0x299/0x630 fs/file_table.c:394 ____fput+0x15/0x20 fs/file_table.c:422 task_work_run+0x135/0x1a0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x604/0x16d0 kernel/exit.c:869 do_group_exit+0x101/0x150 kernel/exit.c:1018 get_signal+0xf4e/0x10a0 kernel/signal.c:2904 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 0xffff88810019a750 of 8 bytes by task 8632 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_add_rq_to_plug+0x108/0x3e0 block/blk-mq.c:1294 blk_mq_submit_bio+0x61a/0xd90 block/blk-mq.c:3008 __submit_bio+0x11c/0x350 block/blk-core.c:607 __submit_bio_noacct_mq block/blk-core.c:686 [inline] submit_bio_noacct_nocheck+0x4ad/0x5e0 block/blk-core.c:715 submit_bio_noacct+0x70c/0x8c0 block/blk-core.c:809 submit_bio+0xb7/0xc0 block/blk-core.c:842 ext4_io_submit+0x8a/0xa0 fs/ext4/page-io.c:378 ext4_do_writepages+0xb3a/0x2100 fs/ext4/inode.c:2705 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] __filemap_fdatawrite mm/filemap.c:426 [inline] filemap_flush+0x95/0xc0 mm/filemap.c:453 ext4_alloc_da_blocks+0x50/0x130 fs/ext4/inode.c:3077 ext4_release_file+0x5f/0x1c0 fs/ext4/file.c:169 __fput+0x299/0x630 fs/file_table.c:394 ____fput+0x15/0x20 fs/file_table.c:422 task_work_run+0x135/0x1a0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x604/0x16d0 kernel/exit.c:869 do_group_exit+0x101/0x150 kernel/exit.c:1018 get_signal+0xf4e/0x10a0 kernel/signal.c:2904 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: 0x0000000000000d18 -> 0x0000000000000d1b Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 8632 Comm: syz-executor.2 Not tainted 6.7.0-rc6-syzkaller-00078-ga4aebe936554 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ================================================================== syz-executor.2 (8632) used greatest stack depth: 9520 bytes left