================================================================== BUG: KCSAN: data-race in __perf_event_overflow / fasync_remove_entry write to 0xffff8880a56f5ef8 of 8 bytes by task 21118 on cpu 1: fasync_remove_entry+0xba/0x120 fs/fcntl.c:882 fasync_helper+0xcf/0xdc fs/fcntl.c:981 perf_fasync+0x6c/0xa0 kernel/events/core.c:5917 __fput+0x46a/0x520 fs/file_table.c:277 ____fput+0x1f/0x30 fs/file_table.c:313 task_work_run+0xf6/0x130 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x562/0x18f0 kernel/exit.c:817 do_group_exit+0xb4/0x1c0 kernel/exit.c:921 get_signal+0x2a2/0x1320 kernel/signal.c:2734 do_signal+0x3b/0xbf0 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x250/0x2c0 arch/x86/entry/common.c:159 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x353/0x370 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880a56f5ef8 of 8 bytes by interrupt on cpu 0: __perf_event_overflow+0x11d/0x200 kernel/events/core.c:8192 perf_swevent_hrtimer+0x261/0x280 kernel/events/core.c:9576 __run_hrtimer kernel/time/hrtimer.c:1514 [inline] __hrtimer_run_queues+0x274/0x5f0 kernel/time/hrtimer.c:1576 hrtimer_interrupt+0x22a/0x480 kernel/time/hrtimer.c:1638 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline] smp_apic_timer_interrupt+0xdc/0x280 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830 __read_once_size+0x38/0xe0 include/linux/compiler.h:227 compound_head include/linux/page-flags.h:174 [inline] PageAnon include/linux/page-flags.h:463 [inline] zap_pte_range mm/memory.c:1052 [inline] zap_pmd_range mm/memory.c:1166 [inline] zap_pud_range mm/memory.c:1195 [inline] zap_p4d_range mm/memory.c:1216 [inline] unmap_page_range+0x9e4/0x18d0 mm/memory.c:1237 unmap_single_vma+0x144/0x200 mm/memory.c:1282 unmap_vmas+0xda/0x1a0 mm/memory.c:1314 exit_mmap+0x13e/0x300 mm/mmap.c:3161 __mmput kernel/fork.c:1079 [inline] mmput+0xea/0x280 kernel/fork.c:1100 exit_mm kernel/exit.c:485 [inline] do_exit+0x4c9/0x18f0 kernel/exit.c:804 do_group_exit+0xb4/0x1c0 kernel/exit.c:921 get_signal+0x2a2/0x1320 kernel/signal.c:2734 do_signal+0x3b/0xbf0 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x250/0x2c0 arch/x86/entry/common.c:159 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x353/0x370 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 21104 Comm: syz-executor.1 Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================