================================================================== BUG: KCSAN: data-race in blk_stat_add / blk_stat_timer_fn read to 0xffffe8ffffd60600 of 8 bytes by interrupt on cpu 0: blk_rq_stat_sum block/blk-stat.c:37 [inline] blk_rq_stat_sum block/blk-stat.c:29 [inline] blk_stat_timer_fn+0x26b/0x3d0 block/blk-stat.c:93 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+0xc0c/0xcd0 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:830 arch_local_irq_enable arch/x86/include/asm/paravirt.h:766 [inline] preempt_schedule_irq+0x4d/0x90 kernel/sched/core.c:4327 restore_regs_and_return_to_kernel+0x0/0x25 check_kcov_mode kernel/kcov.c:68 [inline] __sanitizer_cov_trace_pc+0x1a/0x50 kernel/kcov.c:102 tomoyo_domain_quota_is_ok+0x247/0x2b0 security/tomoyo/util.c:1068 tomoyo_supervisor+0x22b/0xd20 security/tomoyo/common.c:2087 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x121/0x160 security/tomoyo/file.c:573 tomoyo_path_perm+0x23e/0x390 security/tomoyo/file.c:838 tomoyo_path_unlink+0x63/0x90 security/tomoyo/tomoyo.c:156 security_path_unlink+0xa3/0xd0 security/security.c:1044 do_unlinkat+0x2f1/0x530 fs/namei.c:4052 __do_sys_unlinkat fs/namei.c:4097 [inline] __se_sys_unlinkat fs/namei.c:4089 [inline] __x64_sys_unlinkat+0x8d/0xd0 fs/namei.c:4089 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffffe8ffffd60600 of 8 bytes by interrupt on cpu 1: blk_rq_stat_add block/blk-stat.c:47 [inline] blk_stat_add+0x1cf/0x290 block/blk-stat.c:73 __blk_mq_end_request block/blk-mq.c:549 [inline] blk_mq_end_request+0x256/0x2b0 block/blk-mq.c:570 lo_complete_rq+0x136/0x1a0 drivers/block/loop.c:485 blk_done_softirq+0x1eb/0x250 block/blk-softirq.c:37 __do_softirq+0x115/0x33f kernel/softirq.c:292 run_ksoftirqd+0x46/0x60 kernel/softirq.c:603 smpboot_thread_fn+0x37d/0x4a0 kernel/smpboot.c:165 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================