================================================================== BUG: KCSAN: data-race in blk_stat_add / blk_stat_timer_fn write to 0xffffe8ffffd2e3b0 of 8 bytes by interrupt on cpu 0: blk_rq_stat_init block/blk-stat.c:23 [inline] blk_stat_timer_fn+0x2ce/0x3d0 block/blk-stat.c:95 call_timer_fn+0x5f/0x2f0 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers kernel/time/timer.c:1773 [inline] __run_timers kernel/time/timer.c:1740 [inline] run_timer_softirq+0xbe3/0xcb0 kernel/time/timer.c:1786 __do_softirq+0x115/0x33f kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xbb/0xe0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0xe6/0x280 arch/x86/kernel/apic/apic.c:1137 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 read to 0xffffe8ffffd2e3b0 of 8 bytes by interrupt on cpu 1: blk_rq_stat_add block/blk-stat.c:45 [inline] blk_stat_add+0x180/0x2c0 block/blk-stat.c:74 __blk_mq_end_request+0x22d/0x270 block/blk-mq.c:527 scsi_end_request+0x1dd/0x360 drivers/scsi/scsi_lib.c:610 scsi_io_completion+0x11d/0xc80 drivers/scsi/scsi_lib.c:960 scsi_finish_command+0x283/0x380 drivers/scsi/scsi.c:228 scsi_softirq_done+0x259/0x280 drivers/scsi/scsi_lib.c:1476 blk_done_softirq+0x1eb/0x250 block/blk-softirq.c:37 __do_softirq+0x115/0x33f kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xbb/0xe0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] do_IRQ+0x81/0x130 arch/x86/kernel/irq.c:263 ret_from_intr+0x0/0x21 __sanitizer_cov_trace_pc+0x44/0x50 kernel/kcov.c:193 ext4_inode_table+0x7b/0x90 fs/ext4/super.c:248 recently_deleted fs/ext4/ialloc.c:677 [inline] find_inode_bit.isra.0+0x121/0x300 fs/ext4/ialloc.c:717 __ext4_new_inode+0xd45/0x2f10 fs/ext4/ialloc.c:909 ext4_create+0x24e/0x300 fs/ext4/namei.c:2598 lookup_open fs/namei.c:3241 [inline] do_last fs/namei.c:3331 [inline] path_openat+0x2b10/0x3580 fs/namei.c:3537 do_filp_open+0x11e/0x1b0 fs/namei.c:3567 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x55/0x70 fs/open.c:1110 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 28860 Comm: syz-executor.2 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================