================================================================== BUG: KCSAN: data-race in __mod_timer / __mod_timer write to 0xffff88810197e0f8 of 8 bytes by task 9270 on cpu 0: __mod_timer+0x5fd/0x860 kernel/time/timer.c:1121 mod_timer+0x1f/0x30 kernel/time/timer.c:1190 blk_add_timer+0x184/0x190 block/blk-timeout.c:164 blk_mq_start_request+0x106/0x270 block/blk-mq.c:1260 scsi_queue_rq+0x14cc/0x1a30 drivers/scsi/scsi_lib.c:1758 blk_mq_dispatch_rq_list+0x7b1/0x11f0 block/blk-mq.c:2049 __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+0x69a/0xdd0 block/blk-mq-sched.c:309 blk_mq_sched_dispatch_requests+0x99/0x100 block/blk-mq-sched.c:333 blk_mq_run_hw_queue+0x2a4/0x4c0 block/blk-mq.c:2264 blk_mq_flush_plug_list+0x7f9/0xe00 block/blk-mq.c:2817 blk_add_rq_to_plug+0x108/0x3e0 block/blk-mq.c:1293 blk_mq_submit_bio+0x692/0xd70 block/blk-mq.c:3012 __submit_bio+0x11c/0x350 block/blk-core.c:599 __submit_bio_noacct_mq block/blk-core.c:678 [inline] submit_bio_noacct_nocheck+0x4ad/0x5e0 block/blk-core.c:707 submit_bio_noacct+0x700/0x8a0 block/blk-core.c:801 submit_bio+0xb7/0xc0 block/blk-core.c:834 ext4_io_submit+0x8a/0xa0 fs/ext4/page-io.c:378 ext4_do_writepages+0xb3a/0x2100 fs/ext4/inode.c:2695 ext4_writepages+0x15e/0x2e0 fs/ext4/inode.c:2764 do_writepages+0x1c2/0x340 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0xdb/0xf0 mm/filemap.c:390 __filemap_fdatawrite_range mm/filemap.c:423 [inline] __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_flush+0x95/0xc0 mm/filemap.c:456 ext4_alloc_da_blocks+0x50/0x130 fs/ext4/inode.c:3067 ext4_release_file+0x5f/0x1c0 fs/ext4/file.c:169 __fput+0x2fd/0x5f0 fs/file_table.c:384 ____fput+0x15/0x20 fs/file_table.c:412 task_work_run+0x135/0x1a0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x5ff/0x1660 kernel/exit.c:874 do_group_exit+0x101/0x150 kernel/exit.c:1024 get_signal+0xf3c/0x1090 kernel/signal.c:2892 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 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 read to 0xffff88810197e0f8 of 8 bytes by task 9320 on cpu 1: __mod_timer+0x6e/0x860 kernel/time/timer.c:1033 mod_timer+0x1f/0x30 kernel/time/timer.c:1190 blk_add_timer+0x184/0x190 block/blk-timeout.c:164 blk_mq_start_request+0x106/0x270 block/blk-mq.c:1260 scsi_queue_rq+0x14cc/0x1a30 drivers/scsi/scsi_lib.c:1758 blk_mq_dispatch_rq_list+0x7b1/0x11f0 block/blk-mq.c:2049 __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+0x69a/0xdd0 block/blk-mq-sched.c:309 blk_mq_sched_dispatch_requests+0x99/0x100 block/blk-mq-sched.c:333 blk_mq_run_hw_queue+0x2a4/0x4c0 block/blk-mq.c:2264 blk_mq_flush_plug_list+0x7f9/0xe00 block/blk-mq.c:2817 blk_add_rq_to_plug+0x108/0x3e0 block/blk-mq.c:1293 blk_mq_submit_bio+0x692/0xd70 block/blk-mq.c:3012 __submit_bio+0x11c/0x350 block/blk-core.c:599 __submit_bio_noacct_mq block/blk-core.c:678 [inline] submit_bio_noacct_nocheck+0x4ad/0x5e0 block/blk-core.c:707 submit_bio_noacct+0x700/0x8a0 block/blk-core.c:801 submit_bio+0xb7/0xc0 block/blk-core.c:834 ext4_io_submit+0x8a/0xa0 fs/ext4/page-io.c:378 ext4_do_writepages+0xb3a/0x2100 fs/ext4/inode.c:2695 ext4_writepages+0x15e/0x2e0 fs/ext4/inode.c:2764 do_writepages+0x1c2/0x340 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0xdb/0xf0 mm/filemap.c:390 __filemap_fdatawrite_range mm/filemap.c:423 [inline] __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_flush+0x95/0xc0 mm/filemap.c:456 ext4_alloc_da_blocks+0x50/0x130 fs/ext4/inode.c:3067 ext4_release_file+0x5f/0x1c0 fs/ext4/file.c:169 __fput+0x2fd/0x5f0 fs/file_table.c:384 ____fput+0x15/0x20 fs/file_table.c:412 task_work_run+0x135/0x1a0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x5ff/0x1660 kernel/exit.c:874 do_group_exit+0x101/0x150 kernel/exit.c:1024 get_signal+0xf3c/0x1090 kernel/signal.c:2892 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: 0x000000010000fc26 -> 0x000000010000f575 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 9320 Comm: syz-executor.5 Not tainted 6.6.0-rc4-syzkaller-00016-g5e62ed3b1c8a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 ==================================================================